Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » GlassPane?
GlassPane? [message #465676] Mon, 19 December 2005 01:11 Go to next message
Stephen is currently offline StephenFriend
Messages: 47
Registered: July 2009
Member
Is there a container in SWT like GlassPane in Swing?

--
Stephen
Re: GlassPane? [message #465680 is a reply to message #465676] Mon, 19 December 2005 08:48 Go to previous messageGo to next message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
No!

Stephen wrote:
> Is there a container in SWT like GlassPane in Swing?
>
> --
> Stephen
>
Re: GlassPane? [message #465681 is a reply to message #465680] Mon, 19 December 2005 09:02 Go to previous messageGo to next message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
Sorry for the short answer but I had (have) the same problem and am a
little frustrated. :(
There is no GlassPane since not all platforms provide the functionality
nessecary. If I have some time I want to check if a glasspane can be
emulated by using a canvas with no background and some special layout
managers but I haven't gotten around to it yet and having a lot of other
probs that have priority.
So if you find a Solution please post it.

Regards
Stefan

Stefan Langer wrote:
> No!
>
> Stephen wrote:
>
>> Is there a container in SWT like GlassPane in Swing?
>>
>> --
>> Stephen
>>
Re: GlassPane? [message #465687 is a reply to message #465681] Mon, 19 December 2005 15:17 Go to previous messageGo to next message
Jeremy Dowdall is currently offline Jeremy DowdallFriend
Messages: 48
Registered: July 2009
Member
perhaps draw2D could be of help (you don't need to impliment GEF if you
just want to draw)


Stefan Langer wrote:
> Sorry for the short answer but I had (have) the same problem and am a
> little frustrated. :(
> There is no GlassPane since not all platforms provide the functionality
> nessecary. If I have some time I want to check if a glasspane can be
> emulated by using a canvas with no background and some special layout
> managers but I haven't gotten around to it yet and having a lot of other
> probs that have priority.
> So if you find a Solution please post it.
>
> Regards
> Stefan
>
> Stefan Langer wrote:
>
>> No!
>>
>> Stephen wrote:
>>
>>> Is there a container in SWT like GlassPane in Swing?
>>>
>>> --
>>> Stephen
>>>
Re: GlassPane? [message #465696 is a reply to message #465681] Mon, 19 December 2005 20:43 Go to previous message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
Do a cvs checkout :pserver:anonymous@cvs.sourceforge.net:/cvsroot/swingwt and grab swingwtx.swing.JGlassPane I haven't tested it myself by Robin's pretty stingy about contributions to SwingWT working consistantly and he hasn't mentioned any problems with the JGlassPane implementation. You can use the class itself in an SWT app but it's tricky. I recomend just scraping the source for what you need and then using the concepts to build your own. If you build a generic implementation, could you post it? Once in a while I run across this (though not often enough to do something about it). ;-)
Previous Topic:selection/deselection event
Next Topic:shell visible event
Goto Forum:
  


Current Time: Sat Dec 14 16:50:34 GMT 2024

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

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

Back to the top