Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Adding an AWT frame to SWT with example(Adding an AWT frame to SWT with example)
icon5.gif  Adding an AWT frame to SWT with example [message #1197430] Tue, 19 November 2013 22:41 Go to next message
Rahul Chandrashekar is currently offline Rahul ChandrashekarFriend
Messages: 43
Registered: July 2009
Member
Dear All,

I am currently working on an activity where i want to merge a AWT Applet within RAP via SWT and i am using SWT_AWT bridge in achieving the same and currently i am ecountering the below error:


osgi> 2013-11-19 17:35:19.011:WARN:oejs.ServletHandler:ERROR: Error for /hello
java.lang.NoSuchFieldError: handle
at org.eclipse.swt.awt.SWT_AWT.new_Frame(SWT_AWT.java:143)


Please let me know on any solution.

Regds
Rahul.

[Updated on: Tue, 19 November 2013 22:42]

Report message to a moderator

Re: Adding an AWT frame to SWT with example [message #1200966 is a reply to message #1197430] Thu, 21 November 2013 14:01 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Rahul,

unfortunately, the SWT_AWT bridge is not supported in RAP, see [1].
We've made some experiments once but found that due to the differing
threading models, it can't be done easily.

Best regards,
Ralf


[1]
http://www.eclipse.org/forums/index.php/mv/msg/452953/1008606/#msg_1008606

--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Show Image in Browser widget
Next Topic:Bug with fix contributed hasn't made it into code base in two years
Goto Forum:
  


Current Time: Wed Apr 24 13:31:20 GMT 2024

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

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

Back to the top