Hi I have two combo boxes in my UI along with other components. when a selection in the first combo changes, the second combo is loaded with values depending on the first combo. The problem is the second combo is initially small due to empty elements. Only upon loading, the combo expands to the size of its contents. Can i set the initial size of the combo so that it doesnt appear as expanding when the elements are added to it. Some more details of UI: The UI consists of two combo boxes, Text field + button, Jtable + two buttons The combos + text field+button are in one row. Jtable in second and two buttons in the last row. On the overall panel i have set Gridbag layout. In the first grid i again have Flowlayout to add the combo boxes.
Nirmal Kumar<br />If you have to aim, aim for the moon. Even if you miss you will land among the stars