A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
Using Vector2d in applet
Joined: Sep 02, 2004
Sep 07, 2005 09:06:00
I want to use Vector2D in an
. What do I need to install to get access to it, and how do I set the classpath variable to utilize it?
I know I need to import javax.vecmath.*;
but this fails with javac it says "does not exist"
Thanks for any pointers
(And on a related note...
- If I use this, can I distribute my applet and will it run everywhere? If so, does it "link in" the utilized vector2d code, and how does this work?)
Joined: Aug 10, 2005
Sep 07, 2005 16:53:00
Do you know what package the Vector2D class is in? I don't see it in the
1.5 API doc.
Where are you reading the API doc on how to use this class? Does it say what jar files or ?? you need to be able to use it?
When you find the jar file with that class you will have to include it in the classpath to compile and also to execute your program.
Joined: Mar 22, 2005
Sep 08, 2005 10:11:00
The classes are in a file called "vecmath.jar", which comes as part of Java3D.
Java web charts
I agree. Here's the link:
- it saves me about five hours per week
subject: Using Vector2d in applet
applet and application
Prayer to math gods: finding the angle of two vectors
How to approach my setters
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013