1 write avatar class with move method 2 write a DrawingBoard class extends JPanel 3 write UserInterface class extends Runnable 4 In the userInterface add DrawingBoard as a component in the method of add component 5 write KeyListener implements KeyBoardListener within function keypressed wirte action logic and repaint the drawingBoard instance. 6 add the KeyListener to the frame.
mrr7rhq/MovingObj
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|