The Source for Java Technology Collaboration
User: Password:



Start New Message Delete Post a Reply

Article: 
 Make Your Swing App Go Native, Part 3
Subject:  Creating mac icons on a Windows
Date:  2004-07-11 06:33:33
From:  joshy
Response to: Creating mac icons on a Windows


Bundles are indeed just directories, but to be recognized as an application it must have the application bit set. To do that we need a program to set it (which is currently native to OSX) and we need a filesystem which supports that bit. If you aren't running on a platform which supports that bit, (say Win32) then you could only do it with a virtual filesystem, like say inside of a tar file. This are solvable problems, but there is no way to do it right now. For the time being the final assembly of a Mac app must be done on a Mac.

The icon structure is undocumented, but I'm sure that will be solvable as well.

 Feed java.net RSS Feeds