JAL-3416 Use JalviewInternalFrame instead of new JInternalFrame
[jalview.git] / src / jalview / gui / CalculationChooser.java
index af41e58..e3af388 100644 (file)
@@ -44,7 +44,7 @@ import javax.swing.DefaultComboBoxModel;
 import javax.swing.JButton;
 import javax.swing.JCheckBox;
 import javax.swing.JComboBox;
-import javax.swing.JInternalFrame;
+import jalview.gui.JalviewInternalFrame;
 import javax.swing.JLabel;
 import javax.swing.JLayeredPane;
 import javax.swing.JPanel;
@@ -92,7 +92,7 @@ public class CalculationChooser extends JPanel
 
   JButton calculate;
 
-  private JInternalFrame frame;
+  private JalviewInternalFrame frame;
 
   private JCheckBox includeGaps;
 
@@ -129,7 +129,7 @@ public class CalculationChooser extends JPanel
   void init()
   {
     setLayout(new BorderLayout());
-    frame = new JInternalFrame();
+    frame = new JalviewInternalFrame();
     frame.setFrameIcon(null);
     frame.setContentPane(this);
     this.setBackground(Color.white);