Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception in JList

Paul Keohan
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I get the following exception with a JScrollList which I add to using a DefaultListModel. I am adding a huge amount of strings very rapidly so I assume it's something to do with this. However, the exception doesn't seem to have an adverse affect. How would I go about preventing this exception anyway?
at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.jav
at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListU

Thanks for any help.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic