There's no built in way to do this in Java, since the Windows System Tray is a Windows only kind of thing and Java is built to run cross-platform... The only way you can do this is JNI ( or a third party library that uses it )... and this means that you lose the ability to run your program on other platforms.
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
Joined: Jan 06, 2002
Thanks for your reply. Then there are two ways I can deal with the problem: 1) Use VC++ to write the method used in minimize actionListner. 2) Use Java to create a flowing icon on the desktop. Can you tell me what APIs can be used for the second purpose?
But really, ranch hand is the only post related title... bartenders and sherriffs are forum moderators. Bartenders can only moderate (i.e. move posts to appropriate formums, delete inappropriate posts, etc.) in their specific forum, while sherriffs can moderate any forum. New bartenders and sherriffs are nominated and voted on by existing bartenders and sherriffs. Most of the attributes that go into choosing new moderators are number of posts, general helpfulness, and knowledge of Java.