I have a java applet I'm using to ltest out drawing functions. It overrides the following two functions:
public void render(Graphics g);
public void paint(Graphics g)
which is fine but how do you ask the system to perform a 'repaint'? For instance, I have a mouse click function after which I'd like the window to redraw itself, but I can't call render() or paint() directly because I have no Graphics obhect to pass them! In win32 drawing you can simply Invalidate() the display and paint() will be called automatically. But this is a completely different game. So how do you do it?