Need help on adding support for heavyweight components in looking glass!

View: New views
4 Messages — Rating Filter:   Alert me  

Need help on adding support for heavyweight components in looking glass!

by lg3d :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I need for lg3d to support heavyweight components such as awt.canvas. Is this even possible? and if so how do I do it??

If its not possible to do this in lg3d, is there anyway to "convert" a canvas to something else like a JPanel??

Is there a way to get Windows OS to paint on top/inside an lg3d window or something?

thanks for the help!!!
[Message sent by forum member 'djompe' (djompe)]

http://forums.java.net/jive/thread.jspa?messageID=327546

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Need help on adding support for heavyweight components in looking glass!

by William Tracy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jan 22, 2009 at 1:01 AM,  <lg3d@...> wrote:
> I need for lg3d to support heavyweight components such as awt.canvas. Is this even possible?
> and if so how do I do it??

Under Solaris and Linux, it's easy enough. :-)

> If its not possible to do this in lg3d, is there anyway to "convert" a canvas to something else like
> a JPanel??

A JPanel can do everything that a Canvas can (short of providing its
own BufferStrategy). What do you need, specifically?

--
William Tracy
afishionado@... -- wtracy@...
Vice President, Cal Poly Linux Users' Group
http://www.cplug.org

"I disapprove of what you say, but I will defend to the death your
right to say it."
    -- Evelyn Beatrice Hall, frequently mis-attributed to Voltaire

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...


Re: Need help on adding support for heavyweight components in looking glass!

by Brian Demers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think this is more of a generic question.  For example some native API's write directly to the Canvas.  So getting those in lg3d, has been a little more then difficult.

For example trying to use a Mozilla browser component inside a lg3d app. (the embeded component)


On Thu, Jan 22, 2009 at 11:08 AM, William Tracy <afishionado@...> wrote:
On Thu, Jan 22, 2009 at 1:01 AM,  <lg3d@...> wrote:
> I need for lg3d to support heavyweight components such as awt.canvas. Is this even possible?
> and if so how do I do it??

Under Solaris and Linux, it's easy enough. :-)

> If its not possible to do this in lg3d, is there anyway to "convert" a canvas to something else like
> a JPanel??

A JPanel can do everything that a Canvas can (short of providing its
own BufferStrategy). What do you need, specifically?

--
William Tracy
afishionado@... -- wtracy@...
Vice President, Cal Poly Linux Users' Group
http://www.cplug.org

"I disapprove of what you say, but I will defend to the death your
right to say it."
   -- Evelyn Beatrice Hall, frequently mis-attributed to Voltaire

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...



Re: Need help on adding support for heavyweight components in looking glass!

by William Tracy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jan 22, 2009 at 9:10 AM, Brian Demers <brian.demers@...> wrote:
> For example trying to use a Mozilla browser component inside a lg3d app.
> (the embeded component)

Ah.

I don't see that working on Windows, short of some major patches to lg3d.

--
William Tracy
afishionado@... -- wtracy@...
Vice President, Cal Poly Linux Users' Group
http://www.cplug.org

"I disapprove of what you say, but I will defend to the death your
right to say it."
    -- Evelyn Beatrice Hall, frequently mis-attributed to Voltaire

---------------------------------------------------------------------
To unsubscribe, e-mail: interest-unsubscribe@...
For additional commands, e-mail: interest-help@...