What is the java code for an applet to make a picture? Would love your creations
Author |
Message |
tristan
|
Posted: Mon Jun 14, 2010 10:38 am Post subject: What is the java code for an applet to make a picture? Would love your creations |
|
|
|
|
|
|
|
|
Sponsor Sponsor
|
|
|
USEC_OFFICER
|
Posted: Mon Jun 14, 2010 11:56 am Post subject: RE:What is the java code for an applet to make a picture? Would love your creations |
|
|
It would be nice if you explained more in your post. |
|
|
|
|
|
andrew.
|
Posted: Mon Jun 14, 2010 6:14 pm Post subject: RE:What is the java code for an applet to make a picture? Would love your creations |
|
|
Well, an Applet in Java has a method called paint. Basically, that method is automatically called once during the initialization (I believe). You can use the Graphics library to draw different things like shapes, lines, and text.
Applet Documentation
Graphics Documentation
There are many many examples on Google. |
|
|
|
|
|
|
|