ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/conient/uk/org/iscream/cms/conient/Conient.java
(Generate patch)

Comparing projects/cms/source/conient/uk/org/iscream/cms/conient/Conient.java (file contents):
Revision 1.15 by ajm, Wed Jan 24 03:09:43 2001 UTC vs.
Revision 1.18 by ajm, Wed Jan 24 03:37:31 2001 UTC

# Line 16 | Line 16 | import java.awt.event.*;
16   * @author  $Author$
17   * @version $Id$
18   */
19 < public class SwingClient extends JFrame {
19 > public class Conient extends JFrame {
20  
21   //---FINAL ATTRIBUTES---
22  
# Line 62 | Line 62 | public class SwingClient extends JFrame {
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      
# Line 73 | Line 73 | public class SwingClient extends JFrame {
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}");
78 >        super("Conient {an i-scream Client}");
79          setSize(DEFAULT_WIDTH, DEFAULT_HEIGHT);
80  
81          // set what happens when the X in the corner is clicked        
# Line 193 | Line 193 | public class SwingClient extends JFrame {
193       * The place where system messages are written.
194       */
195      static JTextArea _messages = new JTextArea();
196 +    {
197 +        _messages.setLineWrap(true);
198 +    }
199   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines