libjgraph-java software package provides JFC/Swing graph component for Java, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libjgraph-java
libjgraph-java is installed in your system.
Make ensure the libjgraph-java package were installed using the commands given below,
$ sudo dpkg-query -l | grep libjgraph-java *
You will get with libjgraph-java package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Libraries |
| Package | libjgraph-java |
| Version | 5.12.4.2+dfsg-2 |
| Description | JFC/Swing graph component for Java |
| Sub Section | Libs |