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 class, resulting in a heavyweight component. Heavyweight components execute native code. The tight coupling of the 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 ...

Get JavaBeans Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.