Changed the underlying Swing parent from JFrame to Window

This allows for Swing panels to be embedded in JFrame or JDialog