1. Write an application that extends JPanel and displays a phrase in every font size from 6 through 20. Save the file as JFontSizesPanel.java.
2. a.Write an application that extends JPanel and displays a phrase in a large font. Each time the user clicks a JButton, display the same phrase in a different color, a little further to the right, and in a slightly smaller font. Allow only three clicks. Save the file as JChangeSizeAndColorPanel.java.
b.Modify the JChangeSizeAndColorPanel application so that it continuously changes the size, color, and location of a phrase as long as the user continues to click the button. Save the application as JChangeSizeAndColorPanel2.java.
3. Write an application that extends JPanel and displays a phrase. Each time the user clicks a button, alternate between displaying the phrase upside down and right-side up. Save the application as JUpsideDownPanel.java.
Instead of three programs, make a few changes to ONE program that includes everything:
1. When the user clicks the button the phrase will display upside down or right-side up (alternate)
2. Only allow the user to click the button FOUR times. After this, disable the button.
3. Change the color each time the button is clicked (only 4 colors are needed).
4. Change the font size each time the button is clicked (only 4 sizes needed).
*Example, the user clicks the button- it should flip upside-down, change color and change font size.