Slight rework to use Swing (compatible with alwaysOnTop requirement).