public class UIHelper extends Object
| Constructor and Description |
|---|
UIHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
async(Runnable r) |
static Image |
concatImagesH(Image a,
Image b,
int margin) |
static Image |
emptyImage(int w,
int h) |
static Image |
getFixedSizeImage(Image srcImg,
int w,
int h,
boolean preserveRatio) |
static JComponent |
margins(JComponent c,
int margin) |
static JComponent |
margins(JComponent c,
int top,
int left,
int bottom,
int right) |
static JComponent |
titleLabel(String str) |
static void |
waitForImages(Image... images) |
static void |
withinGUI(Runnable r) |
public static JComponent titleLabel(String str)
public static JComponent margins(JComponent c, int margin)
public static JComponent margins(JComponent c, int top, int left, int bottom, int right)
public static Image emptyImage(int w, int h)
public static Image getFixedSizeImage(Image srcImg, int w, int h, boolean preserveRatio)
public static void waitForImages(Image... images)
public static void async(Runnable r)
public static void withinGUI(Runnable r)
Copyright © 2026 vpc open source initiative. All rights reserved.