wood burning stoves*
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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Need help with triangle drawing applet