I'm back to dabbling with Java3D after several months of doing other stuff. In the past, I never really understood what made the Canvas3D stick to the JPanel.contentPane, I just got it working and used the same code for all subsequent projects. This time I attempted to start from scratch and organize things. I spent a good 2 hours trying to figure out how to get the thing to stay together. I finally came up with the following little ansatz:
/** Wrap up the Canvas3D in a JPanel with the Canvas3D in the CENTER of the BorderLayout. */ public static JPanel createUniversePanel() { JPanel panel = new JPanel(); panel.setLayout(new BorderLayout()); Canvas3D canvas = new Canvas3D(SimpleUniverse.getPreferredConfiguration()); panel.add(canvas); SimpleUniverse universe = new GSJCubeUniverse(canvas); return panel; } I've found several little anoyances similar to this in the Java3D SDK. I'm not skilled enough to fix this problem in the SDK, or I would have a go at doing so. If this package has a maintainer, perhaps he could look into making the basic display component behave a bit more like its related Java cousins. Little things like this probably prevent many programmers from really taking to Java3D. Steven =========================================================================== 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".