problems with JList

Discussion in 'Java' started by nitesh sood, May 22, 2008.

  1. nitesh sood

    nitesh sood

    Joined:
    May 22, 2008
    Messages:
    2
    i'm new to Java and NetBeans and im having probs with with JList.

    can anyone tell me how to obtain individual elements in a JList??

    For eg- the user of my GUI chooses a particular elemnt of the list. i can get the index number but how do i use that index to print that particular element in a some other text field?
     
    nitesh sood, May 22, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Passero

    JList question

    Passero, Jun 28, 2003, in forum: Java
    Replies:
    1
    Views:
    1,138
    Stephan Friedrichs
    Jun 28, 2003
  2. Sam
    Replies:
    0
    Views:
    938
  3. Tom

    JList problem.

    Tom, Jul 30, 2003, in forum: Java
    Replies:
    1
    Views:
    756
  4. Tom

    JList Problems

    Tom, Jul 30, 2003, in forum: Java
    Replies:
    1
    Views:
    474
    Dave Roberts
    Jul 30, 2003
  5. blmblm@myrealbox.com

    problems with editable JList

    blmblm@myrealbox.com, Feb 17, 2014, in forum: Java
    Replies:
    8
    Views:
    169
    blmblm@myrealbox.com
    Feb 19, 2014
Loading...

Share This Page