Starting from:

$25

swing component to draw shapes based on the x-y location coordinates on the users screen.

This program implements the usage of the swing component to draw shapes based on the x-y location coordinates on the users screen. Has the ability to erase, change color and track loc of mouse. Uses vector lists to store all data. The Assignment 7 creates a WholePanel that is an extension of JPanel, add it to its content, and set a size for the applet.Creates the java applet that houses the panels and information that is transferred from the wholepanel class.If Nimbus is not available, you can set the GUI to another look and feel. Takes in the parameters from the WholePanel that constructs the rectangle after it is drawn. Once it is drawn, it gets returned into the whole panel class so that the data can be stored into the array and printed back out using a for-loop. The whole panel creates components for the whole panel of this applet. It also contains CanvasPanel, ButtonListener, ColorListener, and PointListner classes.

More products