i have a problem with using the jcombo
if i have a code like this
String st[] = {"one" ,"one" ,"two"};
JComboBox combo = new JComboBox (st);
and in my listener i call
int i = combo.getSelectedIndex();
wether i select the first or second "one"
the returned index is always 0
any solutions?
can i override the jcombo methods to return 1 if i select the second
"one"?
if so how?
thanks and regards
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html