This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Applets and the fly likes Need help with triangle drawing applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Need help with triangle drawing applet" Watch "Need help with triangle drawing applet" New topic
Author

Need help with triangle drawing applet

Justin Smythe
Greenhorn

Joined: Mar 30, 2005
Posts: 1
I have code for a right traingle that you can input information and it gives back the rest and now I need to make it so that it will draw the triangle at the end, how can I do this?
here's the code: Yes, it's long
Craig Wood
Ranch Hand

Joined: Jan 14, 2004
Posts: 1535
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2367
You can also use drawPolygon
 
 
subject: Need help with triangle drawing applet
 
Similar Threads
Quadratic perplextion
how do i rotate a point from a center point??
Polygon Rotation
Losing double values in a Point[ ] array
Passing Obj Ref vs value and primitives