| Program: | BalloonMaker.java | (follow link to view applet and code) |
| Author: | Cory Goldfuss | |
| Date: | December 4, 2000 | Program last modified: December 10, 2000 |
| Description: | Program shows use of classes by making "new" balloon from the balloon class | |
| Components: | Class user-defined, Static variables, Methods, Math Class, Constructors, Method overloading, Polymorphism, ActionEvents, Lists. | |
| New Concepts: | Self designed class. | |
| Reflections: | The idea of this program is still not fully implemented. As I was able to allow the user to create a new ballon (choosing how much air and the color), I had wanted to be able to draw the ballon on the screen. This was accomplished, yet I could not implement the ability to "add" to the applet. By this I mean I had planned on drawing several balloons (for every button push) and have them placed randomly within the applet. Unfortunatley the repaint method calls update and then paint. When the update is called it clears the current ballon and then draws the new one. I tried to use only the paint method but ran into error. | |
| Evaluation: | Please provide an evaluation of this portfolio entry. | |