Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java shapes

 
hadeel marghlany
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a homework to draw a circle, triangle, oval, hexagon, pentagon, octagon, square in java netbeans
but i have no idea how to use there functions or librarys please can you give me good links that can get me started
 
Campbell Ritchie
Sheriff
Posts: 48921
58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I trust you are familiar with the Java Tutorials. There will be a section about what you need. Also look at the methods of the Graphics and Graphics2D classes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic