Part -1:
Create an application with a JFrame that:
Has 1 button labeledAdd
When the Add button is clicked, add apresident's nameto the frame
After adding 6 presidents add a label to the frame "Max number added"
Disable the Add button after 6 clicks
Save your file asJDemoPresidents.java
Part -2:
Create an application with a JFrame that:
Is setup like a phone (top row has 1,2,3 second row has 4,5, 6)
You will need 4 panels for the numbers (don't forget * and #)
You will need an additional panel for the display (bottom row)
Add a label to the 5th panel (this will be for the display)
When the user clicks on a button that number or */# will display in the label
Save the file asJDemoPhone.java