Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JOptionPane aborts program  RSS feed

 
David Garratt
Ranch Hand
Posts: 216
Eclipse IDE Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written a Swing application using JDK1.5 and it works fine when run on a regular client PC (Win2k / XP). When I try running it as a application on a remote server using a Terminal Server session I have noticed that if my application creates any kind of message that displays via a JOptionPane the whole application closes down without so much as an error, zap, nothing on screen, at the dos prompt, or in the loggers text file. I appreciate that this may be a peculiar set of circumstances but I would welcome any suggestions anyone may have to the cause of this.

Many thanks

Dave
 
David Garratt
Ranch Hand
Posts: 216
Eclipse IDE Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
On further testing I now think that the problem is to do with the Sound that I play before the dialog is displayed.
 
David Garratt
Ranch Hand
Posts: 216
Eclipse IDE Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please ignore this thread. I found the problem as being related to trying to play a wav file on a server which had no suitable sound card !
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!