final javax.swing.JFrame top = new javax.swing.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) {
final JFrame top = new JFrame("Response Panel"); top.getContentPane().setLayout(new BorderLayout()); top.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent evt) {
    public static void main(String[] args) {        final javax.swing.JFrame top = new javax.swing.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 ConversationPanel cp = new ConversationPanel();        top.getContentPane().add(cp);        top.setBounds(100,100,800,600);        top.show();        if (args.length == 1) {            top.setTitle(args[0]);            loadConversation(cp, args[0]);        }    }