NetBeans Visual Library is really great for creating interactive Graphics, especially for graph like structures. In my JBox2D Editor I’m using it as a visual designer for Box2D Worlds. If you want to display properties of the domain objects represented by the Widgets in the Properties View, you need to do a bit of wiring though.
The tough part is, that the Properties View listens for selected Nodes, so we need to create some Nodes representing the selected objects to expose their properties. And we need to put them in our TopComponents Lookup. Here’s a little trick how you can simplify the wiring, by letting the ExplorerManager do the heavy lifting:
The project is available on Github. Enjoy!