Women in Technology

Hear us Roar



Article:
  Playing Movies in a Java 3D World, Part 2:
Subject:   Java 3D and Swing
Date:   2005-06-09 11:36:55
From:   Droid
Great Article Andrew. I'm wondering (I'm a little confused on this matter) if one can create Java 3D scenes, similar to your checkerboard scene in a Swing container such as a JPanel. Or does Java 3D lean more toward using AWT? Does your book offer detail on Swing with Java 3D (if it is indeed possible)?


Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • Andrew Davison photo Java 3D and Swing
    2005-06-15 18:32:55  Andrew Davison | O'Reilly Author [View]

    Java 3D's top-level drawing panel, Canvas3D, is a heavyweight component, so you have to be a little bit careful how you integrate it with Swing, but it's doable. In fact, all my examples put the Canvas3D object inside a JPanel.



    The Loader3D example in Chapter 16 uses a more complicated Swing interface alongside Canvas3D.



    - Andrew