Creating a Sorted JList Component

Discussion in 'Java' started by John O'Conner, Jun 6, 2006.

  1. Hi all,

    A new article offers an option for creating sorted JLists using the
    decorator design pattern. You'll see something similar to this in JTable
    in the upcoming Mustang release, but JList still has no specific, core
    support for sorted lists. You have to do this yourself, and this article
    and demo might help.

    I've written a short demo that shows how you might create sorted lists
    with minimal effect on your current ListModel implementions. To check it
    out, see the following:
    http://java.sun.com/developer/technicalArticles/J2SE/Desktop/sorted_jlist/

    Regards,
    John O'Conner
    John O'Conner, Jun 6, 2006
    #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. Soni
    Replies:
    0
    Views:
    1,073
  2. Karuppasamy

    com+ component and Component Service

    Karuppasamy, Jan 13, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    594
    Karuppasamy
    Jan 13, 2004
  3. Karuppasamy

    com+ component and Component Service

    Karuppasamy, Jan 13, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,502
  4. Karuppasamy

    Remoting Component --> Com+ Component:

    Karuppasamy, Jan 15, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    648
    Karuppasamy
    Jan 15, 2004
  5. oziris
    Replies:
    0
    Views:
    344
    oziris
    May 9, 2007
Loading...

Share This Page