aspose file tools*
The moose likes Applets and the fly likes sizing a panel in an applet. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "sizing a panel in an applet." Watch "sizing a panel in an applet." New topic
Author

sizing a panel in an applet.

achana chan
Ranch Hand

Joined: Jul 29, 2002
Posts: 277
Hi.
In an applet, I have gridlayout and panels in the grid , for argument's sake GridLayout(2,2) ie 2 rows and 2 columns
(1) Is it possible to size a panel in a grid ???;
(2) Is it possible to have a panel spanning 2 columns of the gridlayout ???
(3) What if I want to have 2 panels adjacent to each other in the first row but only one panel on the second which spans both columns ???
(4) Furthermore, in the HTML <APPLET...> tag, we specify the width and the height, how does java go about apportioning that area for the gridlayout ??? Even distribution ???

meaning of live ?
[ December 04, 2002: Message edited by: achana chan ]

humanum errare est.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sizing a panel in an applet.