Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT - AWT integration on macosx platform - 10.10.2.
SWT - AWT integration on macosx platform - 10.10.2. [message #1684232] Wed, 18 March 2015 10:37 Go to next message
Shantanu Sahay is currently offline Shantanu SahayFriend
Messages: 3
Registered: March 2015
Location: India
Junior Member
Hi,

We are trying to run our product on Macosx platform 10.10.2 on Java 7u71. We are using Albireo plugin for AWT - SWT version [3.7] integration. We are embedding AWT component inside the SWT composite using SwingControl [Albireo] class.

The application get launch successfully, however the composite object is not getting rendered. We have debugged the issue by looking into the thread dump, but all of the threads seem to be in correct state. However we found one thread as in waiting state.

["Java2D Queue Flusher" daemon prio=5 tid=0x00000001011e6800 nid=0xfc07 in Object.wait() [0x000000011508d000]
java.lang.Thread.State: TIMED_WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000007d1f0d9b0> (a sun.java2d.opengl.OGLRenderQueue$QueueFlusher)
]

For more information please find the attached thread dump. Everything works fine on windows platform.

Re: SWT - AWT integration on macosx platform - 10.10.2. [message #1687116 is a reply to message #1684232] Thu, 19 March 2015 14:00 Go to previous message
Brian de Alwis is currently offline Brian de AlwisFriend
Messages: 877
Registered: January 2012
Senior Member

Try some of the Albireo examples and verify that they're working. It's been a while since I've done SWT_AWT on OS X, but it definitely worked on 10.9.

Are you sure your composite is properly set up correctly in terms of layout? A composite showing nothing is a classic sign of a missing layout. Try placing another SWT widget inside (e.g., a Button) and make sure it's rendering properly.

Brian.
Previous Topic:Contribute to documentation
Next Topic:org.eclipse.swt.widgets.DateTime throws no Selection Event when selecting the already selected date
Goto Forum:
  


Current Time: Wed Jan 20 19:39:33 GMT 2021

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

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

Back to the top