CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2009
    Posts
    18

    Probably a simple question but when creating executable jars

    How do you change the image displayed for the jar? Like I want to have my own custom icon for instead of the default Java logo.

  2. #2
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: Probably a simple question but when creating executable jars

    This is an OS related issue not a Jar one. If you are using Windows right click on a Jar file and select Properties. Then on the Properties dialog's Shortcut page select the Change Icon button.

  3. #3
    Join Date
    Nov 2009
    Posts
    18

    Re: Probably a simple question but when creating executable jars

    Ok because I tried that before and I didn't see an option to change the icon under properties. Maybe I'm looking in the wrong place or something? >.>

  4. #4
    Join Date
    May 2006
    Location
    UK
    Posts
    4,473

    Re: Probably a simple question but when creating executable jars

    Sorry, it picks up it's icon from the program associated with it ie java.exe so you need to change the java icon if you want to change the jar one. An alternative approach is to create a .cmd or .bat file to start the jar running and set a icon for that.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured