There was another question like that few weeks ago.
The solution was to set the LayoutManager of the JPanel.
//constructor JPanel
  super();
  setLayout(new BorderLayout()); //for example
  add(your Canvas3D);

Works fine.
Christian

"Yi Zhuang (Andy)" wrote:

> When I run Java3D Applet, I found Swing menu is covered by Canvas3D.
> Another problem is if I add Canvas3D to JPanel or JLabel, the Canvas3D
> totally disappears.
> How to use Java3D with Swing?
> Thanks
>
> Yi Zhuang
> ---------------------------------------
> Mechanical and Industrial Engineering
> University of Toronto
>
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/


=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to