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 Swing / AWT / SWT and the fly likes Drawing an image 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 » Swing / AWT / SWT
Bookmark "Drawing an image" Watch "Drawing an image" New topic
Author

Drawing an image

Iain Palmer
Ranch Hand

Joined: Jul 28, 2004
Posts: 56
I am writing a program that asks the user to input how many sides it has it then tells the user the shape, but i want to then draw the shape. I think I want to use the graphicsclas in the AWT package but am unsure how to go about it.
Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
Here's Sun's tutorial on 2D graphics: http://java.sun.com/docs/books/tutorial/2d/index.html


There is no emoticon for what I am feeling!
Iain Palmer
Ranch Hand

Joined: Jul 28, 2004
Posts: 56
Thanks I'll have a read of the tutorial and should be OK now

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Drawing an image
 
Similar Threads
How to parsing a shape file.
program correction
Shaping your Applet or Servlet
Shaping your Applet or Servlet
Instantiating a sub-class