Assignment6/~$signment6.docx Assignment6/Assignment6.docx Assignment #6 Important: This is an individual assignment. Please do not collaborate. No late assignment will be accepted. Make sure that you write every line of your code. Using code written by someone else will be considered a violation of the academic integrity and will result in a report to the Dean's office. Requirements to get full credits in Documentation 1. The assignment number, your name, student ID, lecture number, and a class/file description need to be included at the top of each file/class. 2. A description of each method is also needed. 3. Some additional comments inside of methods to explain code that are hard to follow should be written. You can look at the Java programs in the text book to see how comments are added to programs. Minimal Submitted Files You are required, but not limited, to turn in the following source files: Assignment6.java (The Assignment6 class extends JApplet) Project.java Budget.javaCreatePanel.java - to be completed (it extends JPanel and contains ButtonListener nested class) ProjectSpendingPanel.java - to be completed (it extends JPanel and contains ButtonListener nested class) You can download the above files and use them to complete this assignment. You might need to add more methods than the specified ones. Skills to be Applied: Swing/AWT, Vector (very similar to ArrayList class) Classes may be needed: JApplet, JButton, JTextField, JTextArea, JLabel, Container, JPanel, JTabbedPane, JList, and ActionListener. You may use other classes. How to run an applet program: -Create an html file, say "hw6.html" with the following content: -------------------------------------------------------- <html> <head> <title>Assignment 6 Applet</title> </head> <body> <applet code="Assignment6.class" width=900 height=350> </applet> </body> </html> ------------------------------------------------------ -Compile your java program as usual. -In a console, type: appletviewer hw6.html (instead of typing "java Assignment6"). -In the TextPad, choose Tool->Run Java Applet or press Ctrl-3 (press control key and 3 at the same time). -In the jGrasp, choose Run->Run as Applet. To test to see if your machine is set to view an applet, please go to the following site: Click this page Program Description Suggested Class Diagram: Write a Java program that constructs an Applet. Your program should provide labels and textfields to a user to enter information regarding projects. The Applet (JApplet) of your program should contain two tabs. The first tab is labeled "Project creation" and the second tab is labeled "Project spending". (The size of the applet here is approximately 900 X 350). The section under the first tab should be divided into two parts: The left part contains labels, textfields, and a button for a user to enter some project information. The right part shows "No project" at the beginning (it is done usingJTextArea). A user can enter some project ...