Class UIHelper

java.lang.Object
net.thevpc.nuts.swing.UIHelper

public class UIHelper extends Object
  • Constructor Details

    • UIHelper

      public UIHelper()
  • Method Details

    • titleLabel

      public static JComponent titleLabel(String str)
    • margins

      public static JComponent margins(JComponent c, int margin)
    • margins

      public static JComponent margins(JComponent c, int top, int left, int bottom, int right)
    • emptyImage

      public static Image emptyImage(int w, int h)
    • concatImagesH

      public static Image concatImagesH(Image a, Image b, int margin)
    • getFixedSizeImage

      public static Image getFixedSizeImage(Image srcImg, int w, int h, boolean preserveRatio)
    • waitForImages

      public static void waitForImages(Image... images)
    • async

      public static void async(Runnable r)
    • withinGUI

      public static void withinGUI(Runnable r)