I have a small doubt in JComboBox. I want to add combo box to JPanel, here i am using BoxLayout to add combobox to the panel. here my doubt is that when i am maximise the frame, the combobox size automatically increasing in the panel , it occupies the entire panel, i don't how it is happening, it is the functionality of the JcomboBox ? please suggest me.
Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.
posted 9 years ago
please find the attached screen shot when maximise the frame