I am trying to Create a JFrame which holds five buttons with the nam.docx

This preview shows page 1 - 3 out of 5 pages.

I am trying to Create a JFrame which holds five buttons with the names of five different fonts. ������������������������ I ������������������������� am also to include a 6th button that when the user clicks will make the font larger or smaller. Then I am to display a demonstration JLabel using the font and size that the user selects. Save the file as JFontSelector.java. This has been answered 2 times but neither have included the sixth button which is required. This is the code I have written so far. I am stuck at this point and can use some help to finish this code. Please explain the steps if at all possible. Please do not just paste the code that has already been written on Chegg. import javax.swing.*; import java.awt.*; import java.awt.event.*; public class JFontSelector extends JFrame implements ActionListener { JButton button1 = new JButton("Arial"); ��� JButton button2 = new JButton("Calibri"); ���

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture