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
-
OrChatApp(String)
-
-
button1MouseReleased(MouseEvent)
-
-
initConnection(String)
- Initializes the ORB and connects to the server.
-
main(String[])
- Create a new OrChatApp object, passing the first command-line
argument into it (as a username).
-
orChatAppWindowClosed(WindowEvent)
-
-
orChatAppWindowClosing(WindowEvent)
-
-
sendMessage()
- Send a message to the server.
-
SuperCedeWindowClosed(WindowEvent)
-
-
SuperCedeWindowClosing(WindowEvent)
-
OrChatApp
public OrChatApp(String username) throws IOException, ClassNotFoundException, ClassCastException, SuperCedeInvalidStateException
initConnection
public void initConnection(String username)
- Initializes the ORB and connects to the server.
sendMessage
public void sendMessage()
- Send a message to the server.
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.
orChatAppWindowClosing
public boolean orChatAppWindowClosing(WindowEvent arg0)
orChatAppWindowClosed
public boolean orChatAppWindowClosed(WindowEvent arg0)
button1MouseReleased
public void button1MouseReleased(MouseEvent arg0)
SuperCedeWindowClosing
public void SuperCedeWindowClosing(WindowEvent arg0)
SuperCedeWindowClosed
public void SuperCedeWindowClosed(WindowEvent arg0)