Changed the underlying Swing parent from JFrame to Window

second try