From Erights

Jump to: navigation, search

SWT is the approved GUI framework for E-on-Java. (AWT is also supported, but there is concern about the correctness of its taming due to its complexity).

SWT on Mac OS X

For proper GUI behavior, it is generally necessary to execute SWT applications on Mac OS X from within a Mac OS X application bundle. There is a utility, macify-swt.e, to do this provided in the scripts directory of the E-on-Java distribution.

Snow Leopard compatibility

From:    Thomas Leonard <tal@it-innovation.soton.ac.uk>
Subject: Re: [e-lang] Problems with E + SWT on Mac OS X [ solved ]
Date:    October 21, 2009 4:33:10 EDT
To:      e-lang@mail.eros-os.org

On Tue, 2009-10-20 at 16:44 +0100, Thomas Leonard wrote:
> I'm trying to get E used a bit more widely here, but our Mac user
> (10.6.1, Snow Leopard, Java 1.6, 32-bit x86) gets this error (many
> hundreds of lines):
> 2009-10-20 16:30:24.779 java[3000:8a03] *** __NSAutoreleaseNoPool():  
> Object 0x12047a0 of class NSCFString autoreleased with no pool in  
> place - just leaking

OK, it seems that we've found a combination that works:

1. Use the 32 bit version of Java (can be set using the "Java
Preferences" utility).

2. Download the correct version of SWT: "Mac OSX (Mac/Carbon)". If you
are getting lot of "just leaking" messages, you downloaded the wrong
one. We used this version:

Personal tools
more tools