Andershand Observer Personals Applet Collaborative Class Project: Bean Viewer Fall 1998
Anders and I prepared three .java files for your programming pleasure -- and (we hope) to
make things easier for you. There are two parts to the BeanViewer below. First, you can see how the StyleBean
has been pre-configured with certain fonts, font styles, colors, and component sizes. Refer to the .java file for
methods you can use to get the proper widths, colors, and fonts for your window Bean's component's.
Second,
you can experiment with trying different error messages for error
handling with the ErrorWin. Relevant code for using the ErrorWin
is also provided.
If you're interested, take a look at the source code:
StyleBean.java:
This Bean controls the look and feel of the applet even though
many different people are involved in programming the whole applet.
Look at the .java file to see what methods are available for your
window Bean.
ErrorWin.java:
This utility Bean can be used in event handling. The comments
at the top of the .java file indicate how it can be used. (It's
very easy!) Note: Since
this project, I've heavily modified and improved this Bean --
contact me for more info and the changes!