• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception in JList  RSS feed

 
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?
java.lang.ArrayIndexOutOfBoundsException
at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.jav
:1154)
at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListU
.java:1097


Thanks for any help.
Paul
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!