Java applet paint not working? - urgent

My jogl applet screen is blank. I have this for my paint code:


 public void paint(Graphics g){
    	canvas.update(g);
    }

if I add g.fillRect(0,0,50,50); to it it’ll draw the filled rect, but still not the jogl stuff.

Hi
I might be able to help you

I need:

  • Your jogl initialization code
  • Are you using GLPanel, or GLJPanel? If it is GLPanel, are you mixing it with Swing?

I decided not to use applets, so nevermind.