Yes, I think a Mac OS X solution is what I need for now (though it
would be nice if the Java SDK had something like this).
I see that somewhere there's a class called
"com.apple.cocoa.application.NSApplication", which has a method
"activateIgnoringOtherApps", which sounds like exactly what I want.
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Java/Classes/NSApplication.html#//apple_ref/doc/uid/20000624/CACCJDJC
But I can't find a jar file on my system that includes this class. Is
this old documentation? Is this class obsolete?
Bill
> Bill Janssen wrote:
> | Is there some way,
> | from Java, to make my application the "active" application?
>
> If your application will run only on OS X, you could exec() the "open" command. (That would require your application knowing it's own name and location, however.)
>
> 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
_______________________________________________
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