For this assignment, you will create a simple GUI that looks something like the following.
Required Classes
The class that contains the main method should be named LayoutPractice.java so
GUI Elements
There should be at least a composite layout, and two customized JPanels.
The minimum required elements of the GUI are:
- A large panel on which a custom image is painted. This doesn't have to be very complicated, but should involve ore than one shape and more than one color.
- A button that triggers a dialog to be displayed. The dialog should display a message informing the user of how many times the button was clicked.
- A label that displays how many times the button was clicked.