Results 1 to 4 of 4
  1. #1
    avixt is offline Member
    Join Date
    Apr 2011
    Posts
    2
    Rep Power
    0

    Exclamation Netbeans6.8 .jar file icon change

    Hi All,

    I'm using netbeans 6.8. I have selected default Java Desktop Application template from netbeans project menu.

    After compile netbeans generates a .jar file with default coffee cup (Java) icon.
    I want to change this icon so that the jar file could have a different icon.

    Please help.

    thanks.....

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,202
    Rep Power
    19

    Default

    That's not an option. The jar file doesn't have an icon, it's a system-wide setting that applies to ALL jar files.

    db

  3. #3
    avixt is offline Member
    Join Date
    Apr 2011
    Posts
    2
    Rep Power
    0

    Exclamation Netbeans6.8 .jar file icon change

    thanks for the reply

    If I want to set an Icon for my application then what will I do.

    It can be done in VB for .exe file.

    You mean java swing desktop application's does not support any icon other than default coffee cup icon???

    could any one please explain.......

    thanks.....

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,202
    Rep Power
    19

    Default

    You can create a shortcut to the jar and set the icon of the shortcut. Or us a .BAT file to launch your program and set its icon.

    db

Similar Threads

  1. change icon of frame?
    By Manish87 in forum AWT / Swing
    Replies: 9
    Last Post: 04-15-2011, 04:11 AM
  2. Change the icon of file in java
    By smn in forum SWT / JFace
    Replies: 18
    Last Post: 10-06-2010, 04:55 PM
  3. Swing: Change the icon on a JComponent
    By xytho33 in forum Advanced Java
    Replies: 1
    Last Post: 09-23-2010, 06:53 AM
  4. How to change Window Icon
    By sharafat in forum AWT / Swing
    Replies: 7
    Last Post: 01-15-2010, 12:37 AM
  5. Icon change and lib folder problem
    By LeonLanford in forum New To Java
    Replies: 10
    Last Post: 10-21-2009, 04:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •