CS 3744, Assignment 4 -
Due March 2, 2010
Use Swing and JOGL to create an initial version of a VTGUI framework that
demonstrates the use of a GUI label. The application code is provided (see
HomeworkFour.java), and the main window is an
instance of the VTFrame class
that has title "Homework Four". An additional test application may be provided
next week. Your task is to develop the code for the framework, as described in
the lecture slide set 10. Within the cs3744 package create a gui
package for GUI related classes. Follow the JavaBeans conventions.
Use the VTLabel class that provides a text display functionality. One or more
instances of the VTLabel class are placed in VTPanel. The layout is provided through
the VTGridLayout class. Look at the Java Swing API documentation for the similar
classes and determine the minimum set of methods that support the required
functionality. Use those methods to define the API for each of the classes.
Instructions
- The submission deadline is by 11:55pm on the date above.
- Submit a single .jar archive. The name is based on your VT pid, i.e <pid>HW4.jar.
- The .jar archive includes all the .java files (in the
corresponding folders) in the gui package (VTComponent.java, VTContainer.java,
VTLayout.java, VTWindow.java, VTLabel.java, VTPanel.java, VTFrame.java,
VTGridLayout.java, VTColor.java, VTDimension.java, VTPoint.java).
- You must use javadoc comments to document your code (all public
components).
Additional Resources