X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fgui%2FJvSwingUtils.java;h=e7f992dd37faff03ba188e5f32600d10a4a1a75e;hb=155a17a423e980849fd4dc5f857da1a72b0010b9;hp=d44080a09cbd9cba0f7ea109cf824bbf44920b6a;hpb=9d74e358a8496d97f08ac44ad4dc879125016d94;p=jalview.git diff --git a/src/jalview/gui/JvSwingUtils.java b/src/jalview/gui/JvSwingUtils.java index d44080a..e7f992d 100644 --- a/src/jalview/gui/JvSwingUtils.java +++ b/src/jalview/gui/JvSwingUtils.java @@ -20,8 +20,6 @@ */ package jalview.gui; -import jalview.util.MessageManager; - import java.awt.BorderLayout; import java.awt.Color; import java.awt.Component; @@ -48,6 +46,8 @@ import javax.swing.SwingConstants; import javax.swing.border.Border; import javax.swing.border.TitledBorder; +import jalview.util.MessageManager; + /** * useful functions for building Swing GUIs * @@ -96,20 +96,14 @@ public final class JvSwingUtils } return (enclose ? "" : "") - - // BH 2018 - + // BH 2018 + "
" - - + ttext - - + "
" + + ttext + " " + // + "
" + ((enclose ? "" : "")); - } public static JButton makeButton(String label, String tooltip, @@ -330,13 +324,13 @@ public final class JvSwingUtils * @param entries * @param tooltips */ - public static JComboBox