A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Swing / AWT / SWT
Author
Drawing an image
Iain Palmer
Ranch Hand
Joined: Jul 28, 2004
Posts: 56
posted
Dec 07, 2005 05:50:00
0
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
posted
Dec 07, 2005 06:06:00
0
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
posted
Dec 07, 2005 06:27:00
0
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
Instantiating a sub-class
Shaping your Applet or Servlet
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter