Assignment #6 CSI205 Assigned: 11/15/11 Due: 11/29/11 Assignment: Create a graphical user interface (GUI) named TurtleGUI for the Turtle class from assignment #4. The GUI will contain the following controls: - A drop down list that contains the commands that can be given to the Turtle: o Turn Left o Turn Right o Pen Up o Pen Down o Move 1 o Print Grid - An un-editable text box that always displays the Turtles current direction (up, down, left, right) - - An un-editable text box that displays the last command executed - A 20 x 20 text area that will display the results of Print Grid - Two buttons: OK and Exit. The GUI will operate as follows: All controls will display in the frame when an object is instantiated. The 1st text box will always display the Turtles current direction. When the user makes a selection from the drop down list and clicks OK, the Turtle executes the selected command and that command is displayed in the 2nd text box (for example, .Pen Up Command Executed.). The results of the Print Grid command prints the Turtle grid in the text area. Each time the Print Grid command is executed the text area is cleared and grid is reprinted. The application ends when the user clicks the Exit button. Notes: - Format your code neatly and comment your code. You should include your name and student ID in your comments - You should obtain a working copy of the Turtle.class from the class folder. - In addition to the handouts distributed in class, you can use web based resources for additional information regarding the JBotton, JComboBox, JTextField and JTextArea controls. (for example: http://www.java2s.com/Tutorial/Java/0240__Swing/UsingJTextArea.htm) - You may use the layout manager of your choice to arrange the controls in the frame. The controls should be arranged so that the dropdown list (JComboBox) is to the left of the text area, the text fields are located beneath these controls, and the buttons are centered at the bottom of the frame, beneath all other controls. - Submit your assignment with the following command: turnin-csi205 -c csi205 -p prog6 TurtleGUI.java