Draw an Irish Flag
Hi,
I would like to make an Applet that draws the Irish Flag it should fill the applet window at all times, whatever the size of the applet window. The three stripes should all be the same size as each other.
Shall i draw three different rectangles or..?
This what i have got at the moment what i think i should use:
import java.applet.Applet;
import java.awt.Color;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.Rectangle;
publicclass IrishFlagextends Applet
{
publicvoid paint(Graphics g)
{
Graphics2D g2 = (Graphics2D)g;
}
}
thanks for any pointers.

