Hi Gigi -
Thanks for your replies, too! Well, the tray icon not displaying...I'm not sure what type of code issue could be there...it works in Windows XP...except when a machine is powered on, the icon doesn't appear on the task bar although it is running.
Here is the issue I think it may be...
http://support.microsoft.com/kb/886695
If there is an issue with my code (which I have NO problem admitting

) What type of pitfalls can I be on the look out for? Is there something in my advanced installer setup that I need to alter?
Here are some snippets of my code...maybe the culprit can be found here??
Code: Select all
public static void main(String argv[]){
rc = new ResourceClient();
while(true){
if(stopped){
stdLog("Initiating shutdown process...");
rc.shutdownForService();
stdLog("Shutdown process completing");
break;
}
else
try{
Thread.sleep(1000);
}
catch(Exception e){
logError("Error occurred while trying to sleep: "+e.getMessage());
}
}
stdLog("Quiting application.");
}
public static void stop(){
stopped = true;
}
Then here is an outline of my tray icon support.
- I call my constructor as described above
- Create the tray icon there (where I do check for system tray support)
- then I create the rest of the GUI
Any insight is amazing. Thanks!
-Mark
FOLLOW US
Get the latest news in Application Packaging