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

Get JavaBeans Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.