1. JComboBoxes - Using setModel to access Objects (in Swing) stackoverflow.comQuick background, I am using Netbeans to develop this (I don't have much experience with Swing and have lost points on experience at the chance to gain development speed). In Netbeans it ... |
2. JComboBox.setModel (with enums) coderanch.comHi, I'm trying to load a combobox with enums (shown below). I'm using the form editor in Netbeans 6.1 where I've entered the following. This complies fine but doesn't do anything! Could someone show me what I'm doing wrong please? NB: the method in RoomType.toString just uses a utility prog I wrote to convert the enums e.g (SINGLE_STANDARD to Single Standard). ... |