#1 Use polygon statemet to draw your boat.
#2. Draw a red basketball.
#3. Create an applet that show a ball with alternate colors - red
and yellow. If you click the button, the applet will alternate the
colors.
#4. Create an applet that alternate 4 colors for a shirt.
#5. Create an applet that displays the elements of an array and
the sum of the array.
#6. Create an applete that displays the price of a meal. Store
the price in a price array. When the user enters the meal selection,
the applet will display the price.
#7. Create an applet that displays the capital of 5 states. You
need to use two arrays. The state array includes CA,TX,NM,OR,NV. and
the capital array includes the capitals of these five states. The
applet dislays the correct capital for the array.
#8 Create an applet that simulates the quick pick machine and
displays the 6 lucky number.
#9 Create a class name "Movie" that contains data fields for
title and director. Next create a subclass named Action, and
additional method to get and set the Rate level field. Write a
program that demonstrates using objects of each class.
#10 Create an applet that shows the capital of the states. Put at
least three states in a list box. If the user click on "California",
the capital label box shows "Sacromento"..etc.
#11 Create an applet that shows a picture. Download the dolphine
picture file to your computer.
#12. Create a calculateGui program that prompts the user to enter
two double numbers. The calculateGui has four buttons - add, sub,
multiply and divide . When the user clicks on the add button, the
application displays the sum of these two numbers on a label box,
when the user clicks on the sub button, the application displays the
difference of these two numbers on a lable box. The caluclateGui
will call calculate class to perform the calculation.
#13. Create a time card appliation that allows the user to enter
two different times in a day and calcuate the difference of the two
times. The first time must prior to the second time. (use military
time).
The timeGui application includes 6 text boxes to allow the user to
enter the hours, minutes, and seconds. The timeGui class calls time
class to calulate the difference of the two different times |