Can anyone tell me where the main conversation will be taking place?
This is part of the codes
import javax.swing.JFrame;
import java.awt.*;
public ChatJava() {
JFrame frame= new JFrame(); //this constructor constructs an instance of a class each time
frame.addJFrame(TextAreaName name); // a new chat is sent
.....
}
public static void main(String[] args) { //one main method. 599 lines to this chat program from NetBeans Java
if(txtAreaName=true) { //txtAreaName is referring to a actionPerformed in jButton#
} system.out.println("txtAreaName"); { // does this look like the right setup?
system.exit(0);
}
try {
system.out.println("txtAreaName");
} catch(java.IOException); {
system.exit(0);
}