      1  import javax.swing.JFrame;

      2

      3  /**

      4     This program displays the growth of an investment.

      5  */

      6  public class InvestmentViewer4

      7  {

      8     public static void main(String[] args)

      9     {

     10        JFrame frame = new InvestmentFrame();

     11        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

     12        frame.setVisible(true);

     13     }

     14  }