Differences between GridLayout and GridBagLayout?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why Java is not pure Object Oriented language?

653


What are the parts of methodology?

549


Explain method overloading?

575


Can we create object of inner class in java?

497


I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?

576






Which is bigger float or double java?

528


Can list contain null in java?

630


How do you convert bytes to character in java?

539


When does an object becomes eligible for garbage collection in java?

585


Does sprintf add a null terminator?

566


What is super in java?

578


Why to use nested classes in java?

592


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?

646


What is string pool?

629


How does hashset work in java?

572