Hey guys,

my first post! Anyway, I'm a CS major and I've been given a project
that requires a target that can be dragged (already created) and in
the center of that target each time the mouse is clicked a set of
points for a line is created, the second click creates the first line,
and the third click creates a triangle from the ends of the first
line.

I am not sure if I should create a vector of lines, or if just a loop
would work. The point of the project is to create a triangle and
calculate the area of the triangle, perimeter of the triangle, how
many triangles you have created, and the average area.

Each triangle needs to have a center referenced in a text box, I'm
also not to positive how to go about this. I've read all the necessary
chapters in the programming textbook but I still can't figure it out.

Thank you in advance for your help!

-new to java

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to