Java 3D J3DTimer class and perf
I recently bought a book on java game programming. One of the first examples uses a class from the Java 3D library. The class is J3DTimer. I wrote the code exactly like the book, which imports J3DTimer. I'm using Eclipse as my IDE and as soon as I write the whole import statement, a red underline under the statement appears to indicate that J3DTimer has restricted access and cannot be imported.
I've checked around and it seems that J3DTimer is a deprecated class. I installed both Java 3D 1.3.1, which the book suggests to use, and Java 3D 1.5, the newest version. I still get the same error and can't compile the program nor can I access any of J3DTimer's methods.
Any suggestions in how to get the program to work would be most appreciated.
I give my thanks in advance for any advice, help, or suggestions.
EDIT: I forgot to mention that in the example in the book, an extra class is used that imports perf. The book says perf only runs on J2SE 1.4.2 I believe. Is this true?