Serialized Form
serialVersionUID: 3146658262761657524L
chatCounter
int chatCounter
- Counts the number of chat tabs that have been opened.
main
MainPane main
- The main tab: either a prompt to fill in a username,
or a list of currently online users.
conversations
java.util.HashMap<K,V> conversations
- Conversation tabs: either a prompt to accept/reject an
invite, or information about the chat in progress.
Hashed according to conversation ID.
model
ClientModel model
- The ClientModel connected to this ClientView.
tabs
javax.swing.JTabbedPane tabs
- The JTabbedPane inside this JFrame, containing all tabs.
|
Class main.Client extends javax.swing.JFrame implements Serializable |
serialVersionUID: 1L
submit
javax.swing.JButton submit
- Start a GUI chat client. Asks for the IP address and the port.
ipaddr
javax.swing.JTextField ipaddr
ipaddrlabel
javax.swing.JLabel ipaddrlabel
message
javax.swing.JLabel message