1
Java / Re: java applet problems
« on: April 06, 2007, 04:38 PM »
Hi,
The problem must be cause your applet is not multithreaded, so it has no time to refresh the graphics. You should make your drawing process in another thread and it will solve your problem.
For your popup not showing up, run your code in debug mode with the applet viewer to see how the code go.
BTW, avoid 'main' as a variable name, it is 'reserved' for the public static void main(String[] args) app entry point
Stef
The problem must be cause your applet is not multithreaded, so it has no time to refresh the graphics. You should make your drawing process in another thread and it will solve your problem.
For your popup not showing up, run your code in debug mode with the applet viewer to see how the code go.
BTW, avoid 'main' as a variable name, it is 'reserved' for the public static void main(String[] args) app entry point
Stef