1 Reply Latest reply on Jan 7, 2013 3:42 PM by 882147

    How to change default icon of jar file..

    user9950484
      dear friends please suggest me how to change default icon of jar file to my own icon...
        • 1. Re: How to change default icon of jar file..
          882147
          You can normally append the ico file in front of the Jar file.
          I did it in the past but not anymore (can't remember why). So no garantee.

          Here is the Ant task for it:
          <concat destfile="build/${app.name}.jar" binary="true">
          <filelist dir="build" files="src/${dir.name}/${app.name}.ico,build/${app.name}Obs.jar"/>
          </concat>

          If you want to change the icon of the started frame, use the API of JFrame.