top.show();
top.setVisible(true);
    public static void main(String[] args) {        byte[] content = new byte[0];        org.owasp.webscarab.model.Response response = new org.owasp.webscarab.model.Response();        try {            String resp = "/home/rogan/workspace/webscarab/test/data/index-resp";            if (args.length == 1) {                resp = args[0];            }            java.io.FileInputStream fis = new java.io.FileInputStream(resp);            response.read(fis);        } catch (Exception e) {            e.printStackTrace();            System.exit(0);        }                javax.swing.JFrame top = new javax.swing.JFrame("Message Pane");        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);            }        });                javax.swing.JButton button = new javax.swing.JButton("GET");        final MessagePanel mp = new MessagePanel();        top.getContentPane().add(mp);        top.getContentPane().add(button, java.awt.BorderLayout.SOUTH);        button.addActionListener(new java.awt.event.ActionListener() {            public void actionPerformed(java.awt.event.ActionEvent evt) {                System.out.println(mp.getMessage());            }        });        // top.setBounds(100,100,600,400);        top.pack();        top.show();        try {            mp.setEditable(true);            mp.setMessage(response);        } catch (Exception e) {            e.printStackTrace();        }    }