Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-11-2008, 02:29 AM
Member
 
Join Date: Oct 2008
Posts: 2
Hichhiker is on a distinguished road
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
Sponsored Links
  #2 (permalink)  
Old 10-11-2008, 05:27 AM
Norm's Avatar
Senior Member
 
Join Date: Jun 2008
Location: Heredia, Costa Rica
Posts: 2,223
Norm is on a distinguished road
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, 05:58 AM
Member
 
Join Date: Oct 2008
Posts: 2
Hichhiker is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


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

vB 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
Placing an icon with a popup menu on the system tray Java Tip SWT 0 07-25-2008 04:32 PM
System Tray JavaLerner New To Java 2 07-13-2008 10:25 AM
[SOLVED] Baloon message on a tray icon Eranga AWT / Swing 5 04-10-2008 04:12 PM
Minimize to System Tray In Windows shapeshifter AWT / Swing 3 08-15-2007 04:19 AM
Tracking Operating System Mansi Networking 2 07-23-2007 03:41 PM


All times are GMT +3. The time now is 12:58 AM.


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