Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This question can be solved using all java libraries, no user made libraries imported are allowed: Use Java to implement a simplified editing tool which

This question can be solved using all java libraries, no user made libraries imported are allowed:

Use Java to implement a simplified editing tool which allows the users to draw a directed graph with nodes and edges in the following way:

a node can be inserted, moved and deleted;

an edge can be inserted and deleted, but it cannot be moved.

You should guarantee that

any edge the users draw must connect two nodes;

when a node is moved, all its associated edges should be moved automatically;

when a node is deleted, all its associated edges should be deleted automatically.

The users should be allowed to save a graph to a file and open it again. Apart from the normal selections via menus, lists, buttons etc., the user can also use popup menus for the operations. A popup menu should be sensitive to its context, i.e., the GUI component on which it is triggered. Whenever necessary, users should be prompted with instructions on how to continue or what is wrong.

No rush, thank you to those who help

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems 25th European Conference Adbis 2021 Tartu Estonia August 24 26 2021 Proceedings Lncs 12843

Authors: Ladjel Bellatreche ,Marlon Dumas ,Panagiotis Karras ,Raimundas Matulevicius

1st Edition

3030824713, 978-3030824716

More Books

Students also viewed these Databases questions