• Post Reply Bookmark Topic Watch Topic
  • New Topic

Get selected value from a JList

 
Rasta Kalo
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a Jlist that contains the content of a vector, how can I handle an event such as a double-clicked item in that JList?
What I'm intending to do is getting the appropriate properties for a selected item, and put the values into textfields.

tia
 
Kaydell Leavitt
Ranch Hand
Posts: 690
Eclipse IDE Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found the following example in the Java 5.0 API JavaDoc documentation:



Kaydell
 
Rasta Kalo
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Kaydell
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!