Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin


Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I will be obliged if those who have passed the exam could guide us on this topic, that
whether we should cover these topics or not.
1. GridBagLayout-( Should one cover this topic thoroughly, or just superficially )

2. About Creating one's own layout manager.(NOT AT ALL TOUCHED IN RHE)
4. Customised Layout( KM discuss the topic, TOUCHED SUPERFICIALLY IN RHE,EXAMCRAM does not discussed this topic)
5. JViewPort and ViewPortLayout classes(EXAMCRAM touched it, KM AND RHE not even mentioned it).
6. LayoutManager2 interface and " using spcialized containers". (EXAMCRAM discuss the topic, RHE AND KM does not).
7, About using specialized containers, JToolBar, and JTabbedPane(EXAMCRAM discuss the topic, RHE AND KM does not).
8.BoxLayout Clas and OverLayout class
Apparently it seems that ExamCram has covered these topic in much more detail.
While KM, AND RHE has not touched these topics.
8. At one place I read, swings are not covered in exam. Is it true.Can any one guide, which
sections of KM we can safely skip.
Previously I had assumed by discussions at Javaranch, tha we are supposed to cover only 4 layout managers, namely Border,Flow, Grid,Gridbag and that would do. Is my assumption wrong?

Moreover, I would like to ask what is the best way to do GridBagConstaint Layout topic.
Any suggestions of area to concentrate on this topic.
Author and all-around good cowpoke
Posts: 13078
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you have studied the published objectives, you know that those GUI classes used in Swing are not on the exam. I don't know why people keep asking questions like this when the actual objectives are readily available at:
I spend some time on the Swing classes in the Java 2 Exam Prep book (not the Exam Cram) because I figured that a well rounded Java programmer should be familiar with them - also it gives me a chance to talk about Model-View-Controller patterns and event handlers.
How best to study GridBagLayout? I'm damned if I know - I never can remember those constants. Everybody reports there is a good chance you will get a question on it though.
You should also get comfortable with Flow, Border and Grid layout managers.

Ranch Hand
Posts: 3141
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Zeeshan,
As Bill stated, Swing is not on the exam. Nor do you need to know how to create custom layouts. The objectives stress the behavior of LayoutManagers so make sure you understand how the layouts implementing LayoutManager differ from those implementing LayoutManager2, especially when a window is resized.
You need to be familiar with the non-Swing layouts: GridLayout, FlowLayout, CardLayout, BorderLayout and GridbagLayout.
You may get a question on GridbagLayout but I never saw one so can't say what level of detail is required. IMHO I'd focus on how it treats components when the window is resized and cross my fingers on remembering all the constraints.
Hope that helps.

Jane Griscti
Sun Certified Programmer for the Java� 2 Platform
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You should know all the constraints and what happens when
components in the GridbagLayout are resized.I got two questions on GridbagLyout onr theratical and one program
hope this helps

Do not meddle in the affairs of dragons - for you are crunchy and good with ketchup. Crunchy tiny ad:
We need your help - Coderanch server fundraiser
    Bookmark Topic Watch Topic
  • New Topic