wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Gridbag Layout? 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 » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Gridbag Layout?" Watch "Gridbag Layout?" New topic
Author

Gridbag Layout?

DD
Ranch Hand

Joined: Oct 13, 2000
Posts: 66
Hi All,
I am going thru RHE..and I saw a mention in the Layour Manager chapter that Gridbag Layout is not one of the topics in the exam? Any feedback whether we can skip it during preparation?
Thankx in advance
-Deb
Thomas Misik
Greenhorn

Joined: Sep 30, 2000
Posts: 16
Debabrata Deb,

GridBagLayout is covered on the exam. Everyone that I know who has taken it were given at least one question; usually pertaining to GridBagConstraints. Apparently, the important classes to consider (when using GridBagConstraints) are:
gridwidth and gridheight - determines how many columns and rows a component can occupy.
fill - controls how a component stretches to fill the area (e.g., GridBagConstraints.NONE, GridBagConstraints.HORIZONTAL, etc.)
insets - indicates the external padding along the cell boundaries
weightx and weighty - control how an area grows or shrinks beyond its initial size.
Also, I've been told to know what the ANCHOR field does. If the component you're adding does not fill the entire area, you can use the anchor field to specify where, in the area, you want it(GridBagconstraints.CENTER)
Good luck on the exam...
Thomas
DD
Ranch Hand

Joined: Oct 13, 2000
Posts: 66
Hi Thomas,
Thank you very much for your valuable feedback
I will definitely make it a point to check out Gridbag Layout now...earlier I was thinking of leaving it out...but then I agree...why take a chance
thanks again
-Deb
[This message has been edited by Debabrata Deb (edited October 16, 2000).]
madhum
Greenhorn

Joined: Oct 13, 2000
Posts: 1
Please check RHE errata at
http://www.sybex.com/cgi-bin/rd_err_temp.pl?2463err.html
This message has been edited by madhum
Thomas Misik
Greenhorn

Joined: Sep 30, 2000
Posts: 16
Debabrata Deb,
You're welcome. I have found this forum very useful in narrowing down what I do/don't need to know for the certification. I'm taking the exam next week myself, so any helpful hints come in handy at this point. Good luck!
Regards,
Thomas
Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065
there is a good GridBagLayout simulator on http://nimbus.temple.edu/~jmillawa/GridBag/GridBag.html
- it helped me to understand how all these constraints works...

Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
Raj Dev
Greenhorn

Joined: Oct 11, 2000
Posts: 17
Thanks Mapraputa,
This really helps clear lots of fundamentals related to GB layout.
Raj


Sun Certified Java 2 Programmer<P><img>http://members.tripod.com/~crazyfx/pika1.gif </img>
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5782
'madhum',
Welcome to JavaRanch. Please register with a proper name.
PROPER NAMES ARE NOW REQUIRED!!
Read this post for more details.

Thank you for your cooperation
Ajith


Open Group Certified Distinguished IT Architect. Open Group Certified Master IT Architect. Sun Certified Architect (SCEA).
Manish Singhal
Ranch Hand

Joined: Sep 21, 2000
Posts: 104

Thanks Mapraputa. Excellent link.
Manish
DD
Ranch Hand

Joined: Oct 13, 2000
Posts: 66
Thanks everybody for the valuable feedback
And all the best to you Thomas
_Deb
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Gridbag Layout?
 
Similar Threads
need Tutorial for Gridbag layout
Scroll pane with JTable
Is this encouraging enough?
Gridbag layout
Swings Problem!!!!