Posted By:
Bastard_Operator
Posted On:
Monday, April 16, 2001 04:17 AM
I'm trying to fit my applet to my html-page by adding the width=100% Parameter to the applet tag and getting the dimensions of my applet with :
Dimension d=getSize();
But most of the reloads I'm getting an error. This error happens more often, when I'm loading this page from within a frameset. After changing the value of width to fixed value like 100, it works, but that's not my aim. Is there another way to fit my applet to the page.
A second problem of the same kind is to resize the applet, when the page resizes.