PCA is in outofmemory try-catch
authoramwaterhouse <Andrew Waterhouse>
Wed, 14 Sep 2005 11:20:09 +0000 (11:20 +0000)
committeramwaterhouse <Andrew Waterhouse>
Wed, 14 Sep 2005 11:20:09 +0000 (11:20 +0000)
src/jalview/gui/AlignFrame.java

index e82356c..7984991 100755 (executable)
@@ -1849,21 +1849,11 @@ public class AlignFrame
       return;\r
     }\r
 \r
-    try\r
-    {\r
       PCAPanel pcaPanel = new PCAPanel(viewport, null);\r
       JInternalFrame frame = new JInternalFrame();\r
       frame.setContentPane(pcaPanel);\r
       Desktop.addInternalFrame(frame, "Principal component analysis",\r
                                400, 400);\r
-    }\r
-    catch (java.lang.OutOfMemoryError ex)\r
-    {\r
-      JOptionPane.showInternalMessageDialog(this,\r
-                                            "Too many sequences selected\nfor Principal Component Analysis!!",\r
-                                            "Out of memory",\r
-                                            JOptionPane.WARNING_MESSAGE);\r
-    }\r
   }\r
 \r
   /**\r