Create a header with the words Investment Analysis for the applet. This header must use a different font and a different point size from the rest of your text components. Place appropriate directions in the applet window to inform the user what he/she must do to use the applet. Make sure each JTextField object for data entry has a descriptive label immediately to its left. Each "slice" of the pie chart must be a different color. Make sure that all the pieces of the pie add up to a full pie (100% or 360 degrees of the circle). There should be no gaps between the pieces of the pie. You can determine the size of each piece of the pie by dividing the respective amount invested by the total amount invested. For example, $100 is invested in the high risk (red) category, $200 in the medium risk (green) category, $300 in the low risk (yellow) category, and $400 in the no risk (blue) category for the chart above. The high risk piece of the pie can be calculated as 100 divided by (100 + 200 + 300 + 400) or 100 / 1000 or 10%. Therefore the high risk (red) piece of the pie is 10% of the total pie. Add a legend to the chart that identifies which color represents each of the four risk categories. One way to do this is to have the color of the descriptive label and the color of the dollar amount match the color of the pie slice it represents. You may also have a separate legend in the applet window that has four rectangles. Each rectangle would be filled with a color from the pie chart. Add a label for each rectangle indicating whether the color it displays is for no risk, low risk, medium risk, or high risk. Your legend must make use of different colors as in these examples. The height and width parameters of the html APPLET tag "fix" the size of applet. Use the FlowLayout to automatically position the Swing components. With these in place, hard code the placement of the pie chart so that it doesn't overlap the Swing components. (The advanced Java class shows you a better way to prevent the Swing components and the graphics from overlapping.) Test your applet with a variety of dollar amounts for the various risk categories. The user must be able to enter dollars (integers). There is no need to enter cents. Make sure your applet and graph still displays appropriately after the window is minimized and then restored. Do not display the legend or any part of the pie chart before the user hits the enter key from the fourth JTextField object the first time. You may want to use an array to manage the 4 JTextfield components and the 4 JLabel components for the dollar amounts. However using an array is not required.