X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fappletgui%2FEmbmenuFrame.java;h=53782c0bb0069e8586a16b7c0df73b4c8559619d;hb=6f04e0a80f3c3ba8087a1ad316debd395d0a4db0;hp=be4eab62b6401bcf61e993d86180e1e20a2defab;hpb=be32c14cd8e48fe0a207cd7030cb9cd46f894678;p=jalview.git diff --git a/src/jalview/appletgui/EmbmenuFrame.java b/src/jalview/appletgui/EmbmenuFrame.java index be4eab6..53782c0 100644 --- a/src/jalview/appletgui/EmbmenuFrame.java +++ b/src/jalview/appletgui/EmbmenuFrame.java @@ -51,8 +51,8 @@ import java.util.Map; */ public class EmbmenuFrame extends Frame implements MouseListener { - protected static final Font FONT_ARIAL_PLAIN_11 = new Font( - "Arial", Font.PLAIN, 11); + protected static final Font FONT_ARIAL_PLAIN_11 = new Font("Arial", + Font.PLAIN, 11); public static final Font DEFAULT_MENU_FONT = FONT_ARIAL_PLAIN_11; @@ -156,8 +156,7 @@ public class EmbmenuFrame extends Frame implements MouseListener * @return the panel instance for convenience. */ protected Panel makeEmbeddedPopupMenu(MenuBar menuBar, Font font, - boolean overrideFonts, - Panel embeddedMenu, + boolean overrideFonts, Panel embeddedMenu, MouseListener clickHandler) { if (overrideFonts) @@ -208,8 +207,8 @@ public class EmbmenuFrame extends Frame implements MouseListener if (popup != null) { embeddedMenu.add(popup); - popup.show(embeddedMenu, source.getBounds().x, source.getBounds().y - + source.getBounds().getSize().height); + popup.show(embeddedMenu, source.getBounds().x, + source.getBounds().y + source.getBounds().getSize().height); } }