I have a JFream and there is a JComboBox on this JFrame. Can I use JCheckbox as the JComboBox item and I want all the items to layout properly, something likes;
JList.setLayoutOrientation(JList.HORIZONTAL_WRAP);
Additionally, I need to add two buttons on the bottom of the list, which can allow user to click ok or cancel.
If I cannot use JComboBox, is there anyway to create my own UI bean? Any idea will be very helpful.
Thank you
Chinese Java Faq Forum
JList.setLayoutOrientation(JList.HORIZONTAL_WRAP);
Additionally, I need to add two buttons on the bottom of the list, which can allow user to click ok or cancel.
If I cannot use JComboBox, is there anyway to create my own UI bean? Any idea will be very helpful.
Thank you
Chinese Java Faq Forum