Home arrow static arrow Java Programming [Archive] - Draw a line by given 2 points
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - Draw a line by given 2 points
This topic has 1 reply on 1 page.

Posts:2
Registered: 7/20/04
Draw a line by given 2 points  
Jul 20, 2004 1:43 AM



 
Hey everyone.
I have a question. I need to draw an arrow. The only thing that I have are two points with certain coordinates. It would not be so hard if I did not have to worry about the angle but what if the line is not horizontal? How do I draw it? Thanks!
 

Posts:24,036
Registered: 2/3/03
Re: Draw a line by given 2 points  
Jul 20, 2004 5:48 AM (reply 1 of 1)



 
Interesting - are you guys in the same class?

http://forum.java.sun.com/thread.jsp?forum=31&thread=409340&tstart=0&trange=100
 
This topic has 1 reply on 1 page.