Activity 4 — Graphics primitives
If you want a Java program to draw a triangle (and triangle
is not a primitive method in the Graphics class), suggest two ways to do this using
primitive shapes. Test both your ideas using Java code.
The output from your applets should be similar to the
following:

Discussion of Activity 4
Back to Content
Back to top

RITSEC - Global Campus
Copyright ?1999 RITSEC- Middlesex University. All rights reserved.
webmaster@globalcampus.com.eg |