Write an application that creates a substitution code. You will need a text area in the center of the screen that cannot be edited. The text area will display the code, using a format like A->C, B->Q, C->F, . . . . This means that A would be replaced by C, B would be replaced by Q, C would be replaced by F, and so on. The code will be generated one letter at a time, starting with A and ending with Z. You will have 26 buttons, each labeled with a letter of the alphabet. The first button pressed indicates the letter to be substituted for A, the second button pressed indicates the letter to be substituted for B, and so forth. For example, to create the previous substitution code, you would press the buttons C, Q, F, and so on. As each button is pressed, add the code to the text area and make

What will be an ideal response?


See the code in Exercise9.java, CodeWindow.java.

Computer Science & Information Technology

You might also like to view...

The ____ button in the Page Properties dialog box allows you to see changes that you have made to a page without having to close the dialog box.

A. Preview B. Display C. View D. Apply

Computer Science & Information Technology

The following style is valid:img {float: leftmargin: 0 10px 10px 0;}

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

All Office programs have similar commands on the ____ tab for changing the document view.

A. View B. Locate C. Display D. File

Computer Science & Information Technology

In order to set the current layout, the property must be displayed in gray italics instead of black text.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology