Assignment 7: FacePamphlet
The original assignment was written by Mehran Sahami and then revised by Eric Roberts and Chris Piech.
In this assignment we will build FacePamphlet, the CS106A Social Network. As an
assignment FacePamphlet has two goals. The first is to give you an opportunity to
implement an interactive application that uses a graphical user interface, complete with
buttons and various kinds of text fields. The second is to give you the chance to write a
social networking application, similar to Facebook, that lets users from the CS106A
community communicate with one another over the network.
Your application will, of
course, be a simpler version—a pamphlet-sized application instead of a book.
This is your final assignment, and it’s designed so that it
can be completed in about a week’s time.
given the stress that always comes with the end of the
quarter, we’re allowing you to hand in your completed
assignment as late as Wednesday, June 8
at 11:30 a.m.,
which is the time your final exam, had I been giving one,
would have ended.
Note you can’t use any late days at
all, and the 11:30 a.m. deadline is
In order to
ensure that you’ll be okay and not leave too much until
the end, we require that you submit a partial solution—
one that simply renders the west panel without any user
interaction—by Wednesday, June 1
at 5:00 p.m.
section leader will acknowledge receipt of the checkpoint, and reach out if and only if he
or she foresees any problems. (The checkpoint will otherwise not be graded.)
Checkpoint Due: Wednesday, June 1
at 5:00 p.m.
Due Wednesday, June 8
at 11:30 a.m.
Overview of the FacePamphlet application
When you get the entire program working, the FacePamphlet application presents a graphical
user interface that looks like the one shown in Figure 1. In this example, I (this is Eric Roberts
speaking, not Jerry) have already logged in as
, and have set my image and status.
The display tells me that I have seven friends—the virtual
user who is automatically a
friend to everyone in the class along with six other friendly folks. As of now, my
wall" on the
right is empty, because no one has yet written anything on it.