Original Post
Hello, I am trying to get my application to call the paint function in my applet over and over again so that my applet gets consistantly updated, however it isn''t working out that way. What it does is the browser only calls repaint when its started and when I uncover it from being hidden and stuff.
I have tried several approaches to resolve this problem yet to no avail. I have tried using timers, making my paint function recursive, and I''ve tried to just call repaint at the end of my painting function yet that doesn''t seem to work either.
I am also confused as to what I want to use, swing or awt (swing is essentially awt right?). I am trying to write a java pong game in the form of an applet. Thanks for your help.