JList question

Discussion in 'Java' started by Passero, Jun 28, 2003.

  1. Passero

    Passero Guest

    Is it possible to limit the number of items the user can select in a multi
    selectable JList?
     
    Passero, Jun 28, 2003
    #1
    1. Advertisements

  2. Passero wrote:
    >
    > Is it possible to limit the number of items the user can select in a
    > multi selectable JList?


    AFAIK, that is only possible if you implement your own
    ListSelectionModel.

    Hope this helps - Stephan

    --
    -This can't be.
    -Be what? Be real?

    Neo and Morpheus in 'The Matrix'
     
    Stephan Friedrichs, Jun 28, 2003
    #2
    1. Advertisements

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. Sam
    Replies:
    0
    Views:
    1,038
  2. Tom

    JList problem.

    Tom, Jul 30, 2003, in forum: Java
    Replies:
    1
    Views:
    858
  3. Tom

    JList Problems

    Tom, Jul 30, 2003, in forum: Java
    Replies:
    1
    Views:
    570
    Dave Roberts
    Jul 30, 2003
  4. Jared
    Replies:
    0
    Views:
    968
    Jared
    Jul 31, 2003
  5. Jack Crow

    addMouseListener to JList *ITEM*

    Jack Crow, Sep 13, 2003, in forum: Java
    Replies:
    1
    Views:
    1,116
    =?ISO-8859-1?Q?Andree_Gro=DFe?=
    Sep 15, 2003
  6. Charles Packer
    Replies:
    2
    Views:
    927
    Sudsy
    Nov 5, 2003
  7. Tobi Krausl
    Replies:
    0
    Views:
    1,936
    Tobi Krausl
    Nov 12, 2003
  8. Tobi Krausl
    Replies:
    0
    Views:
    778
    Tobi Krausl
    Nov 20, 2003
Loading...