public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            @Override
            public void run() {
                new ChatFrame();
            }
        });
    }
@param args the command line arguments
examples/chat/ChatFrame.java