aspose 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
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

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: default layouts
 
Similar Threads
Smileys and Source Code embedding
Passed with 85%
Passed with 92%
What Self-Mutilation Are You?
What is a good age to let my daughter start dating?