Hi, I'm pretty new to
applets, but I'm trying to turn my Fractal
explorer program into an applet.
In the original application, I was calling the paintComponent(Graphics g) method, and within this, I was displaying a image, as well as other things, and whenever I had to repaint() the frame many times, it was fine.
But now, I'm using an applet and a paint(Graphics g) method. Again I'm initially displaying an image, and a moving box, but whenever repaint() is called, the screen flashes, the basic code is shown below:
I didn't want to use a JFrame, becuz I wanted the output to go into a rectangle on the HTML screen.
There is an alternative I can think of, using an OverlayLayout, but
I would rather see if there is anyway around this first.
Thanks for any help.