Lab07 Comments
Lab07 Comments
in the method.
[5] Common mistakes if the color of the line does not
change student forgets to change the setColor
statement to the new variable, declared Color variable
is out of scope OR declared differently (spelling, case
etc)
[6] Slider cannot be seen remove paint()
[7] Can draw on top of slider yes because it is part of
the JFrame and we didnt set boundaries of where to
draw on. Cannot draw on label? because labels are
non-editable and cannot be changed > Java works in
mysterious ways
[8] Slider does not change size make sure the size
variable is used in the setStroke method.
[9] cannot find stateChanged method check to see if
ChangeListener is implements in the code
[10] Cannot find Changelistener check to see if
javax.swing.event.* is import in the code