Directions:

Open the ch06_ex1_Invoice project. Take a screenshot after youopen NetBeans and paste it into a Word or Word processingapplication and save it as “LastName_Assignment01”.

Test the Invoice Application with an invalid total like $1000and include the dollar sign. This should cause the application tocrash with a runtime error and to display an error message in theOutput window. Take a screenshot of the error message and paste itinto your assignment.

Study the error message and note the line number in thestatement in the InvoiceApp class that caused the crash. Then clickon the link to that line of the code. This should open theInvoiceApp.java file in the code editor and highlight the line ofcode that caused the crash and take a screenshot and paste it intoyour Word document.

Figure out why the application crashed because you entered inthe $1000 and describe how it can be fixed in your assignment.