16 |
|
* @author $Author$ |
17 |
|
* @version $Id$ |
18 |
|
*/ |
19 |
< |
public class SwingClient extends JFrame { |
19 |
> |
public class Conient extends JFrame { |
20 |
|
|
21 |
|
//---FINAL ATTRIBUTES--- |
22 |
|
|
62 |
|
ControlPanel control = new ControlPanel(data); |
63 |
|
|
64 |
|
// the main frame (passed the two panels) |
65 |
< |
SwingClient client = new SwingClient(data, control); |
66 |
< |
SwingClient.addMessage("Conient {an I-scream Client} © 2001 University of Kent & Project I-Scream"); |
67 |
< |
SwingClient.addMessage("Conient ready."); |
65 |
> |
Conient client = new Conient(data, control); |
66 |
> |
Conient.addMessage("Conient {an I-scream Client} © 2001 University of Kent & Project I-Scream"); |
67 |
> |
Conient.addMessage("Conient ready."); |
68 |
|
} |
69 |
|
|
70 |
|
|
73 |
|
/** |
74 |
|
* Creates a new Swing Client Frame |
75 |
|
*/ |
76 |
< |
private SwingClient(JPanel data, JPanel control) { |
76 |
> |
private Conient(JPanel data, JPanel control) { |
77 |
|
// set up the Frame |
78 |
|
super("Conient {an I-scream Client}"); |
79 |
|
setSize(DEFAULT_WIDTH, DEFAULT_HEIGHT); |