|
From: Joey G. <jo...@su...> - 2010-05-04 16:28:54
|
I have a jar that has no GUI what so ever. I am running this as a service with JSW and it works great. My question is. I would like to pop up a JOptionPane if certain errors occur. I tried using this: JOptionPane.showMessageDialog(new JFrame(), "Please check log", "Error", JOptionPane.ERROR_MESSAGE); Running my jar file from a command line the box pops up. But, running it with JSW it doesn't popup. Thanks to everyone that helps. |