You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@pivot.apache.org by Jérôme Serré <je...@gmail.com> on 2010/05/12 10:03:22 UTC

java.awt.Component & org.apache.pivot.wtk.Component

Hello,

 

I would like to add in a BoxPane a component from java.awt.Component.

Is it possible and if yes could you tell me how ?

 

Thanks

 

__

Cordialement

Jérôme Serré

 



RE: java.awt.Component & org.apache.pivot.wtk.Component

Posted by Jérôme Serré <je...@gmail.com>.
Ok thank you.

-----Message d'origine-----
De : Greg Brown [mailto:gkbrown@mac.com] 
Envoyé : mercredi 12 mai 2010 23:49
À : user@pivot.apache.org
Objet : Re: java.awt.Component & org.apache.pivot.wtk.Component

Hi Jérôme,
It is not currently possible to embed an AWT component in a Pivot container.
You may be able to address your use case by adding the AWT component to the
host frame or applet. Alternatively, you could display it in a separate
window that floats over your Pivot app.
Greg

On May 12, 2010, at 4:03 AM, Jérôme Serré wrote:

> Hello,
> 
> 
> 
> I would like to add in a BoxPane a component from java.awt.Component.
> 
> Is it possible and if yes could you tell me how ?
> 
> 
> 
> Thanks
> 
> 
> 
> __
> 
> Cordialement
> 
> Jérôme Serré
> 
> 
> 
> 


Re: java.awt.Component & org.apache.pivot.wtk.Component

Posted by Greg Brown <gk...@mac.com>.
Hi Jérôme,
It is not currently possible to embed an AWT component in a Pivot container. You may be able to address your use case by adding the AWT component to the host frame or applet. Alternatively, you could display it in a separate window that floats over your Pivot app.
Greg

On May 12, 2010, at 4:03 AM, Jérôme Serré wrote:

> Hello,
> 
> 
> 
> I would like to add in a BoxPane a component from java.awt.Component.
> 
> Is it possible and if yes could you tell me how ?
> 
> 
> 
> Thanks
> 
> 
> 
> __
> 
> Cordialement
> 
> Jérôme Serré
> 
> 
> 
>