F
Fred Bassett
Hi,
I'm teaching myself Java and can't seem to find the answer of my question
anywhere, it's a real noob question, but I will still ask.
I would like to create an applet (or application) that uses a timer to paint
an oval every 2 seconds. Every time a new oval is painted it will be in a
new position (i.e. x + 2 and y + 2).
I'm having difficulties getting a timer to repaint my oval each time.
Does anyone have any example code they could share with me please? Or know
of a tutorial that might help me? I really just want to learn how to
understand timers better so I can use them for more advanced things.
Thank you, Fred
I'm teaching myself Java and can't seem to find the answer of my question
anywhere, it's a real noob question, but I will still ask.
I would like to create an applet (or application) that uses a timer to paint
an oval every 2 seconds. Every time a new oval is painted it will be in a
new position (i.e. x + 2 and y + 2).
I'm having difficulties getting a timer to repaint my oval each time.
Does anyone have any example code they could share with me please? Or know
of a tutorial that might help me? I really just want to learn how to
understand timers better so I can use them for more advanced things.
Thank you, Fred