Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » GlassPane?
GlassPane? [message #465676] Sun, 18 December 2005 20:11 Go to next message
Eclipse UserFriend
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 03:48 Go to previous messageGo to next message
Eclipse UserFriend
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 04:02 Go to previous messageGo to next message
Eclipse UserFriend
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 10:17 Go to previous messageGo to next message
Eclipse UserFriend
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 15:43 Go to previous message
Eclipse UserFriend
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: Fri Jul 11 20:46:01 EDT 2025

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

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

Back to the top