• Post Reply Bookmark Topic Watch Topic
  • New Topic

Clearing a jList  RSS feed

 
Peyton McCullough
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello! What I want to know is: is there any way to clear all the elements in a jList?
Thanks in advance!
// :: Peyton
 
Jason Steele
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
list.removeAll();
 
Peyton McCullough
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you! :-)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!