The Artima Developer Community
Sponsored Link

Java Answers Forum
How could I create a TrayIcon ???

1 reply on 1 page. Most recent reply: Apr 1, 2002 9:54 AM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Chris

Posts: 1
Nickname: chrisbhp
Registered: Apr, 2002

How could I create a TrayIcon ??? Posted: Apr 1, 2002 3:51 AM
Reply to this message Reply
Advertisement
Hi,

could I create a TrayIcon for a java application with the recent java api ??

Sorry for my English


Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: How could I create a TrayIcon ??? Posted: Apr 1, 2002 9:54 AM
Reply to this message Reply
You have to write native methods that use the Windows API call Shell_NotifyIcon(). There is an article that gives an exmple of how to do this at JavaWorld (http://www.javaworld.com) -- you can search the site for "Shell_NotifyIcon" or "tray icon" and probably find it.

Flat View: This topic has 1 reply on 1 page
Topic: Text Marquee to Simulate Previous Topic   Next Topic Topic: Using wrapper classes

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use