• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • Devaka Cooray
Saloon Keepers:
  • Ganesh Patekar
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • salvin francis
Bartenders:
  • Ron McLeod
  • Frits Walraven
  • Pete Letkeman

Help me print out a triangle  RSS feed

 
Greenhorn
Posts: 7
  • 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:

 
Bartender
Posts: 5167
11
Java Netbeans IDE Opera
  • 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
  • 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?
 
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 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
  • 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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's an example of triangle drawing here.
 
Rob Stevens
Greenhorn
Posts: 7
  • 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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 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
  • 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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!