Does anyone know of a Java library that would assist in creating a GUI component to visualize the relationships between tables in an SQL database, similar to the Relationships pane in Access, or the Diagrams function in SQL Server Enterprise Manager.
The closest I have been able to discover is the Prefuse library, however I would need to extract the database structure and build the graph manually – is there a simpler way to do this?
Cheers.
I would probably use Visual Library. I like Prefuse as well, but Visual Library’s api is more Swing like if you are a Swing developer. Another option is GraphViz which some people like. You would still have to extract the database structure yourself though this is fairly straight forward using jdbc.