Yoosuf
Yoosuf

Reputation: 892

Using 3D designs in java

I am currently trying to practice 3D program designs in java, but unfortunately when I try to import the following packages, it gives says that the package does not exist.

import com.sun.j3d.utils.geometry.ColorCube;

import javax.media.j3d.BranchGroup;

import com.sun.j3d.utils.universe.SimpleUniverse;

Could anyone help me to resolve this problem?

Upvotes: 1

Views: 494

Answers (1)

Bart Kiers
Bart Kiers

Reputation: 170308

The 3D API is not part of the standard API. You'll need to download and install it before using classes from it in your code.

See: http://java.sun.com/javase/technologies/desktop/java3d/index.jsp

Upvotes: 1

Related Questions