|
Example
|
Description
|
Learn about
|
Download
|
|
1
|
Create an interactive keyboard key counter
|
applet, integers, keyDown
|
ex1.zip
|
|
2
|
Ask if they no the password
|
boolean, if, keyDown
|
ex2.zip
|
|
3
|
Make your own surprise button
|
setColor, integers, mouseDown
|
ex3.zip
|
|
4
|
Move a smiley face around
|
drawOval, drawArc, mouseMove
|
ex4.zip
|
|
5
|
Make your own surprise button
|
setColor, integers, mouseDown
|
ex5.zip
|
|
6
|
Using java's Button object
|
Button, if, action
|
ex6.zip
|
|
7
|
Using multiple Buttons
|
Button, if, action
|
ex7.zip
|
|
8
|
Using java's TextField object
|
setText, TextField, getText
|
ex8.zip
|
|
9
|
Using java's TextArea object
|
TextArea, TextField, getText
|
ex9.zip
|
|
10
|
Using java's built-in math functions
|
Math.round, drawString, paint
|
ex10.zip
|