Class OrChatApp

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----com.supercede.forms.SuperCedeFrame
                                           |
                                           +----OrChatApp

public class OrChatApp
extends SuperCedeFrame
implements Serializable

Constructor Index

 o OrChatApp(String)

Method Index

 o button1MouseReleased(MouseEvent)
 o initConnection(String)
Initializes the ORB and connects to the server.
 o main(String[])
Create a new OrChatApp object, passing the first command-line argument into it (as a username).
 o orChatAppWindowClosed(WindowEvent)
 o orChatAppWindowClosing(WindowEvent)
 o sendMessage()
Send a message to the server.
 o SuperCedeWindowClosed(WindowEvent)
 o SuperCedeWindowClosing(WindowEvent)

Constructors

 o OrChatApp
 public OrChatApp(String username) throws IOException, ClassNotFoundException, ClassCastException, SuperCedeInvalidStateException

Methods

 o initConnection
 public void initConnection(String username)
Initializes the ORB and connects to the server.

 o sendMessage
 public void sendMessage()
Send a message to the server.

 o main
 public static void main(String args[])
Create a new OrChatApp object, passing the first command-line argument into it (as a username). Initialize the connection with the server by calling initConnection(args[0]) on the new object.

 o orChatAppWindowClosing
 public boolean orChatAppWindowClosing(WindowEvent arg0)
 o orChatAppWindowClosed
 public boolean orChatAppWindowClosed(WindowEvent arg0)
 o button1MouseReleased
 public void button1MouseReleased(MouseEvent arg0)
 o SuperCedeWindowClosing
 public void SuperCedeWindowClosing(WindowEvent arg0)
 o SuperCedeWindowClosed
 public void SuperCedeWindowClosed(WindowEvent arg0)