public class MSwing extends Object
| Constructor and Description |
|---|
MSwing() |
| Modifier and Type | Method and Description |
|---|---|
static void |
centerDialog(Window _frame,
JDialog _dialog) |
static void |
centerFrame(Window _frame) |
static String[] |
getLookAndFeels() |
static String |
getSelectedPart(JTextArea text) |
static void |
halfFrame(Window _frame) |
static void |
setLookAndFeel(int _nr) |
static BufferedImage |
toBufferedImage(Image _in)
Cast a Image to a Buffered Image.
|
static BufferedImage |
toBufferedImage(Image _in,
int _width,
int _height) |
static Color |
toColor(String string,
Color def)
Convert string information to color.
|
static String |
toString(Color _in)
Convert Color information to string.
|
static String |
toString(Font _in)
Convert Font information to string.
|
static void |
tribleFrame(Window _frame) |
public static Color toColor(String string, Color def)
string - def - public static BufferedImage toBufferedImage(Image _in)
public static BufferedImage toBufferedImage(Image _in, int _width, int _height)
public static String toString(Color _in)
_in - public static String toString(Font _in)
_in - public static void halfFrame(Window _frame)
public static void tribleFrame(Window _frame)
public static void centerFrame(Window _frame)
public static String[] getLookAndFeels()
public static void setLookAndFeel(int _nr)
Copyright © 2014. All rights reserved.