JAL-2797 the big switch, all GUI method calls now go via the AptxFrame
[jalview.git] / forester / java / src / org / forester / archaeopteryx / tools / PhyloInferenceDialog.java
index b6e65b6..94c1359 100644 (file)
@@ -235,10 +235,12 @@ public class PhyloInferenceDialog extends JDialog implements ActionListener {
         _pnl.add( launch_pnl );
         initializeValues( from_unaligned_seqs );
         pack();
-        setLocationRelativeTo( getParentFrame() );
+        setLocationRelativeTo( getParentFrame().getThisFrame() );
         setResizable( false );
     }
 
+
     @Override
     public void actionPerformed( final ActionEvent e ) {
         if ( e.getSource() == _select_input_msa_btn ) {