1. Stage One of the Project

Due Monday box closes 11/17 @5pm and stays open late until 11/19 5pm then closes forever.

import javax.swing.JFrame; 
import javax.swing.JComponent; 
import java.awt.Graphics;
import java.util.ArrayList; 
import java.awt.Color;

public class Eight extends JComponent {
  ArrayList<Circle> circles = new ArrayList<Circle>(); 
  public Eight() {
    for (int i = 0; i < 30; i++) {
      this.circles.add(new Circle(i % 10 * 40, // (int)(Math.random()*400), 
                                  i / 10 * 40, // (int)(Math.random()*400), 
                                  20, // (int)(Math.random() * 10 + 30),
                                  new Color((float)Math.random(), 
                                            (float)Math.random(), 
                                            (float)Math.random())));  
    }
  }
  public void paintComponent(Graphics g) {
    g.drawOval(40, 40, 100, 100); // likewise, not needed, just a sanity check
    for (Circle c : this.circles)
      c.draw(g); 
    System.out.println("I am being called." + this.circles); // for illustration only 
  }
  public static void main(String[] args) {
    JFrame a = new JFrame(); 
    a.add( new Eight() ); 
    a.setSize(400, 400); 
    a.setVisible(true); 
  }
}

I will probably expect a more complicated approach for Stage Two. \\

I will also use BigBang as developed earlier. 

2. I will post raw scores for the exam on Wed. 

The box stays open until 11/18 5pm. 

Stays late open until 11/19 am. 

I strongly suggest you finish this first. 

Self-assesment is needed with corrections (if any). 

3. Everyone in this class should have a silo account. 

silo.cs.indiana.edu is a machine that runs Unix. 

You can have an account on that machine and use remotely. 

It's the preferred location for servers of any kind. 

3.a) Homework Eight (normally a lab, instead of a take-home lab it's a homework). 

3.b) Homework Nine (same thing)

You turn these things in person in a lab. 

You can get help in lab with these. 

Homework Eight: install a web server (Tomcat) to explore server-side Java programming

Homework Nine: install a web development framework (Grails) to explore web programming

Let's start with Homework Nine:

(a) You will need a port number: 8346 is taken, let me try 27182

(b) I check with netstat -a | grep 27182

(c) 

--