Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-11-2008, 12:29 AM
Member
 
Join Date: Oct 2008
Posts: 2
Rep Power: 0
Hichhiker is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 10-11-2008, 03:27 AM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,225
Rep Power: 4
Norm is on a distinguished road
Default
If its all within one program, use a common method to control what is being displayed and when.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 10-11-2008, 03:58 AM
Member
 
Join Date: Oct 2008
Posts: 2
Rep Power: 0
Hichhiker is on a distinguished road
Default
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
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Minimize to System Tray In Windows shapeshifter AWT / Swing 4 12-07-2008 01:42 PM
Placing an icon with a popup menu on the system tray Java Tip SWT 0 07-25-2008 02:32 PM
System Tray JavaLerner New To Java 2 07-13-2008 08:25 AM
[SOLVED] Baloon message on a tray icon Eranga AWT / Swing 5 04-10-2008 02:12 PM
Tracking Operating System Mansi Networking 2 07-23-2007 01:41 PM


All times are GMT +2. The time now is 08:16 AM.



VBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org