Java App Icon

Discussion in 'Mac Programming' started by SnowLeopard2008, Jan 8, 2009.

  1. SnowLeopard2008 macrumors 604

    SnowLeopard2008

    Joined:
    Jul 4, 2008
    Location:
    Silicon Valley
    #1
    I created this small icon for a battery gauge app that I'm coding for Linux, using the Java programming language. One small problem. How do I get an icon for it? Could someone post the lines of code needed to add the icon to the app? I've tried searching too so please don't flame me.
     
  2. foidulus macrumors 6502a

    Joined:
    Jan 15, 2007
    #2
    You should look into the Jar Bundler (Developer-> Utilities -> Jar Bundler)

    That will allow you to create a Mac Application from your jars that users can just drag into their apps folder, launch from the dock etc. You can add your icon and set a couple other UI parameters with it.
     
  3. SnowLeopard2008 thread starter macrumors 604

    SnowLeopard2008

    Joined:
    Jul 4, 2008
    Location:
    Silicon Valley

Share This Page