Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

UI layout of objects

  Asked By: Mada    Date: Feb 08    Category: Java    Views: 595
  

I want to lay out a number of objects vertically in a JPanel. Right
now I use the GridLayout, however this makes all the row the same
height. What I want is to have each individual row to have the
object's height. What Layout would I use to accomplish this?

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Corey Jones     Answered On: Feb 08

java.awt.GridBagLayout................

 
Answer #2    Answered By: Troy Kelley     Answered On: Feb 08

try box or gridbag layout, if you have a visual editor gridbag is easy

 
Didn't find what you were looking for? Find more on UI layout of objects Or get search suggestion and latest updates.




Tagged: