Java JApplet sizing

Started by
-1 comments, last by ju2wheels 18 years, 9 months ago
Hi I was wondering if there was a way to size an applet from within the applet code itself as opposed to the width and height attribute tags in html. I need the applet to have different sizes depending on the OS that runs it, therefore I want to size the applet within the applet code itself. Ive tried using setSize(w,h) and resize(w,h) within the init() method of my JApplet but neither seems to be producing the result that im looking for. Any one have any ideas?

This topic is closed to new replies.

Advertisement