GRAPHICS! Kids, we're going to learn how to draw some stuff on the screen in a Java application. Download the following code file and get it to compile.
Answer any questions in comments at the top of
GraphicsDemo1.java
.
g.drawRect()
, there are four numbers. What
do they mean? Try changing them to figure it out.
fillOval()
? What do the four numbers mean here?
drawString()
?
©2013–2015 Graham Mitchell
This assignment is licensed under a
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.