This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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.
 
It's not a secret anymore!