From: amwaterhouse Date: Wed, 14 Sep 2005 11:20:09 +0000 (+0000) Subject: PCA is in outofmemory try-catch X-Git-Tag: Release_2_05b~36 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=543ac79dd0fdd36f1c5a810c740d244069938be0;p=jalview.git PCA is in outofmemory try-catch --- diff --git a/src/jalview/gui/AlignFrame.java b/src/jalview/gui/AlignFrame.java index e82356c..7984991 100755 --- a/src/jalview/gui/AlignFrame.java +++ b/src/jalview/gui/AlignFrame.java @@ -1849,21 +1849,11 @@ public class AlignFrame return; } - try - { PCAPanel pcaPanel = new PCAPanel(viewport, null); JInternalFrame frame = new JInternalFrame(); frame.setContentPane(pcaPanel); Desktop.addInternalFrame(frame, "Principal component analysis", 400, 400); - } - catch (java.lang.OutOfMemoryError ex) - { - JOptionPane.showInternalMessageDialog(this, - "Too many sequences selected\nfor Principal Component Analysis!!", - "Out of memory", - JOptionPane.WARNING_MESSAGE); - } } /**