Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a new Exception called Date212Exception. The constructor of Date212 should throw this exception if an invalid date is read from the file. A valid

Create a new Exception called Date212Exception. The constructor of Date212 should throw this exception if an invalid date is read from the file. A valid date should be 8 digits with a month between 1 and 12 and a day that is valid for the month (dont worry about leap years for February). If this exception is thrown, the invalid date and the message from the exception should be printed to the console.

Add a second menu to the GUI called Edit which will have one menu item called Insert. Clicking on insert should prompt the user using a JOptionPane input dialog to enter a new date in the same format as is read from the input file. The new date, if valid, should be displayed in the unsorted and sorted text areas of the GUI. If the date is invalid it should be printed to the console. You will need to write a second menu handler called EditMenuHandler.

Create a jar file called Project3.jar and submit that to Blackboard by the due date for full credit.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago