File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Updating a JList

 
Frank Hale
Ranch Hand
Posts: 230
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the proper method of updating a JList. I have a custom list model based on AbstractListModel. I'm using JDK 1.3 and I see it has a ListDataListener interface. Is this what I need to use? I however do not see an addListDataListener method in JList. For now I've been using setModel to set the model again when it changes but is this the proper or best way to do it?
Thanks,
Frank
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A similar question is answered here.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic