L lkool Guest Dec 16, 2008 #1 I just want to load a file when a user clicks on a button. the file could be HTML or word doc I don't care. it is nothing fancy. The file is located in the same directory as the app.
I just want to load a file when a user clicks on a button. the file could be HTML or word doc I don't care. it is nothing fancy. The file is located in the same directory as the app.
A atomic_overlord Guest Dec 16, 2008 #2 How about something like... Runtime.getRuntime().exec( new String[] { "open", "/Applications/TextEdit.app" } );
How about something like... Runtime.getRuntime().exec( new String[] { "open", "/Applications/TextEdit.app" } );
A atomic_overlord Guest Dec 16, 2008 #3 How about something like... Runtime.getRuntime().exec( new String[] { "open", "/Applications/TextEdit.app" } );
How about something like... Runtime.getRuntime().exec( new String[] { "open", "/Applications/TextEdit.app" } );