import javax.swing.JFrame; /** This program tests the InvestmentFrame. */ public class InvestmentFrameViewer { public static void main(String[] args) { JFrame frame = new InvestmentFrame(); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.setVisible(true); } }