Support for Apple Extensions
Ulrich Kortenkamp
kortenkamp at cinderella.de
Fri Jul 5 02:58:04 PDT 2013
On 05 Jul 2013, at 11:36, Alan Bateman <Alan.Bateman at oracle.com> wrote:
> On 05/07/2013 10:11, Hendrik Schreiber wrote:
>> On Jul 5, 2013, at 10:51 AM, Kustaa Nyholm wrote:
>>
>>> On 05/07/2013 11:45, "Stephen Winnall"<steve at winnall.ch> wrote:
>>>> Any Mac Java client that wants to have a chance of market acceptance will
>>>> use them extensively.
>>> Yes, I'll second that, without them the acceptance among apple users is
>>> poor to nil.
>> +1
>>
>> -hendrik
> Can you elaborate? -- ie: list down the com.apple APIs that are you using so that there is some sense as to which of these APIs is being used.
>
> -Alan.
That’s easy:
import com.apple.eawt.ApplicationEvent;
import com.apple.eawt.ApplicationListener;
com.apple.eawt.Application.getApplication().addAboutMenuItem();
com.apple.eawt.Application.getApplication().addApplicationListener(new OSXApplicationListener());
(where OSXApplicationListener implements all the methods from ApplicationListener).
Ulli
More information about the macosx-port-dev
mailing list