The most often use the Graphics object is as a parameter to your paint, paintComponent or print method. You often cast the abstract Graphics to an actual Graphics2D object to access additional methods. Have a look at the Screws application to understand the basics of drawing.
| You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | |
| http://mindprod.com/jgloss/graphicsobject.html | J:\mindprod\jgloss\graphicsobject.html | |
![]() | ||
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view Blog | Your face IP:[38.107.191.101] | |
| Feedback | You are visitor number 12,692. | |