File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes default layouts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "default layouts" Watch "default layouts" New topic
Author

default layouts

leena rane
Ranch Hand

Joined: Aug 13, 2001
Posts: 280
Am i right ?
Applets and Panel have degault Layout - FlowLayout
All other containers (Window,Frame,Dialog,FileDialog,ScrollPane)-BorderLayout
Thanx in advance
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Yes Applet and Panel have a FlowLayout as LayoutManager
Window, Frame and Dialog have a BorderLayout
However, ScrollPane has a LayoutManager being null

FileDialog has a LayoutManager being null too

HIH
------------------
Valentin Crettaz
Sun Certified Programmer for Java 2 Platform


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
Bob E. Lee
Ranch Hand

Joined: Jan 15, 2002
Posts: 36
Nice! I should look into the code more often. But doing search on JavaRanch helps too!


Yes Applet and Panel have a FlowLayout as LayoutManager
Window, Frame and Dialog have a BorderLayout
However, ScrollPane has a LayoutManager being null

FileDialog has a LayoutManager being null too

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: default layouts