Posted: Sat Oct 07, 2006 12:51 pm Post subject: (No subject)
Oh, yesterday it was working. I must have been compiling it wrong and the .class file never changed.
The initialization was in another method that I deleted. In the method it had this :
code:
width = getSize().width
height = getSize().height
I'm certain that this makes width and height equal to the values of width and height given in the applet tag in the html document. Sorry for the confusion!