Write a GUI application for java for the WebBuy Company that allows a user to compose the three parts of a complete email message: the "To:", "Subject:" and "Message:" text. The "To:", and "Subject:" Text areas should provide a single line for data entry. The "Message:" area should allow multiple lines of input and be able to scroll if necessary to accommodate a long message. The user clicks a button to send the email message.
When the application starts, the text area will display a message listing the options which can be selected. As the user selects and deselects options, the proper additions to that message will be made. Provide a simple error checking to prevent sending and empty message mail.