Write a Java Application that simulates Notepad on a very simple level.
Create an application that displays a frame and implements WindowListener.
The application should close when the Windows Close Button ("X") is clicked.
The program should have two Menus on a MenuBar with the following MenuItems: