Hola Aitor,
aqui tienes el fichero con el ejemplo.
Ya me contaras si te funciona.
- Original Message -
From: "Illarramendi Amilibia, Aitor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 28, 2001 3:32 PM
Subject: Re: [JAVA3D] Java3D and
las
prisas.
Un saludo.
-Original Message-
From: Borja Marcos Suárez [mailto:[EMAIL PROTECTED]]
Sent: lunes 28 de mayo de 2001 12:36
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Java3D and Swing..
Hola Aitor,
yo utilizo también JMenus de Swing y componentes pesados. La forma en que lo
Hola Aitor,
yo utilizo también JMenus de Swing y componentes pesados. La forma en que lo utilizo
es distinta a como lo haces tu.
No me he parado mucho a mirar tu código, pero creo que no te hace falta crear el
JPopupMenu.
1.- Crea los menus como si el problema entre componentes pesados y lig
setEnabled(true);
if(CManejadorDominio.getInstancia().getEstado()==CManejadorDominio.PLAN_CARG
ADO)
smSalvar.setEnabled(true);
else
smSalvar.setEnabled(false);
break;
default:
smNuevo.setEnabled(false);
smAbrir.setEnabled(false);
sm
hi,
this is the heavyweight/lightweight problem discussed here many times. their is a FAQ
at j3d.org and it is discussed in detail in the swing book of David M. Leary.
Try to add a java.awt.Panel as a container into your layout. then put/remove the
canvas3d into/from the panel via menu.
Gernot
Hi Simone:
Yes Java 3D works with Swing. I have both of them in my application.
Create a Canvas3D and put it inside a JPanel.
There are many examples on Sun's website with them together.
Cheers,
Mona
> I am programming an application where I have a menu built with Swing. In
>
The only issue I have come up against is with the SWING JMenu. Because the
SWING components are lightweight and the Canvas3D inherits from the
heavyweight AWT Canvas, the lightweight menu will appear underneath the
Canvas3D...is this what you mean? I believe the team are trying to find a
resolutio
Hello J.D.
Thanks by attention.
Simone.
Ehlo Simone
>
> On Thu, 24 May 2001, simone wrote:
>
> > Hi All,
> > Universe in
> > Java3D. However this Universe always open outside my application instead
> >
> > of openning inside the screen.
> I think you're forgeting to add the Canvas3D in the
>
Ehlo Simone
On Thu, 24 May 2001, simone wrote:
> Hi All,
> Universe in
> Java3D. However this Universe always open outside my application instead
>
> of openning inside the screen.
I think you're forgeting to add the Canvas3D in the
constructor. (Instead of calling
SimpleUniverse myUniverse = n
Im using java 3d and swing and it works nice.
Read the faq about this, http://www.j3d.org/faq/swing.html
regards
--
Borja Marcos Suárez
mail: [EMAIL PROTECTED]
icq: 41472800
msn: [EMAIL PROTECTED]
Java 3D Spanish Group - http://lapagina.d
It works.
Hai Ning wrote:
> does anyone know if Java3D works with Swing? it seems
> i can not add canvas3D to a Swing panel.
> any thought?
>
> thanks.
>
> -Hai
>
> ===
> To unsubscribe, send email to [EMAIL PROTECTED] and i
thanks for all response.
now i got it working. but for some reason, the canvas3D object
seems to suppress other components. when i lanuch the program,
only the canvas3D shows up. i have to force the JFrame
to be redrawn (cover the window with another one, then bring it
back to front) to make othe
Re: [JAVA3D] Java3D and Swing
>There is problems adding heavyweight components to lightweight containers.
>
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-
There is problems adding heavyweight components to lightweight containers.
Hai Ning wrote:
> does anyone know if Java3D works with Swing? it seems
> i can not add canvas3D to a Swing panel.
> any thought?
>
> thanks.
>
> -Hai
>
> ==
Hai Ning,
Yes, Java 3D and Swing works quite nicely. I teach Java 3D for UCLA Continuing
Education (Extension) and I used it for some of my demo's of Java 3D's
capabilities.
I can send you some samples if you're interested.
Mitch
Hai Ning wrote:
> does anyone know if Java3D works with Swin
Hai Ning wrote:
>
> does anyone know if Java3D works with Swing? it seems
> i can not add canvas3D to a Swing panel.
> any thought?
>
> thanks.
>
> -Hai
>
Hi Hai,
yes, you can incorporate Java3D and Swing. You can
definitely extend JFrame to hold a 3DCanvas.
Best regards
Joerg
16 matches
Mail list logo