Television Demo
Assignment:
Clicking the middle button changes the channels. The other buttons
have no function... YET! Your job will be to make one of the buttons
count down through the channels and to make the other channel display
a special message across the screen when it is clicked. The special
message could be something like "Forbidden By Rating Check!" Clicking
that message button a second time will cause the TV to return to
regular broadcasting channels. You will also have to get your own set
of seven GIFs. You will have to resize them in some way unless you
are lucky and get them all the same size as is the case with this
example. You may want to increase the size of your TV applet to
accomodate larger pictures.
ALSO YOU MUST UPDATE TO THE JAVA 1.1 EVENT MODEL!
Source Code
A similar applet is available at the
Trona High School Web Page.