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 Swing..
| Hola Borja:
|
| No sé sobre que jdk trabajas, pero yo al menos no encuentro ninguno
| de los métodos de paso de lightweight a heavyweight en componentes como
| JMenu, JMenuItem, etc.
|
| Es por eso que me decidí a usar JPopupMenu-s y hacerme mi menu desde
| ahí, al ver que se complicaba y al encontrar esta solución, fea pero rápida,
| la utilicé.
|
| Si eso déjame ver cómo implementas tú un menú, aunque si es con
| JMenu y JMenuItem o estoy muy atontado o no veo ni en la especificación de
| la API siquiera que estos componentes implementen esos métodos. Seguramente
| se me escapa algo con 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
| 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 ligeros
| no existiese.
| 2.- Haz una llamada a la funcion tuMenu.setLightWeightPopupEnabled(false);
|
| Para este paso 2 no necesitas que tu menu sea del tipo Popup.
|
| En todo caso si necesitas que te pase el código de los menus que yo tengo
| creados dimelo y sin ningun problema.
|
| Espero haberte servido de ayuda.
|
| ----------------------------------------------------------
| Borja Marcos Suárez
| mail: [EMAIL PROTECTED]
| icq: 41472800
| msn: [EMAIL PROTECTED]
|
| Java 3D Spanish Group - http://lapagina.de/java3d
| Lista de correo [EMAIL PROTECTED]
| ----------------------------------------------------------
|
| ===========================================================================
| To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
| of the message "signoff JAVA3D-INTEREST". For general help, send email to
| [EMAIL PROTECTED] and include in the body of the message "help".
|
| ===========================================================================
| To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
| of the message "signoff JAVA3D-INTEREST". For general help, send email to
| [EMAIL PROTECTED] and include in the body of the message "help".
|
MnuInterActua.java