Yeah you have to use a Win32 API function, Shell_NotifyIcon() to add an app's icon to the system tray and then you have to map windows messages to it so you can create a menu when it's clicked on and repond to it.... It's a pain so you'll have to code something like dll or some kind of stub and use JNI to comunicate with it.
You sure you want to go to all this trouble? Greg. "Paul Franz" <[EMAIL PROTECTED]> on 2002/11/27 08:37:52 AM Please respond to "JDJList" <[EMAIL PROTECTED]> To: "JDJList" <[EMAIL PROTECTED]> cc: Subject: [jdjlist] Re: GUI question JNI and doing some native coding. Paul Franz ----- Original Message ----- From: "Dmitriy Bocharov" <[EMAIL PROTECTED]> To: "JDJList" <[EMAIL PROTECTED]> Sent: Wednesday, November 27, 2002 5:10 AM Subject: [jdjlist] GUI question > Hello all. > > Did anybody solve the following task - to make the Java application that > starts to run its resident part after the user logging process and registers > its graphical shortcut on the windows task bar (rightmost side, like an ICQ > )? > > Where to start in AWT API or Swing? > Your hints would be very appreciated. > > Dmitri Bocharov > Software Developer > AIG Inc > ____________________________________________________ To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm Be respectful! Clean up your posts before replying ____________________________________________________ ****************************************************************************** This email message is confidential to the intended recipient and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. Any unauthorised use, dissemination of the information, or copying of this message is prohibited. If you are not the intended addressee, kindly notify the sender by return e-mail and delete this message. ****************************************************************************** ____________________________________________________ To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm Be respectful! Clean up your posts before replying ____________________________________________________
