Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > thread safeness of JOptionPane et al

Reply
Thread Tools

thread safeness of JOptionPane et al

 
 
Alex Hunsley
Guest
Posts: n/a
 
      01-13-2004
Jsut a thought... are classes like JOptionPane, JFileChooser etc. that
show dialogs inherently thread safe?
In other words, does it matter if you're in the event despatch thread
(a.k.a. GUI thread) or not when you call them?
I've had a look at the source for JOptionPane and can see no mention of
SwingUtilities.invokeLater or SwingUtilities.invokeAndWait, so if it is
thread safe, I'm not sure how it's doing it...

alex

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using JOptionPane jazzy Java 0 04-18-2004 05:59 AM
Using JOptionPane jazzy Java 0 04-18-2004 05:59 AM
any comments: GUI thread safeness checker Alex Hunsley Java 13 01-17-2004 04:19 AM
focus with multiple JOptionPane.showInputDialog calls Joseph M. DeAngelo Java 0 11-09-2003 07:48 AM
JOptionPane Cannot Override LookAndFeel's Font... SuperChuck Java 3 08-07-2003 03:33 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57