JavaRanch » Java Forums »
Java »
Swing / AWT / SWT
| Author |
JComboBox not working properly on a GridBagLayout ??
|
Fernando Sanz
Ranch Hand
Joined: Jun 27, 2003
Posts: 101
|
|
Hi guys, I've got a very simple class to enter data of a new Customer. The user needs to select a branch from a drop down list (a JComboBox), but, the list of names is covered up by the labels that are in a lower position. If you'd compile this short code, you'll see what I mean. I just don't understand it, because it works in other classes I've written (with different Layouts) Thanks for having a look
|
 |
Fernando Sanz
Ranch Hand
Joined: Jun 27, 2003
Posts: 101
|
|
OK, I have it now, I just didn't have to use Label, but JLabel also, now my code is much nicer (shame on the me for the previous one...) thanks anyway!
|
 |
 |
|
|
subject: JComboBox not working properly on a GridBagLayout ??
|
|
|
|