X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FSplitFrame.java;h=08d6e030fe223aacce05f82486e00114f13fbd10;hb=1624d4fc89f17c4a6cdb80b7d4cc37a095b6fe67;hp=7ce8673b8676aff769486fc128df5d494362d268;hpb=dc24bc768061f6e08be77d7e18709da98c6f9428;p=jalview.git diff --git a/src/jalview/gui/SplitFrame.java b/src/jalview/gui/SplitFrame.java index 7ce8673..08d6e03 100644 --- a/src/jalview/gui/SplitFrame.java +++ b/src/jalview/gui/SplitFrame.java @@ -105,6 +105,7 @@ public class SplitFrame extends GSplitFrame implements SplitContainerI */ protected void init() { + setFrameIcon(null); getTopFrame().setSplitFrame(this); getBottomFrame().setSplitFrame(this); getTopFrame().setVisible(true); @@ -259,8 +260,8 @@ public class SplitFrame extends GSplitFrame implements SplitContainerI * calculate the maximum ratio that leaves at least the height * of two sequences (after rounding) visible in the bottom panel */ - int bottomSequencesHeight = bottomFrame.alignPanel.getSeqPanel().seqCanvas - .getHeight(); + int bottomSequencesHeight = bottomFrame.alignPanel + .getSeqPanel().seqCanvas.getHeight(); int bottomPanelMinHeight = bottomPanelHeight - Math.max(0, bottomSequencesHeight - 3 * bottomCharHeight); double maxRatio = (totalHeight - bottomPanelMinHeight) / totalHeight; @@ -427,7 +428,9 @@ public class SplitFrame extends GSplitFrame implements SplitContainerI * Ctrl-W / Cmd-W - close view or window */ KeyStroke key_cmdW = KeyStroke.getKeyStroke(KeyEvent.VK_W, - jalview.util.ShortcutKeyMaskExWrapper.getMenuShortcutKeyMaskEx(), false); + jalview.util.ShortcutKeyMaskExWrapper + .getMenuShortcutKeyMaskEx(), + false); action = new AbstractAction() { @Override @@ -448,7 +451,9 @@ public class SplitFrame extends GSplitFrame implements SplitContainerI * Ctrl-T / Cmd-T open new view */ KeyStroke key_cmdT = KeyStroke.getKeyStroke(KeyEvent.VK_T, - jalview.util.ShortcutKeyMaskExWrapper.getMenuShortcutKeyMaskEx(), false); + jalview.util.ShortcutKeyMaskExWrapper + .getMenuShortcutKeyMaskEx(), + false); AbstractAction action = new AbstractAction() { @Override @@ -804,7 +809,9 @@ public class SplitFrame extends GSplitFrame implements SplitContainerI * Ctrl-F / Cmd-F open Finder dialog, 'focused' on the right alignment */ KeyStroke key_cmdF = KeyStroke.getKeyStroke(KeyEvent.VK_F, - jalview.util.ShortcutKeyMaskExWrapper.getMenuShortcutKeyMaskEx(), false); + jalview.util.ShortcutKeyMaskExWrapper + .getMenuShortcutKeyMaskEx(), + false); AbstractAction action = new AbstractAction() { @Override @@ -851,7 +858,8 @@ public class SplitFrame extends GSplitFrame implements SplitContainerI } /** - * holds the frame for feature settings, so Protein and DNA tabs can be managed + * holds the frame for feature settings, so Protein and DNA tabs can be + * managed */ JInternalFrame featureSettingsUI;