change SwingExporter from JFrame to JPanel