Hi, this post kind of follows on from my last.
I've been advised to use JApplets to avoid the screen flashing
problem when repaint() is called.
I've written a very short JApplet (below), and I'm trying to get it to
draw a line, but its not working. I've been messing around with it for
a couple of hours now, and I can't see why it won't draw.
Also, usually when I extend the JPanel class in an application, I would
override paintComponent(Graphics g), and in this implementation, I would
make the call super.paintComponent(g), however this doesn't seem to
compile in this JApplet.
I'd be very grateful if someone could explain why this
applet isn't drawing
the line like its supposed to. Thanks