Question
$10.00 Java graphics question
- From Computer-Science: General-CS , Computer-Science: Computer-Graphics
- Closed, but you can still post tutorials
- Due on Oct. 31, 2010
- Asked on Oct 28, 2010 at 2:42:03PM
Q:
Hello,
I am new to learning Java and I have a graphics program that I don't know how to do. I have attached the appropriate word document with the java question below. Thank you for your time and help.
John
java drawing basics tutorial
- This tutorial hasn't been purchased yet.
- Posted on Oct 28, 2010 at 3:08:22PM
A:
Preview: ... am will show a simple black line diagonally going across the canvas.
How to draw a rectangle:
The form will look similar except you will use drawRect (int,int,int,int) and the four values will stand for X1,Y1, width, and height (respectively)
So if you enter drawRect(10,10,100,100)
You will end up with a rectangle that is 10 pixels down from the top, 10 pixels from the left boundary, and it is 100 pixels wide and 100 pi ...
The full tutorial is about 364 words long .
Java graphics program with screenshot and comments
- This tutorial hasn't been purchased yet.
- Posted on Oct 28, 2010 at 11:23:37PM
Posted by :
