FOR ALL WHO DOES'NT KNOW WHERE TO ASK
BUT KNOW THAT ASKING OFFTOPIC

HERE IS A LIST OF JAVA-RELATING MAIL LISTS FROM SUN

http://www.lsoft.com/scripts/wl.exe?XH=JAVA.SUN.COM

/*************************/
 Thomas Schuchert
 Cyberconsult
 Beratungsgesellschaft f�r Neue Medien mbH
 [EMAIL PROTECTED]
 0049 30 - 39 99 05 46
/*************************/


> -----Urspr�ngliche Nachricht-----
> Von:  Srinivasan Sudhir [SMTP:[EMAIL PROTECTED]]
> Gesendet am:  Freitag, 12. Mai 2000 11:35
> An:   [EMAIL PROTECTED]
> Betreff:      off topic : swing jcombo
>
> 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

___________________________________________________________________________
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

Reply via email to