In this project you are going to use Java's Swing classes to build a simple GUI for
encoding
messages using a Caesar cipher. Your program should do all input and
output using Swing components. There should be a text box for the user
to enter a message, a separate text box where the user sees the encoded
message, and a third box where the user can enter a shift to determine
how to encode the message. In my example I use a menu (JMenu) where
the user can choose the shift.
Main.
JTextArea for the input and output areas. The output area should
not be editable.
JTextArea. Same thing for setting the background of the
text areas to different colors.
JMenu to present the user with a
list of Caesar shift options.
Enter a message to encode.
When the user clicks in the area the message should disappear. Subsequent clicks in the
area should leave the message in the input area untouched.
HW4.