I have a combobox with the initial values. The program enables a user to choose one element for configuring. However, the method only accepts a integer value rather than a string. Is there any way to have a two columns combobox and hide the integer field.
Something likes;
3 console mode
6 windows mode
89 listener mode
So, the user only can see all the mode, not the actual number, but the method will accept the number as the peremeter, rather than the mode name.
Chinese Java Faq Forum
Something likes;
3 console mode
6 windows mode
89 listener mode
So, the user only can see all the mode, not the actual number, but the method will accept the number as the peremeter, rather than the mode name.
Chinese Java Faq Forum