Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] MacOS X port status?

Hey,

On 11/26/01 5:38 PM, "Martin Sturzenhecker" <msturzen@xxxxxxx> wrote:

> The hanging debugger problem I solved myself. If the loop waits
> "FOREVER" to get an event ...
> But I still donĀ“t get a window with "Hello World" displayed.

Your window should have been opened before the event loop started.  If you
are waiting "FOREVER" to get an event, it's because no events are being
generated.

I really don't know why it's not working for you.  I downloaded the code
last night (to make sure I had the same version), opened the project in
Project Builder, and clicked "Build and Run".  It worked.

I assume you are using 10.1.1 and have the 10.1 developer tools installed?

> 
>> The latter Events have to be some kind of NSEvent, but will use less
>> resources (?).
> Not NSEvent, but NSNotification

I would prefer to use any Cocoa facilities that we can rather than having
Java code to maintain.  This may not always be possible due some of the
runtime behavior of SWT that Andre mentioned.

I'm planning on at least trying to map Cocoa events to SWT events and
possibly using the Cocoa Notification Center for listeners.  I'm not 100%
sure it will work, but I won't know until I try.  :-)

-Maurice



Back to the top