Test case if (argv.length == 0) throw new IllegalArgumentException( "Usage: SimpleHelpTest helpFile"); JFrame jf = new SimpleHelp("TESTING", argv[0]); jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); jf.setVisible(true);
if (argv.length == 0) throw new IllegalArgumentException( "Usage: SimpleHelpTest helpFile"); JFrame jf = new SimpleHelp("TESTING", argv[0]); jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); jf.setVisible(true);