• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Swing Windows Service

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I hv written a small swing application. I installed the swing application as a windows service. When i start the service in starts without errors.

But i the JFrame is not Visible to me. I installed this swing application as a windows service using JavaService.

Can anybody please help me?
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
UseRealWords. hv is not one of them.

I'm thinking of moving this to Other APIs, but let's wait a few more days. If there are still no helpful replies by then I'll move it anyway.

That does NOT mean you should create another thread for this problem.
 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Windows services rarely have an API that is visible to a user who happens to sign on. I don't know much about services (note: that isn't the topic of any of the forums here) but I vaguely recall that there is something you have to do to a service to make it have a visible user interface.

Personally I wouldn't do that as I wouldn't expect it to work. I would write the service as a server with no GUI and provide a client with a GUI that could send requests to the server.

Edit: I looked at the dialog for configuring a Windows service. I see that it has a checkbox "Allow service to interact with desktop".
[ June 23, 2008: Message edited by: Paul Clapham ]
reply
    Bookmark Topic Watch Topic
  • New Topic