made PhyloInferenceDialog constructor refer to null instead of mainframe
authorkjvdheide <kjvanderheide@dundee.ac.uk>
Wed, 11 Oct 2017 18:50:12 +0000 (19:50 +0100)
committerkjvdheide <kjvanderheide@dundee.ac.uk>
Wed, 11 Oct 2017 18:50:12 +0000 (19:50 +0100)
forester/java/src/org/forester/archaeopteryx/tools/PhyloInferenceDialog.java

index b1cd8b6..b6e65b6 100644 (file)
@@ -27,6 +27,7 @@ package org.forester.archaeopteryx.tools;
 
 import java.awt.Color;
 import java.awt.FlowLayout;
+import java.awt.Frame;
 import java.awt.event.ActionEvent;
 import java.awt.event.ActionListener;
 import java.util.List;
@@ -95,7 +96,7 @@ public class PhyloInferenceDialog extends JDialog implements ActionListener {
     public PhyloInferenceDialog( final MainFrameApplication frame,
                                  final PhylogeneticInferenceOptions options,
                                  final boolean from_unaligned_seqs ) {
-        super( frame, true );
+        super( (Frame) null, true );
         setVisible( false );
         _parent_frame = frame;
         _opts = options;