Results 1 to 5 of 5

Thread: Java - System Tray with timer

  1. #1
    Join Date
    Mar 2010
    Posts
    383

    Java - System Tray with timer

    Hello,
    Can someone tell how to make an icon in the Tray (for Windows and Lunix) using java programming language. I have tried some of the libraries but they are not useful. If you have to give me any third party library it would be appreciated. Thank you for your replies.

  2. #2
    Join Date
    Dec 2009
    Posts
    263

    Re: Java - System Tray with timer

    Hey,
    Even i was find a similar library to use it with java, I found the ETU library but it does not work or may be I do not know how to use it. systray4j: no systray4j in java.library.path this is what I was trying to use with java, but unfortunately this is not working.

  3. #3
    Join Date
    Dec 2009
    Posts
    213

    Re: Java - System Tray with timer

    How can I write a program from the start up that it remained invisible (in the background) and the icon only would be in the system tray? If I click on the icon, the program should appear, i.e its GUI? Can you give me some advice or suggestion on this. Thank you.

  4. #4
    Join Date
    May 2008
    Posts
    255

    Re: Java - System Tray with timer

    Even the parent project jdic to work with the tray supplied liby WINDOWS and under linux. So I think there cross-platform is not lost, do not forget to use
    Code:
    SystemTray.isSupported ()
    What do you have a version of JDK? The required classes must be in the delivery of six Java by default.
    You can find more help here How to use the System Tray in Java?

  5. #5
    Join Date
    Nov 2009
    Posts
    333

    Re: Java - System Tray with timer

    If you need try these settings and see if it is working

    Code:
    C: \ Documents and Settings \  java-version 
    java version "1.6.0_06" 
    Java (TM) SE Runtime Environment (build 1.6.0_06-b02) 
    Java HotSpot (TM) Client VM (build 10.0-b22, mixed mode, sharing)

Similar Threads

  1. Problem using Java.util.Timer
    By Gokul20 in forum Software Development
    Replies: 7
    Last Post: 09-09-2010, 10:20 PM
  2. Help for Timer examples in Java
    By Feng in forum Software Development
    Replies: 5
    Last Post: 24-07-2010, 03:36 AM
  3. Timer and alarm in C / Java
    By Izek in forum Software Development
    Replies: 4
    Last Post: 20-07-2010, 03:24 PM
  4. Problem in java timer Class
    By Gunner 1 in forum Software Development
    Replies: 5
    Last Post: 18-02-2010, 12:48 AM
  5. How to use the System Tray in Java?
    By - Empty Shell - in forum Software Development
    Replies: 4
    Last Post: 16-02-2010, 04:50 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,276,467.93216 seconds with 17 queries