File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help me print out a triangle

 
Rob Stevens
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so here is my code, i have to draw an entire scene but i figure if someone can show me how to add a triangle so that it prints out WITH the code provided, then i will be able to continue from there:

 
Darryl Burke
Bartender
Posts: 5115
11
Java Netbeans IDE Opera
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob, welcome to the Ranch! Please BeForthrightWhenCrossPostingToOtherSites
http://www.javaprogrammingforums.com/object-oriented-programming/5763-help-me-draw-triangle.html

Any more?
 
Rob Stevens
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darryl Burke wrote:Rob, welcome to the Ranch! Please BeForthrightWhenCrossPostingToOtherSites
http://www.javaprogrammingforums.com/object-oriented-programming/5763-help-me-draw-triangle.html

Any more?


Rob Stevens
Greenhorn

Joined: Oct 26, 2010
Posts: 1


well so far ive had 2 replys to this post on this website and neither have not been helpful... 1 being a private message and then you. does this website receive help or criticism?
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rob, Welcome to the ranch

Darryl's comment is not critism, but a reminder of one of our many rules. You're surely not aware of BeForthrightWhenCrossPostingToOtherSites, so please have a look at it. And don't forget the golden rule of the ranch : BeNice
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you tell us what this ACM library is ?
 
Rob Stevens
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Christophe Verré wrote:Can you tell us what this ACM library is ?


this was the link they gave me:

http://jtf.acm.org/acm.jar

i dont know exactly what it is but apparently it helps to animate the code
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's an example of triangle drawing here.
 
Rob Stevens
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Christophe Verré wrote:There's an example of triangle drawing here.


thanks for that. what im trying to get is though is that i just want to be able to add code to my existing code and have it print out... weither it be a triangle or circle i dont care, i just need to understand how to add a shape to what i already have
 
Christophe Verré
Sheriff
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry Rob, I don't understand your problem. You've already made a body and wheels. So I can't understand why you cannot make other shapes as well. What is blocking you from progressing ?
 
Rob Stevens
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Christophe Verré wrote:Sorry Rob, I don't understand your problem. You've already made a body and wheels. So I can't understand why you cannot make other shapes as well. What is blocking you from progressing ?


i didnt understand how to implement other shapes into that code. i finished it though. its not pretty but it runs:



thanks for the help everyone
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic