Jump to content

JAR file problem or mine ?

- - - - -

  • Please log in to reply
1 reply to this topic

#1
rapidcybey

rapidcybey

    Newbie

  • Members
  • Pip
  • 8 posts
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

#2
wim DC

wim DC

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,084 posts
  • Programming Language:Java, JavaScript, PL/SQL
  • Learning:Java
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.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users