Create an application in NetBeans that lets the userenter a grocery list.
The GUI
- Allow the user to add an item by entering an item in the Itemtext field and clicking the Add button.
- If the user clicks the Add button without entering an item inthe Item text field, display a dialog box that describes theproblem and don’t add an item to the list.
- Allow the user to remove one or more items by selecting one ormore items and clicking the Remove button.
- If the user clicks the Remove button without selecting
OROR