Results 1 to 3 of 3
  1. #1
    Hichhiker is offline Member
    Join Date
    Oct 2008
    Posts
    3
    Rep Power
    0

    Default System Tray Message tracking.

    I am starting to play with Java 6's System Tray interface and am trying to find a way not to trample on my own messages as I display them.

    If I display a message an another one is being displayed, the first message disappears. Is there a way to detect if a message is currently being displayed and wait on next message until it is cleared or timed out?

    -HH

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,412
    Rep Power
    25

    Default

    If its all within one program, use a common method to control what is being displayed and when.

  3. #3
    Hichhiker is offline Member
    Join Date
    Oct 2008
    Posts
    3
    Rep Power
    0

    Default

    Quote Originally Posted by Norm View Post
    If its all within one program, use a common method to control what is being displayed and when.
    I am currently displaying the baloon from a common method, but the problem is that after I call displayMessage() method on TrayIcon, I have no way of knowing how long the OS dependent timeout is on the message or if the user clicked closed the message before said timeout. I was wondering if there is a way to either detect if a message is currently being displayed or trigger an event on balloon closing . I can handle it from there.


    I suppose I can just ignore the "displayMessage()" functionality and create my own pop-up balloons - but it seems a bit silly to re-invent the wheel.

    Thanks.

    -HH

Similar Threads

  1. Minimize to System Tray In Windows
    By shapeshifter in forum AWT / Swing
    Replies: 4
    Last Post: 12-07-2008, 01:42 PM
  2. Replies: 0
    Last Post: 07-25-2008, 02:32 PM
  3. System Tray
    By JavaLerner in forum New To Java
    Replies: 2
    Last Post: 07-13-2008, 08:25 AM
  4. [SOLVED] Baloon message on a tray icon
    By Eranga in forum AWT / Swing
    Replies: 5
    Last Post: 04-10-2008, 02:12 PM
  5. Tracking Operating System
    By Mansi in forum Networking
    Replies: 2
    Last Post: 07-23-2007, 01:41 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
  •