This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "sizing a panel in an applet." Watch "sizing a panel in an applet." New topic

sizing a panel in an applet.

achana chan
Ranch Hand

Joined: Jul 29, 2002
Posts: 277
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.
It is sorta covered in the JavaRanch Style Guide.
subject: sizing a panel in an applet.
Similar Threads
1 JFrame containing Two JPanels...
Battleships - guys please help me out!
arranging display in a panel with grid bags...
How to set Layout ?