This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JComboBox & Layout Manager Qu" Watch "JComboBox & Layout Manager Qu" New topic

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.
[ October 05, 2004: Message edited by: zack chancery ]
I agree. Here's the link:
subject: JComboBox & Layout Manager Qu
It's not a secret anymore!