Review Notes

Day 1:
    Algorithm:
    Develop iterative method for finding a square root
Develop a stopping condition for the iteration
 
Java Layouts:
FlowLayout, BorderLayout, GridLayout
 
Java Objects:
JTextField, JTextArea, JButton, JPanel, JLabel
 
Java Constructs:
if/else, for, while, try/catch
new - returns a reference to a new object
 
Java Service Classes:
Applet: use extends to get display services
ActionListener: implements forces writing actionPerformed
   addActionListener connects local object, JVM, and above actionPerformed
   The JVM detects an action on a local object, then reports
   the action to actionPerformed via an ActionEvent
Font: use to set the font on a Java object
 
Java Primitive Types:
double - 64 bits: a mantissa and exponent and their sign bits
 
Java Class Methods, Static:
String.valueOf - converts the value of a primitive type to a String
Double.parseDouble - converts the value of a primitive type to a double
 
Java Class Methods, non-static:
getText - get the text value of a JButton, JTextField
setText - set the text value of a JButton, JTextField
setBackgorund - set the bg color of a JButton, JTextField
setEditable - allow/disallow editing of a JTextField object
setFont - set the Font of a JButton, JTextField
setLayout - set the Layout of a JPanel or Applet
add - adds an object to the Layout of a JPanel or Applet
 
Java Concept:
To access an object in class A from class B, create a constructor
in class B that has an argument a of type A and a variable a of
type A in B. Put this in the constructor: this.a = a;
In A create a B object like this: B b = new B(this);
If p is an object of class A, it can be accessed from B like this:
If p is an object of class A, it can be accessed from B like this:
a.p.method(); where method is a method of the class that p belongs to.

Day 2:
    Colors
    Colors.java     Applet
    Colors1.java     Applet
    Tic-Tac-Toe
    TTT.java     Applet

Day 3:

Day 4:

    Client
    ClientApplet.java     Applet
    Server
    ServerApplet.java     Applet
    Chat
    Server.java
    IM.java     Applet
    Webserver
    WebServe.java