|
From: Leif M. <lei...@ta...> - 2010-05-04 17:06:58
|
Joey, To make this work, you will need to make the service "interactive". This can be done by setting the wrapper.ntservice.interactive property and then reinstalling your service: http://wrapper.tanukisoftware.org/doc/english/prop-ntservice-interactive.html Please note that starting with Windows 2008 and Vista, it is no longer possible to make a service interactive. Microsoft decided to start forcing all output from a service to display on a Session 0 desktop. We have been looking into ways of working around this new behavior with Windows 2008/Vista. It will involve spawning a second process to manage the GUI and is still a little ways off. Cheers, Leif On Wed, May 5, 2010 at 1:05 AM, Joey Garza <jo...@su...> wrote: > 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. |