M
Matthijs Blaas
Hi all!
I have some difficulties with poping up a frame from an applet... when I
create the frame and want to resize it to a different size the applet has,
it wont work. I have 3 classes:
-a class which creates the frame with the desired width and height (these
are passed through applet params), this class is called supr.java.
-a class that extends this supr class, this class is called from the html
and will draw a square in the frame called ext.java
-a class which creates and configures the frame called frm.java
I cant seem to popup the frame with my desired size, its always bounded to
the initial applet width/size, I thought an applet frame is able to override
this?
I have put the example sources online:
www.virtual-boy.org/applet/supr.java
www.virtual-boy.org/applet/ext.java
www.virtual-boy.org/applet/frm.java
www.virtual-boy.org/applet/test1.html <- this is what i'd like, have the
applet initially be 1x1 and have the frame popup with the custom
width/height
www.virtual-boy.org/applet/test2.html <- when the applet initially is set to
fx 300x300 the frame will popup with this res too...?
Thanks in advance!
Thijs
I have some difficulties with poping up a frame from an applet... when I
create the frame and want to resize it to a different size the applet has,
it wont work. I have 3 classes:
-a class which creates the frame with the desired width and height (these
are passed through applet params), this class is called supr.java.
-a class that extends this supr class, this class is called from the html
and will draw a square in the frame called ext.java
-a class which creates and configures the frame called frm.java
I cant seem to popup the frame with my desired size, its always bounded to
the initial applet width/size, I thought an applet frame is able to override
this?
I have put the example sources online:
www.virtual-boy.org/applet/supr.java
www.virtual-boy.org/applet/ext.java
www.virtual-boy.org/applet/frm.java
www.virtual-boy.org/applet/test1.html <- this is what i'd like, have the
applet initially be 1x1 and have the frame popup with the custom
width/height
www.virtual-boy.org/applet/test2.html <- when the applet initially is set to
fx 300x300 the frame will popup with this res too...?
Thanks in advance!
Thijs