Tom Kelliher, CS 116
Oct. 11, 2000
Exam will cover only Chapters 1--4.
Two sections: definitions/concepts, details. Four questions in each section.
Read 5.1--3.
Quiz review.
Exam review.
More of Chapter 5.
Formal vs. actual parameters.
Methods are always applied to some object. How do we specify the object? Must we?
Graphics object:
Color constructor. What do we need to know about creating
colors?
Font constructor. Font, style, size.
setColor(), setFont().
drawLine(). Parameters?
drawRect(), fillRect(), etc. What are the four
parameters?
new.
Component abstract class.
Component methods: setBackground(),
setForeground().
Label, TextField, TextArea,
Button, Checkbox, CheckboxGroup, Choice, List.
getCaretPosition(), getSelectedText(),
setText(), getText(), append(), setCheckboxGroup().
public vs. private.
Panel