package studentCode; import java.awt.Color; import GridTools.MyGrid; public class FlagMaker { /* Draws a single flag as indicated by the second parameter */ /* into the grid passed as the first parameter */ public static void drawFlag(MyGrid grid, int countryCode) { int width = grid.getWd(); int height = grid.getHt(); System.out.println("Width: " + width); System.out.println("Height: " + height); grid.setColor(0, 0, Color.RED); grid.setColor(0, width-1, Color.BLUE); grid.setColor(height-1, 0, Color.ORANGE); } }