Question: Write a program with six methods to draw six nautical flags. Your program must contain all six letter methods or it will not compile correctly.

 Write a program with six methods to draw six nautical flags.

Write a program with six methods to draw six nautical flags. Your program must contain all six letter methods or it will not compile correctly. You will need to download the NauticalFlags.jar file and tell jGRASP where to find it. You are to write a program using Java graphics to display nautical signal flags. I just need the written program, thanks.

Link to NauticalFlags.jar : https://drive.google.com/open?id=0Bx80GCImnDuWTC1KWDgydHdqVHc

COMP163 Nautical Flags Program You are to write a program using Java graphics to display nautical signal flags. NAUTICAL FLAG ALPHABET A BCDEF GHJK W XYZ There are 26 letter signal flags. Each flag is 150 by 150 pixels. You only have to implement the six letters I, J, K, P, U and X. The remaining letters have been implemented by your instructor. Your program must extend the abstract class NauticalFlags. public class MyFlags extends NauticalFlags public static void main (String[] unused) MyFlags prognew MyFlags create object of your program's class public void letterI (java.awt.Graphics page) call Graphics methods to draw the flag for the letter I public void letterJ java.awt.Graphics page) Il call Graphics methods to draw the flag for the letter J similarly for the letters K, P, U and X The methods must have the correct name You will need to download the NauticalFlags.jar file and save it some place where you can find it, such as your MyDocuments directory. In jGRASP, click on: Settings then PATH/CLASSPATH then Workspace then tab Class then tab Classpaths Click the New button and browse to the directory containing the jar file and select NauticalFlags.jar Press OK

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!