public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static ImageIcon |
createImageIcon(String path) |
static String |
getHelp(Class clazz) |
static Color |
getMixedColor(Color c1,
float pct1,
Color c2,
float pct2)
TODO resolve Duplicate with CompoundImageTools method
|
static String |
getText(InputStream stream,
String defaultText) |
static String |
getTitle(Class clazz) |
static void |
paintBorderShadow(Graphics2D g2,
Color background,
Color borderColor,
int shadowWidth,
Shape shape)
TODO resolve Duplicate with CompoundImageTools method
|
public static ImageIcon createImageIcon(String path) throws Exception
Exceptionpublic static String getText(InputStream stream, String defaultText) throws IOException
IOExceptionpublic static void paintBorderShadow(Graphics2D g2, Color background, Color borderColor, int shadowWidth, Shape shape)
g2 - background - borderColor - shadowWidth - shape - Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.