Results 1 to 3 of 3
  1. #1
    ALuMaGuBi is offline Member
    Join Date
    Aug 2010
    Posts
    2
    Rep Power
    0

    Default HELP: How to make Java Application worked via Remote Desktop

    Hi all, I'm create an application with Java.
    Then I put that application in server, and add it into windows service.

    The problem is, when I use Windows Remote Desktop,
    I can't see my form or my icon in system tray from Remote Desktop.
    Although the service is running.

    Is it possible to make java application that can used from remote desktop?
    (for example like antivirus program, which its icon in system tray can be accessed from remote desktop)

    Any suggestions will be welcome.
    Thanks!

  2. #2
    krato is offline Member
    Join Date
    Aug 2010
    Posts
    3
    Rep Power
    0

    Default Create second application - a GUI

    Hi ALuMaGuBi,

    I think it's impossible to use graphical user interface (GUI) in an application running as service.

    I think the right way is to create a second application. This one will be a GUI control interface. The GUI application can run under logged user and it can communicate with the service one e.g. over TCP connection.

    After that you can use e.g. class java.awt.TrayIcon (since Java 1.6) for the tray icon in the GUI application.

    Has someone a better idea?

  3. #3
    ALuMaGuBi is offline Member
    Join Date
    Aug 2010
    Posts
    2
    Rep Power
    0

    Default

    Yes you are right krato,
    i've think about that to make another application that runs in client to control server application..

    But i still wondering how application like antivirus can run from remote desktop (multi session).

    thanks anyway :)

Similar Threads

  1. Remote Desktop Application
    By Drango in forum CLDC and MIDP
    Replies: 2
    Last Post: 05-17-2010, 11:22 PM
  2. How to make Exe file of desktop application
    By rakesh_n_mehta in forum AWT / Swing
    Replies: 1
    Last Post: 12-12-2009, 01:27 PM
  3. Open an RDP file with Remote Desktop Connection
    By MisterAndy in forum New To Java
    Replies: 0
    Last Post: 12-04-2009, 08:24 PM
  4. Replies: 3
    Last Post: 12-04-2009, 12:10 PM
  5. How to read a .EML file present on Remote Desktop?
    By anil@prokarma in forum New To Java
    Replies: 0
    Last Post: 06-12-2008, 02:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •