Differences between GridLayout and GridBagLayout?



Differences between GridLayout and GridBagLayout?..

Answer / shweta

The major difference between GridLayout and GridBagLayout is
that GrigBagLayout supports components of different sizes,
and you can specify layout options for each component

Is This Answer Correct ?    49 Yes 16 No

Post New Answer

More Core Java Interview Questions

Why charat is used in java?

0 Answers  


How do you clear a list in java?

0 Answers  


What is difference between char array and string?

0 Answers  


Is treeset sorted in java?

0 Answers  


What is mysql driver class name?

0 Answers  


Define Compiling?

3 Answers  


What is the difference between the paint() and repaint() methods in java programming?

0 Answers  


If I only change the return type, does the method become overloaded?

0 Answers  


How is string immutable in java?

0 Answers  


Why convert an applet to an application?

0 Answers  


Why do we need data serialization?

0 Answers  


What is the output of the below java program?

0 Answers  


Categories