From: jprocter Date: Thu, 8 Dec 2005 16:45:04 +0000 (+0000) Subject: context dependent title for when called from desktop or alignment window menu X-Git-Tag: Release_2_07~22 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=713db61b4724485414159cfc145f9ffa4a24bb6d;p=jalview.git context dependent title for when called from desktop or alignment window menu --- diff --git a/src/jalview/gui/SequenceFetcher.java b/src/jalview/gui/SequenceFetcher.java index e7d03fe..aa494f5 100755 --- a/src/jalview/gui/SequenceFetcher.java +++ b/src/jalview/gui/SequenceFetcher.java @@ -58,9 +58,11 @@ public class SequenceFetcher frame = new JInternalFrame(); frame.setContentPane(this); if(System.getProperty("os.name").startsWith("Mac")) - Desktop.addInternalFrame(frame, "Sequence Fetcher (WSDBfetch@EBI)", 400, 140); + Desktop.addInternalFrame(frame, ((af==null) ? + "New " : "Additional ")+"Sequence Fetcher (WSDBfetch@EBI)", 400, 140); else - Desktop.addInternalFrame(frame, "Sequence Fetcher (WSDBfetch@EBI)", 400, 125); + Desktop.addInternalFrame(frame, ((af==null) ? + "New " : "Additional ")+"Sequence Fetcher (WSDBfetch@EBI)", 400, 125); } private void jbInit()