All these graphic elements including text were created by using methods in the Graphics class to "draw" to the applet window.
With the exception of the two labels used on the applet's title,
no Java controls were used.
The elements drawn were:
- (1) A gradient that uses the graphics method to draw lines varing the intensity of the green component
- (2) Two rectangles, one empty one filled
- (3) Three rounded rectangles, the last one with same width and height values for rectangle and borders
- (4) Two 3D rectangles, second one is filled
- (5) A line drawn from point (10,115) to (270,180)
- (6) A polygon
- (7) A polygon used to draw a "thick" line
- (8) An oval
- (9) A filled arc
- (10) A copy area of the
rectangle defined at (275,25) with an area (100,50) at (250,0) pixels from the
rectangle's origin
The source code for this applet can be fount at:
https://www.angelfire.com/nc/gayosso/java/graphics/graphic.java
Developed by: Lucio Gayosso. August, 2000.
Email: l_gayosso@hotmail.com
Home
Background music: Yngwie Malmsteen's "Crying"