|Re: java_swt on Mac OS X 10.2.8 menu bar [message #443684 is a reply to message #443562]
||Wed, 29 September 2004 08:13
| Arthur Gouros
Registered: July 2009
> Be aware: SWT for 3.0 is not supported on 10.2.8
Thanks for the info, I'll pass it on to our team.
> SWT from 3.1 can be launched from /usr/bin/java or from a standard
> application bundle if you are using a 1.4.2_04 JVM.
Yes I noticed this, but since the java_swt method also works here (and
therefore in all our supported environments) I'll stick with that until
I'm forced to change should Apple or Eclipse drop the use of the
> Please try to set the application name with Display.setAppName(...) before
> creating the Display.
Cool stuff, this did the trick. A worthy note though, it only looks like
the window title cannot be reset once the display is initialised, so you
have to run this API early, preferably before the construction of the
display. I think this behaviour may have more to do with Mac OS X than SWT.
> Could you give me a hint what Jellyscript does and how it fails with
jellyscript is an apache commons framework for referencing object methods
and properties from an xml type script. We use it to construct our GUI (we
also call SWT APIs from it too). Unfortunately this issue ruined the
elegance of this solution because I was forced to make the
Display.setAppName() call way before the jelly stuff initialised and
outside the jelly framework. Oh well.
I know jellyscript GUIs can be debugged from within Eclipse (Marcus
Crafter, a regular contibutor to these forums has managed it), but I
believe it's currently quite a challenge.
Many thanks Andre for helping me sort out this issue.
All the best
|Re: java_swt on Mac OS X 10.2.8 menu bar [message #443748 is a reply to message #443684]
||Wed, 29 September 2004 20:23
| Andre Weinand
Registered: July 2009
On 29.9.2004 10:13 Uhr, in article firstname.lastname@example.org, "Arthur Gouros"|
>> Please try to set the application name with Display.setAppName(...) before
>> creating the Display.
> Cool stuff, this did the trick. A worthy note though, it only looks like
> the window title cannot be reset once the display is initialised, so you
> have to run this API early, preferably before the construction of the
> display. I think this behaviour may have more to do with Mac OS X than SWT.
Yes, it is supposed to work like this on all platforms, so there seems to be
no way to change the app name after the Display has been created.
However, at least on MacOS X Apple introduced two command line options
-Xdock:icon=<path to icon file>
Today they only have an effect if AWT is used.
But I've already proposed to support the latter option from within SWT too.
Now I'm convinced that the first option should be supported too. With this
you could set the app's name via the command line or from the application
>> Could you give me a hint what Jellyscript does and how it fails with
> jellyscript is an a....
Thanks for the intro.
Powered by FUDForum
. Page generated in 0.05685 seconds