It is beyond my pay grade to implement but this looks like it would work.
https://xmlgraphics.apache.org/batik/using/swing.html
Would need someone with a bit more in-depth knowledge of swing to bring it to fruition.
@pturmel @PGriffith @Travis.Cox
This is something that a lot of people would be interested in as Cognex is spreading like wild fire through the industry.