docs: public void fontSelection() {
          
          FontChooserPanel panel = new FontChooserPanel(textFont);
          int result
                  = JOptionPane.showConfirmDialog(
                          this, panel, "Font Selection",
                          JOptionPane.OK_CANCEL_OPTION, JOptionPane.PLAIN_MESSAGE
                  );
          
          if (result == JOptionPane.OK_OPTION) {
              textFont = panel.getSelectedFont();
              
          }
      }