Width and height of java applet
Posted on 2007-11-29
When I embed a java applet into a webpage, I use:
<applet code=whatever.class width=402 height=402>
Inside the java applet class, I can get the bounds by doing:
Is there anyway to override the size of the applet as rendered in the html page? I mean if in my applet class, I want my applet to really be 500 x 500, can I do something like:
or is it just static after you've loaded the page and you're stuck?