Hi
Ok im currently working on a project and i have system tray capabilities like when i minimize the program it will go to the system try where the clock is located.
I have a tray icon image for it so when it gets minimized to the tray the icon appears .
The image is visible when i debug and run form netbeans but when i compile and build it and when i run the JAR file the tray icon is not appearing but the program is minimized to the tray i can click it and go to the menus or open the program back
can any 1 help me why does this happen i can provide screen shots if required.
regards
1 reply to this topic
#1
Posted 15 September 2011 - 01:28 PM
|
|
|
#2
Posted 15 September 2011 - 01:59 PM
It's propably an issue with the compiled file not finding the image, have you got a try-catch around it with FileNotFoundException, or IOException, or just Exception,?
Do something useful in the catch block, like writing text to a file or something so you know what's going on.
Do something useful in the catch block, like writing text to a file or something so you know what's going on.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









