Question: Problem Description Introduction You are required to create a simple desktop application to draw various shapes on the screen. The shapes should include: 1 -

Problem Description Introduction
You are required to create a simple desktop application to draw various shapes on the screen. The shapes should include:
1- Square
2- Circle
3- Rectangle
4- Triangle
5- Line
The application should have two modes: Drawing and Info.
In the drawing mode, the shapes should appear as choices on the left panel as shown in the image below (Figure 1).
Figure 1: Draw Mode
Once you select a shape, it should appear in the drawing area with a random position and random size. Once a shape is inserted, its name should appear in the "Shapes Names Area". The shape name should be unique. When you select a shape in the drawing area (B), its corresponding shape should be highlighted (Figure 2). The same thing should apply when selecting a shape in the drawing area.
Figure 2: Highlighting a Shape
SWE 316(Term 232)- Assignment # 1
2
 Problem Description Introduction You are required to create a simple desktop

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!