Code • Use Javadoc for Classes and Public Methods • DRY – Do not Repeat Yourselves • KIS – Keep It Simple • Readability – Make it simple to read for another human
2 - Refactor 1. Clock (Runnable, Thread, Timer) 2. Calculator – be creative with the space 3. Draw a Flag (any country) 4. Add an animation (something like sparky dancing) 5. Convert miles to kilometers, pound to kilogram 6. MouseListener in action: draw a dot in the place that the user click 7. Draw a Chessboard 8. Split your space into 4 (2 rows, 2 columns) and add in each space either a widget, an image, or a draw 9. An infinite counter 0 to 9 (Runnable, Thread, Timer) 10. Surprise me!