I'm having a problem with Canvas3D since installing Java 1.4 ( j2sdk1.4.0).
I get a Java3D error message box:
  "Fail to create back buffer - DDERR_INALIDPARAMS"
When I hit OK, sometimes the Canvas3D renders, sometimes it doesn't.
The Canvas3D is being rendered in a JinternalFrame which is within a
JDesktopPane. See the code fragment below:

// ---------------------- Initialization -----------------------------------
public class MainFrame extends javax.swing.Jframe {
  public MainFrame() {
    jDesktopPane1 = new javax.swing.JDesktopPane();
    viewFrame = new javax.swing.JInternalFrame();
    viewFrame.setVisible(true);
    viewFrame.setNormalBounds(new java.awt.Rectangle(10, 10, 560, 500));
    jDesktopPane1.add(viewFrame, javax.swing.JLayeredPane.DEFAULT_LAYER);
    viewFrame.setBounds(10, 10, 560, 500);
    getContentPane().add(jDesktopPane1, java.awt.BorderLayout.CENTER);
    pack();
    java.awt.Container cp = viewFrame.getContentPane();
    cp.setLayout(new java.awt.BorderLayout());
    cp.add(ViewCanvas.getReference(), java.awt.BorderLayout.CENTER);
  }
}

===========================================================================
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".

Reply via email to