Two Laptop Bag*
The moose likes Threads and Synchronization and the fly likes edt, and ListModels Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "edt, and ListModels" Watch "edt, and ListModels" New topic
Author

edt, and ListModels

Wendy Gibbons
Bartender

Joined: Oct 21, 2008
Posts: 1107

this is my event handler stuff, the event came from a thread I created and set going

output: "Thread name:Thread created from search button"

does the listModel.addElement need to be done in the EDT, or do the ListModelListeners do that bit?
and is this thread safe?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: edt, and ListModels
 
Similar Threads
JList : how to add one simple element to a existing list??
How to update JList
JList deselection problem
listModel problem
JList and selection problem