Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3953414
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:58:19+00:00 2026-05-20T01:58:19+00:00

A project that I am working on requires me to show the network layout

  • 0

A project that I am working on requires me to show the network layout when the user clicks on a button on a GUI panel “Show Network Layout”.
Example: X is the name of a sub-network and x1, x2, x3 are the connected devices.
Similarly, Y is the name of a sub-network and y1, y2, y3 are the connected devices and so on.
How they are connected to each other and in which direction is defined in a flat file.
This is how the image should look:

Network Image

Uploaded with [URL=http://imageshack.us]ImageShack.us[/URL]

The question is what is the best way I can do this using Java. Am not asking for the programming part but what Java tool can be used to accomplish this. A sample example would be really helpful.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T01:58:20+00:00Added an answer on May 20, 2026 at 1:58 am

    Since your sample picture is a directed graph, JGraph would be a nice tool to use. An other great option is JGraphT. Both links have sample code. The second link uses an applet, so you can see directly the graph and the necessary code, in order to create it. JGraph is very similar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a project that requires the manipulation of enormous matrices, specifically
I am working on a project that requires a number of icons generated from
I´m working on a project that basically will show some data collected from hardware
I am working on a project at the moment that requires a dialog box
I'm working on a project that requires me to sort a column of a
I am working on a project that requires me to underline some text in
I am working on a project that requires me to collect a large list
I am working on a project that requires an object to have multiple values.
I am working on a project that requires that I create a 2D interface
I'm working on a project that requires me to write a DWORD value to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.