Add lots more printlns to print out the values of the variables that control the execution of the code that you want executed.
The timer period is probably too short. You should only call...
Type: Posts; User: Norm
Add lots more printlns to print out the values of the variables that control the execution of the code that you want executed.
The timer period is probably too short. You should only call...
Where are the println statements to print out the values of the variables that control the program execution so you can debug the code?
Does the code call repaint() when you want the paint() method to be called?
Where are the println statements to print out the values of the variables that control the program execution?
Can you post code that will compile and execute for testing?
Have you tried debugging the code by adding some println statements to print out the values of the variables that control program flow...
Each class can only have ONE main() method. When you start a program you specify the class to start execution with. Its main() method is the one that is executed.
Having a main() method in a...
Have you tried debugging the code by adding some println statements to print out the values of the variables that control program flow so you can see what the computer sees and know why the code is...