How to launch the default (native) application for a given file from Java?
What you want is java.awt.Desktop: Desktop.getDesktop().open( file );
What you want is java.awt.Desktop: Desktop.getDesktop().open( file );
The Finder Icon Overlay example project represents a small and very basic but actually working example of the answer below. https://github.com/lesnie/Finder-Icon-Overlay I know this is so old, but some may be still interested in topic (?) Here is what I have it done under Leopard (10.6). At first proper Finder’s headers are needed. Use class-dump … Read more