title: how to change font size of JOptionPane
body: <pre><code>import java.awt.ComponentOrientation;
  
  import javax.swing.JFrame;
  import javax.swing.JLabel;
  import javax.swing.JList;
  import javax.swing.JOptionPane;
  import javax.swing.JScrollPane;
  
  public class trial2 
  {   
  public static void main(String[] args) 
  {
      String[] option = {"Chorita M. Adlawan", "Noel B. Angeles", "Julie P. Benenoso", "Percival P.Bermas", 
              "Beverly Mae M. Brebante","Adela N. Cabaylo", "Carol G. Cainglet", "Oscar U. Cainglet", 
  
      String selected = (String)JOptionPane.showInputDialog(null, "MINES AND GEOSCIENCES BUREAU - REGION XI, DAVAO CITY\n" +
              "                         LIST OF REGISTERED EMPLOYEES", 
              "Please Select Employee",JOptionPane.DEFAULT_OPTION, null, option , "Adlawan");     
  
  }
  }
  </code></pre>
  
  <p>Those are my codes above.  My question is, can i change the font size and style of my JOptionPane to make my list font larger, very much appreciated for any tip. Thanks.</p>