The Application Creates a 450×500 Frame - IT Assignment Help

Download Solution Order New Solution
Assignment Task
 

Description
The application creates a 450×500 frame which uses border layout (NORTH and CENTER) to fill its area with two panels:
a control panel containing a JComboBox choice menu for figure selection, and a JComboBox actions menu for selecting actions to perform on the figures, (for example, enlarge, move, delete). These are laid out in a grid with vertical and horizontal gaps of 5 pixels.
An information and color panel also laid out in a grid with vertical and horizontal gaps of 5 pixels.
a drawing panel with no layout (use setLayout(null) on the panel). The type of figure to draw is selected via a choice menu. Properties of figures (color, size etc.) can be set (see Stage 2) and figures can be manipulated (see Stage 3). Clicking (perhaps several times) in the drawing panel will cause the figure to be drawn with the top left-hand corner of its bounding rectangle positioned at the coordinates of the mouse click. The type of figure drawn is dictated by the current action label. The application is terminated by clicking the frame’s close button.
Aims and ObjectivesIn attempting this assignment you will
gain knowledge of GUI toolkit component hierarchies,
gain practice with creating containers and setting out and manipulating components contained therein,
gain general knowledge about event driven programming and specific knowledge about Java’s event modelMarking
Stage Weighting Correctness Marks Style Marks Testing
1 50% 90% 0% 10%
2 25% 50% 20% 30%
3 25% 50% 20% 30%

Stage 1
This version has three choices for figures:
Circle
Square
Cross
Initially the figure choice is CIRCLE. The background color for the choice menu is Color.blue.darker(), and the foreground color is Color.whiteWhenever the mouse is clicked with the mouse pointer in the drawing panel, a figure is drawn with its top left-hand bounding rectangle at that point. The type of figure drawn is dictated by the currently selected figure.
Circles have a diameter of 50, squares have a side length of 50 and crosses are contained in a bounding rectangle with a width and height of 50. All figures are drawn in Color.red (in later stages this can be changed). For example, after clicking in the middle of the drawing panel.

 

This IT Assignment has been solved by our IT experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.