Swing layout - Using a grid while keeping component dimensions

Posted by James P. on Stack Overflow See other posts from Stack Overflow or by James P.
Published on 2010-05-22T18:40:06Z Indexed on 2010/05/22 18:40 UTC
Read the original article Hit count: 148

Filed under:
|
|
|

I'd like to make a login bar for an application and I can't figure out how to organize a series of JLabels and JTextFields such that they are organized in a horizontal grid without these same components being resized to fit each cell. How can this be achieved?

© Stack Overflow or respective owner

Related posts about java

Related posts about swing