Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Can I embed SWT Widgets into webpage
icon3.gif  Can I embed SWT Widgets into webpage [message #981895] Mon, 12 November 2012 19:42 Go to next message
sad nomad is currently offline sad nomadFriend
Messages: 1
Registered: November 2012
Junior Member
Can SWT Widgets be embedded into webpage? any examples?
thanks a lot!
Re: Can I embed SWT Widgets into webpage [message #982212 is a reply to message #981895] Tue, 13 November 2012 01:40 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
On 11/12/2012 02:40 PM, sad nomad wrote:
> Can SWT Widgets be embedded into webpage? any examples?
> thanks a lot!
The Eclipse RAP project allows you to create web apps using the SWT
widget API. Take a look at http://www.eclipse.org/rap/
Re: Can I embed SWT Widgets into webpage [message #985683 is a reply to message #981895] Thu, 15 November 2012 16:48 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
SWT Controls cannot be mixed into a page because the worlds of a
browser's rendered content and native controls are two different worlds.

There was a project in the past that could show a page in a browser
containing only SWT; I think it did this by displaying a page with a
java applet (AWT) and then used the SWT/AWT bridge to embed SWT in it.
It was called RSWT, which I notice is still a project at sourceforge (
http://rswt.sourceforge.net/quickstart.html#Starting%20the%20RSWT%20Control%20Example
), so perhaps it's worth taking a look at. I haven't tried it myself
though, so I don't have further guidance.

HTH,
Grant


On 11/12/2012 3:40 PM, sad nomad wrote:
> Can SWT Widgets be embedded into webpage? any examples?
> thanks a lot!
Previous Topic:Problem using multiple StyleRange for my StyledText
Next Topic:SWT Tabfolder update size according to selection
Goto Forum:
  


Current Time: Fri Apr 19 06:02:35 GMT 2024

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

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

Back to the top