Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

java shapes  RSS feed

 
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: 53749
127
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!