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.
Programming
[Solved] SOLVED: swing component to draw shapes based on the x-y location coordinates on the users screen.
$25
File Name: SOLVED:_swing_component_to_draw_shapes_based_on_the_x-y_location_coordinates_on_the_users_screen..zip
File Size: 913.74 KB
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.