X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FPopupMenu.java;h=075374a12f800001ce9ee42395ed4745a1c5463d;hb=1e5dc0e8a71d9eb0be4748f994072b11f25b04e0;hp=3b43e6bacafd7f6056cd4937702f6439ded01f89;hpb=9a59ebeab8ec986ea70103431d9f63412f640625;p=jalview.git diff --git a/src/jalview/gui/PopupMenu.java b/src/jalview/gui/PopupMenu.java index 3b43e6b..075374a 100644 --- a/src/jalview/gui/PopupMenu.java +++ b/src/jalview/gui/PopupMenu.java @@ -1063,30 +1063,7 @@ public class PopupMenu extends JPopupMenu { public void actionPerformed(ActionEvent e) { - try { - pdbFromFile_actionPerformed(); - } catch (ExceptionFileFormatOrSyntax e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } catch (ParserConfigurationException e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } catch (SAXException e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } catch (ExceptionPermissionDenied e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } catch (ExceptionLoadingFailed e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } catch (InterruptedException e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } catch (ExceptionUnmatchedClosingParentheses e1) { - // TODO Auto-generated catch block - e1.printStackTrace(); - } + pdbFromFile_actionPerformed(); } }); enterPDB.setText("Enter PDB Id"); @@ -1984,7 +1961,7 @@ public class PopupMenu extends JPopupMenu oal = null; } - public void pdbFromFile_actionPerformed() throws ExceptionFileFormatOrSyntax, ParserConfigurationException, SAXException, ExceptionPermissionDenied, ExceptionLoadingFailed, InterruptedException, ExceptionUnmatchedClosingParentheses + public void pdbFromFile_actionPerformed() { jalview.io.JalviewFileChooser chooser = new jalview.io.JalviewFileChooser( jalview.bin.Cache.getProperty("LAST_DIRECTORY"));