Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT_AWT on mac
SWT_AWT on mac [message #464193] Fri, 18 November 2005 14:51 Go to next message
Joachim Schreibmaier is currently offline Joachim SchreibmaierFriend
Messages: 89
Registered: July 2009
Member
hi,

has somebody a solution for embedding swing or awt components in swt on MAC?
In my application I have to get the plugin working also on MAC.

Thanks for your help.

--
Joachim
Re: SWT_AWT on mac [message #464208 is a reply to message #464193] Fri, 18 November 2005 18:26 Go to previous messageGo to next message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
Theoretically, you could create a Canvas on SWT which could peer all keyboard and mouse events to a custom Swing Component which would peer all paint events back to the canvas. I'm not sure how well this would work, but in theory you could have a swing Component embedded within an SWT Shell without any native code at all. I experimented with this back when Eclipse was in 2.1 but I abandoned the project when SWT_AWT came out for Linux (it was out in beta for Windows as early as 2.0 I believe).
Re: SWT_AWT on mac [message #464214 is a reply to message #464208] Fri, 18 November 2005 18:43 Go to previous messageGo to next message
Joachim Schreibmaier is currently offline Joachim SchreibmaierFriend
Messages: 89
Registered: July 2009
Member
hi
"Daniel Spiewak" <djspiewak@gmail.com> wrote:
> Theoretically, you could create a Canvas on SWT which could peer all
> keyboard and mouse events to a custom Swing Component which would peer all
> paint events back to the canvas. I'm not sure how well this would work,
> but in theory you could have a swing Component embedded within an SWT
> Shell without any native code at all. I experimented with this back when
> Eclipse was in 2.1 but I abandoned the project when SWT_AWT came out for
> Linux (it was out in beta for Windows as early as 2.0 I believe).

hm, no I think that is too difficult. Is there a implementation which works
planned for MAC? Maybe in the next release?

--
Joachim
Re: SWT_AWT on mac [message #464272 is a reply to message #464214] Sat, 19 November 2005 20:33 Go to previous message
Jeff Myers is currently offline Jeff MyersFriend
Messages: 489
Registered: July 2009
Senior Member
Joachim,

Please see bug 67384: https://bugs.eclipse.org/bugs/show_bug.cgi?id=67384

- Jeff

Joachim Schreibmaier wrote:
> hi
> "Daniel Spiewak" <djspiewak@gmail.com> wrote:
>
>>Theoretically, you could create a Canvas on SWT which could peer all
>>keyboard and mouse events to a custom Swing Component which would peer all
>>paint events back to the canvas. I'm not sure how well this would work,
>>but in theory you could have a swing Component embedded within an SWT
>>Shell without any native code at all. I experimented with this back when
>>Eclipse was in 2.1 but I abandoned the project when SWT_AWT came out for
>>Linux (it was out in beta for Windows as early as 2.0 I believe).
>
>
> hm, no I think that is too difficult. Is there a implementation which works
> planned for MAC? Maybe in the next release?
>
Previous Topic:Current SWT program plus JFace questions...
Next Topic:SWT lightweight popup menu
Goto Forum:
  


Current Time: Thu Apr 25 11:23:02 GMT 2024

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

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

Back to the top