G J M N P R S

G

getMySocket() - Method in class Netjunk.JawaGUI
This gets cSocket This is is a very simple little getter method that returns cSocket

J

JawaClient - class JawaClient.
Final Assessment for Henry Bush's Java Course This is the Client Part of a multi- threaded Networking Chat Program
JawaClient() - Constructor for class JawaClient
 
JawaGUI - class Netjunk.JawaGUI.
This is the GUI (Graphical User Interface).
JawaGUI() - Constructor for class Netjunk.JawaGUI
The Constructor This is where the GUI is actually built
JawaRecieve - class Netjunk.JawaRecieve.
The JawaReciever function - gets messages from the other part of the program This is a multi-thread thing, when called, it will start a new thread to pick up any messages from the Server
JawaRecieve(Socket, JawaGUI) - Constructor for class Netjunk.JawaRecieve
This is a constructor To tell the truth I am not completely sure what it does, but it dosn't seem to work without it.
JawaSend - class Netjunk.JawaSend.
JawaSend - this is the method that sends the messages It is fairly short, and all it is required to do is post the messages off to the server
JawaSend(Socket, String, String) - Constructor for class Netjunk.JawaSend
This is the constructor Well, actually, it does all the work here

M

main(String[]) - Static method in class JawaClient
Main Method - calls the GUI and sets up the Reciever The GUI is called and set up, and then the program waits for the IP address to be entered And then it sets the Reciever to work

N

Netjunk - package Netjunk
 

P

pressButtonOrEnter(int) - Method in class Netjunk.JawaGUI
This is called whenever the send button is pressed or Enter is typed after a message This method does most of the work.

R

run() - Method in class Netjunk.JawaRecieve
This is the multi-thread part of the program Once started, this start looping and whenever the server sends a message, this hears it and sends it to the GUI

S

setMyReply(String) - Method in class Netjunk.JawaGUI
This sets myReply This is simply a set method that takes a string and adds it to the myReply text field in the GUI

G J M N P R S