To draw and move a Car in java Graphics and control it using button

To draw and move a Car in java Graphics and control it using button
back :- for moving backward
forward :- for moving forward
stop :- to stop

Program :-


output:-
C:\java>javac frame2.java          
C:\java>appletviewer frame2.java

Comments