in progress
authorcmzmasek <cmzmasek@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Mon, 21 May 2012 06:39:49 +0000 (06:39 +0000)
committercmzmasek <cmzmasek@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Mon, 21 May 2012 06:39:49 +0000 (06:39 +0000)
forester/java/src/org/forester/archaeopteryx/MainFrame.java
forester/java/src/org/forester/archaeopteryx/MainFrameApplication.java

index 5af1879..e2ba175 100644 (file)
@@ -46,6 +46,7 @@ import javax.swing.JRadioButtonMenuItem;
 import org.forester.archaeopteryx.Options.CLADOGRAM_TYPE;
 import org.forester.archaeopteryx.Options.NODE_LABEL_DIRECTION;
 import org.forester.archaeopteryx.Options.PHYLOGENY_GRAPHICS_TYPE;
+import org.forester.archaeopteryx.tools.ProcessPool;
 import org.forester.phylogeny.Phylogeny;
 import org.forester.phylogeny.PhylogenyNodeI.NH_CONVERSION_SUPPORT_VALUE_STYLE;
 import org.forester.phylogeny.data.NodeVisualization.NodeFill;
@@ -209,9 +210,14 @@ public abstract class MainFrame extends JFrame implements ActionListener {
     Configuration             _configuration;
     JMenuItem                 _remove_branch_color_item;
     Options                   _options;
-
+    final ProcessPool               _process_pool;
+    
     MainFrame() {
-        // Empty constructor.
+        _process_pool = new ProcessPool();
+    }
+    
+    ProcessPool getProcessPool() {
+        return _process_pool;
     }
 
     /**
index 551c07c..55ddbc1 100644 (file)
@@ -234,6 +234,7 @@ public final class MainFrameApplication extends MainFrame {
     JMenuItem                                _read_values_jmi;
 
     private MainFrameApplication( final Phylogeny[] phys, final Configuration config, final String title ) {
+        
         this( phys, config, title, null );
     }
 
@@ -241,6 +242,7 @@ public final class MainFrameApplication extends MainFrame {
                                   final Configuration config,
                                   final String title,
                                   final File current_dir ) {
+        super();
         _configuration = config;
         if ( _configuration == null ) {
             throw new IllegalArgumentException( "configuration is null" );