Programming assignment:
The purpose of this assignment is to introduce you to beginning
Java programming concepts, to give you practice writing
loops and branching statements,
and to get you to
learn how to edit, compile, and print Java source
code files,
how to run Java applications, how to run Java applets,
and to learn how to print the output
of your Java applications and applets.
Write both an application and an applet that prints out a random number of pieces of advice, chosen randomly from a list of 6 or more. Be sure no piece of advice is displayed more than once.
Programming assignment:
The purpose of this program is to give you an opportunity to practice
using inheritance, polymorphism, abstraction, and encapsulation.
Write a subclass of the Shape class we designed in class. Include at least 2 constructors for your new class and access methods for the new data. Write a Java application that creates at least one instance of your class and uses access methods to print out the values of the variables. Write a Java applet that draws at least one object from your class .
Assignment:
The purpose of this assignment is to help you get a feel
for how applets run in a browser.
Use the form handed out in class to make a list of all the things you can do to an applet while it is running, e.g., move to a different page, scroll the page, etc, and tell which methods are called for each thing you do. Use the ExtendedSimple applet to find out which methods are called.
Now try it out on a real applet - NervousText
Create a GUI for your project. Include a help button that brings up a frame with information about how to use your applet.
If you can't think of a project, make a measurement converter. The user inputs a number into a text field and chooses the units from a choice menu. Then the user chooses the units that the number whould be convered into from another choice menu. When the user presses the do it button, the answer is printed in a second text field. Make a canvas with a title that uses cool colors and an interesting font.
You could make the program more useful by letting the user input the units accepted and converted and the constants needed for the conversions.
Programming assignment:
Add event handling to your project.
Programming assignment:
Add an image and sound to your project.
Programming assignment:
Add animation to your project.
Programming assignment:
Improve your animation
Programming assignment:
Last Updated by S.L Bartlett : Friday, July 16, 1999, at 13:13:52 EDT