Bill Janssen wrote:
| Thanks, Mary. What I like about this solution is that it doesn't
| introduce any extra mouse-click or ReOpenApplication events. If only
| I knew the name of the Mac app in my Java code... Suppose I could
| hard-code it.
Use Class.getResource() on the main class. Of course, once you have the URL to the main class, you might as well use "open", which will probably be faster (since no AppleScript compilation will be needed).
Glen Fisher
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden