Hi, In my program, I have set the layout to GridBagLayout and the problem is the JComboBox drop down part is not visible. When I press a letter, the correct name is shown in the combobox as well. So there are data. So could you please let me know what I can do to make this visible. (When I change the layout into Flowlayout, the drop down is visible)
Thanks and regards
SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
Joined: Sep 25, 2004
There are certain limitation and rules using GridBagLayout and as well as other layouts. I normally use null layout instead of using GridBagLayout or others. Presently I am using NetBeans IDE. In which i am using null layout that allow me to place every component according to my needs. I, therefore, suggest you to use null layout so that u can place every component according to your need.
Further all component and thier data will also be visible without any problems.
I think this could solve your problem.
Love is GOD and GOD is Love.<br /> <br />Anand Karia<br />Manager I.T<br />Artistic Garment Ind. Pvt. Ltd<br />MSC (Computer Science)
Joined: Mar 05, 2002
I think the previous suggestion is the easy way out of course. I think something is wrong in your code. Can you strip it down to a simple application and show us your code!