O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Java 3D

When you use Java 3D in your beans, the object composing the area that displays three-dimensional graphics must be instantiated from the javax.media.j3d.Canvas3D class, resulting in a heavyweight component. Heavyweight components execute native code. The tight coupling of the javax.media.j3d.Canvas3D class with native code allows optimization of the computationally expensive rendering of three-dimensional graphics. 3D graphics created using Java 3D can be impressively fast.

The down side of the Java 3D API's reliance on native code is that each computer platform needs its own implementation of Java 3D. In fact, sometimes there are different Java 3D implementations for the same platform. For instance, on Windows platforms, you might ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required