Results 1 to 3 of 3
Thread: System Tray Message tracking.
- 10-11-2008, 01:29 AM #1
Member
- Join Date
- Oct 2008
- Posts
- 3
- Rep Power
- 0
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
- 10-11-2008, 04:27 AM #2
If its all within one program, use a common method to control what is being displayed and when.
- 10-11-2008, 04:58 AM #3
Member
- Join Date
- Oct 2008
- Posts
- 3
- Rep Power
- 0
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
-
Minimize to System Tray In Windows
By shapeshifter in forum AWT / SwingReplies: 4Last Post: 12-07-2008, 02:42 PM -
Placing an icon with a popup menu on the system tray
By Java Tip in forum SWT TipsReplies: 0Last Post: 07-25-2008, 03:32 PM -
System Tray
By JavaLerner in forum New To JavaReplies: 2Last Post: 07-13-2008, 09:25 AM -
[SOLVED] Baloon message on a tray icon
By Eranga in forum AWT / SwingReplies: 5Last Post: 04-10-2008, 03:12 PM -
Tracking Operating System
By Mansi in forum NetworkingReplies: 2Last Post: 07-23-2007, 02:41 PM
Bookmarks