Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Java Web Start and Cocoa Display.getSystemMenu - Shell not shown(Shell is not shown when app using Display.getSystemMenu is deployed via JWS)
icon4.gif  Java Web Start and Cocoa Display.getSystemMenu - Shell not shown [message #898774] Fri, 27 July 2012 14:07 Go to next message
Albert Pikus is currently offline Albert PikusFriend
Messages: 70
Registered: October 2009
Member
Hi, everyone,


I encountered the following problem: when using Display.getSystemMenu() (introduced with 3.7) on Mac through Java Web Start, application Shell is not shown.

Please take a look at the following snippet: http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet354.java

When this snippet is started from Eclipse, Shell is correctly displayed and everything works as expected, but if JAR is created and deployed through Java Web Start, application's shell is not displayed at all on Mac, while all menu items are in place and are receiving mouse events.

When the above snippet is packaged inside JAR and deployed via JWS and run on Windows, Shell is correctly displayed.

I think it's a great improvement that SWT is now capable of displaying Application menu on Mac (I was using CocoaUIEnhancer until 3.7), but unfortunately deployment using JWS doesn't seem to be an option.

I can reproduce this with Oracle Java 1.6.0_33, SWT 4.2 and Mac OS X 10.7.4 (Lion).

Is this a SWT or Java Web Start issue?

Any suggestions/possible solutions are welcome.


Best regards,

Albert

[Updated on: Wed, 01 August 2012 08:54]

Report message to a moderator

Re: Java Web Start and Cocoa Display.getSystemMenu - Shell not shown [message #899258 is a reply to message #898774] Tue, 31 July 2012 08:57 Go to previous message
Albert Pikus is currently offline Albert PikusFriend
Messages: 70
Registered: October 2009
Member
Hi,

I submitted a bug to Eclipse Bugzilla, please see https://bugs.eclipse.org/bugs/show_bug.cgi?id=386295


Best regards,

Albert
Previous Topic:Drag n drop on tree not showing more than one item unless its not expanded after adding first item
Next Topic:OLE Automation read shared email inbox
Goto Forum:
  


Current Time: Sat Apr 27 03:17:50 GMT 2024

Powered by FUDForum. Page generated in 0.03146 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top