top.show();
top.setVisible(true);
    public static void main(String[] args) {        final JFrame top = new JFrame("Response Panel");        top.getContentPane().setLayout(new java.awt.BorderLayout());        top.addWindowListener(new java.awt.event.WindowAdapter() {            public void windowClosing(java.awt.event.WindowEvent evt) {                System.exit(0);            }        });        final ResponsePanel rp = new ResponsePanel();        rp.setEditable(false);        top.getContentPane().add(rp);        top.setBounds(100,100,800,600);        top.show();        if (args.length == 0) {            JButton button = new JButton("NEXT");            final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));            top.getContentPane().add(button, java.awt.BorderLayout.SOUTH);            button.addActionListener(new java.awt.event.ActionListener() {                public void actionPerformed(java.awt.event.ActionEvent evt) {                    loadResponse(top, rp, br);                }            });            loadResponse(top, rp, br);        } else if (args.length == 1) {            loadResponse(top, rp, args[0]);        }    }