Results 1 to 7 of 7
  1. #1
    justbeller is offline Member
    Join Date
    Dec 2010
    Posts
    57
    Rep Power
    0

    Post How to set Icon on jar file

    Hello Guys

    Is it valid question or not
    can any buddy tell me how to set icon on jar file i wanna set my own icon on jar file

    please help me

    Yougeshwar Khatri

  2. #2
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    6

    Default

    afaik it's not possible to set an own icon on a jar file. unter windows all mime-types has it's own icon. but i don't think this is what you're looking for.

  3. #3
    Hibernate's Avatar
    Hibernate is offline Senior Member
    Join Date
    Dec 2010
    Location
    Stockholm, Sweden
    Posts
    222
    Blog Entries
    9
    Rep Power
    4

    Default

    I do not know of any existing software,
    but it would be possible to add a line the the manifest file
    and create, non-Java, program for previewing .jar files (creating file thumbnails).

    Alternatively for Windows you can create a wrapping .exe file, with the
    icon, which contains and starts the .jar-file.
    Ex animo! Hibernate
    Java, Arch Linux, C, GPL v3, Bash, Eclipse, Linux VT, GNOME 2 and many buttons on windows.

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

    Default

    What does the question have to do with AWT/Swing?

    db

  5. #5
    justbeller is offline Member
    Join Date
    Dec 2010
    Posts
    57
    Rep Power
    0

    Default

    You are right Hibernate
    its possible to set Icon on jar fie but i dont know which line to set icon

  6. #6
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    6

    Default

    Quote Originally Posted by justbeller View Post
    You are right Hibernate
    its possible to set Icon on jar fie but i dont know which line to set icon

    it possible with other tools that wrap a jar to an exe on windows or an executable on other os. but natively jar does not support to set an icon to its file.

  7. #7
    justbeller is offline Member
    Join Date
    Dec 2010
    Posts
    57
    Rep Power
    0

Similar Threads

  1. Change the icon of file in java
    By smn in forum SWT / JFace
    Replies: 18
    Last Post: 10-06-2010, 04:55 PM
  2. Assigning a good Icon to the executable jar file
    By praveen_has in forum AWT / Swing
    Replies: 3
    Last Post: 04-28-2010, 03:39 PM
  3. how to set application icon??
    By chyeeqi in forum New To Java
    Replies: 2
    Last Post: 03-31-2010, 03:43 AM
  4. set.Icon
    By safiya in forum NetBeans
    Replies: 2
    Last Post: 10-17-2008, 06:46 PM
  5. icon
    By amith in forum AWT / Swing
    Replies: 1
    Last Post: 05-16-2008, 07:34 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
  •