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 Is default layout for Applet a border or flow layout 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 "Is default layout for Applet a border or flow layout" Watch "Is default layout for Applet a border or flow layout" New topic
Author

Is default layout for Applet a border or flow layout

Kasey Tritt
Greenhorn

Joined: May 02, 2002
Posts: 15
Is default layout for Applet a border layout or flow layout?
The Java Tutorial from Sun states that the border layout is the default for Frames, Applets and Dialog.
I did some mock exams and most of the time the solution for the mock exam choose flow layout as the default for Applet.
Does any one know and can confirm the default layout for a Applet?
Thanks.
Steven Wong
Ranch Hand

Joined: Mar 07, 2002
Posts: 295
Default Layout for:
Panel, Applet - FlowLayout
Window and Subclasses - BorderLayout

Hope it helps.
Clement


best regards,<br />Steven<br />SCJP, SCEA
Kasey Tritt
Greenhorn

Joined: May 02, 2002
Posts: 15
Thanks, Clement.
Perhaps I misunderstood the following from the Java Tutorial:
http://java.sun.com/docs/books/tutorial/uiswing/layout/using.html
BorderLayout is the default layout manager for every content pane. (As described in Using Top-Level Containers, the content pane is the main container in all frames, applets, and dialogs.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is default layout for Applet a border or flow layout
 
Similar Threads
actual GUI question on a job technical interview
Jtext problem very urgent
Study Notes from a person who secured 100%.
j-Notes 3.0 !!!
BorderLayout placement Constraint