This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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
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
Joined: Oct 13, 2000
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).]
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