• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DefaultListModel and event dispatch thread

 
Wendy Gibbons
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
should you update list models in the event dispatch thread?

 
Rob Spoor
Sheriff
Pie
Posts: 20661
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Definitely. Otherwise you can get nasty ArrayIndexOutOfBoundsExceptions and the like.
 
Wendy Gibbons
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i was getting them, pretty nasty
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic