Develop a GUI program as shown in Figure 29.2, with the following requirements: (1) The radius of each vertex is 20 pixels. (2) The user clicks the left mouse button to place a vertex centered at the mouse point, provided that the mouse point is not inside or too close to an existing vertex. (3) The user clicks the right mouse button inside an existing vertex to remove the vertex. (4) The user presses a mouse button inside a vertex and drags to another vertex and then releases the button to create an edge, and the distance between the two vertices is also displayed. (5) The user drags a vertex while pressing the CTRL key to move a vertex. (6) The vertices are numbers starting from 0. When a vertex is removed, the vertices are renumbered. (7) You can click the Show MST or Show All SP From the Source button to display an MST or SP tree from a starting vertex. (8) You can click the Show Shortest Path button to display the shortest path between the two specified vertices.
It has never been easier to place your order. Fill in the initial requirements
in the small order form located on the home page and press “continue” button
to proceed to the main order form or press “order” button in the header menu.
Starting from there let our system intuitively guide you through all steps of
2. PROCEED WITH THE PAYMENT
All your payments are processed securely through PayPal. This enables us to
guarantee a 100% security of your funds and process payments swiftly.
3. WRITER ASSIGNMENT
Next, we match up your order details with the most qualified freelance writer
in your field.
4. WRITING PROCESS
Once we have found the most suitable writer for your assignment, they start
working on a masterpiece just for you!
Once finished, your final paper will be available for download through your
personal dashboard. You will also receive an email notification with a copy of
your paper attached to it. Sometimes, the writer may leave a note for you
about the order in case there is any additional information that they need to