• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Gridbag Layout?

 
DD
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10065
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...
 
Raj Dev
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mapraputa,
This really helps clear lots of fundamentals related to GB layout.
Raj
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
'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
 
Manish Singhal
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks Mapraputa. Excellent link.
Manish
 
DD
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks everybody for the valuable feedback
And all the best to you Thomas
_Deb
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic