wood burning stoves 2.0*
The moose likes Swing / AWT / SWT and the fly likes JComboBox & Layout Manager Qu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JComboBox & Layout Manager Qu" Watch "JComboBox & Layout Manager Qu" New topic
Author

JComboBox & Layout Manager Qu

zack chancery
Ranch Hand

Joined: Aug 19, 2004
Posts: 33
I have a gui that uses many combo boxes in different areas and they work fine except for one particular instance when i have added it using GridBag Layout. it is presented fine at first but when clicked the options are not seen unless the mouse is moved over the area which until then is white space. Does anyone know why this occurs. I am not 100percent that the origins of this problem lie with layout manager but its the only thing i can come up with.

.
.
.
.
having tested this it seems that the layout manager is not the reason why the problem occurs. it must be due to something else. Has anyone come across this kind of thing before?
Also i found that expanding the window size causes all the components to display as white space until the gui is clicked on again.
Feedback is gratefully received.
thanks
z
[ October 05, 2004: Message edited by: zack chancery ]
 
 
subject: JComboBox & Layout Manager Qu