wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
 
subject: sizing a panel in an applet.
 
Similar Threads
GUI
1 JFrame containing Two JPanels...
arranging display in a panel with grid bags...
Battleships - guys please help me out!
How to set Layout ?