This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes java shapes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "java shapes" Watch "java shapes" New topic

java shapes

hadeel marghlany

Joined: Feb 21, 2013
Posts: 12
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

Joined: Oct 13, 2005
Posts: 38087
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.
I agree. Here's the link:
subject: java shapes
Similar Threads
Displaying BLOB image in a jsp page
Visual Age and Xerces parser
printing page in landscape without changing preferences.
Images in jar
Does Man have free will?