From ecb17944a46a539f55668158515dcd48b07e42c8 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 14 Nov 2006 15:54:36 +0000 Subject: [PATCH] Close all added --- src/jalview/gui/Desktop.java | 14 +++++++++++++- src/jalview/jbgui/GDesktop.java | 19 +++++++++++++++++-- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/src/jalview/gui/Desktop.java b/src/jalview/gui/Desktop.java index 953b55c..caa3f5e 100755 --- a/src/jalview/gui/Desktop.java +++ b/src/jalview/gui/Desktop.java @@ -551,6 +551,18 @@ public class Desktop extends jalview.jbgui.GDesktop } } + public void closeAll_actionPerformed(ActionEvent e) + { + JInternalFrame [] frames = desktop.getAllFrames(); + for(int i=0; i