Migrate Swing code from ImageJ

Code migrated from:
* https://github.com/imagej/imagej/tree/imagej-2.0.0-beta-7.9/plugins/uis/swing
* https://github.com/imagej/imagej/tree/imagej-2.0.0-beta-7.9/ui/swing