public class MSwing extends Object
MSwing class.
| Constructor and Description |
|---|
MSwing() |
| Modifier and Type | Method and Description |
|---|---|
static void |
centerDialog(Window _frame,
JDialog _dialog)
centerDialog.
|
static void |
centerFrame(Window _frame)
centerFrame.
|
static String[] |
getLookAndFeels()
getLookAndFeels.
|
static String |
getSelectedPart(JTextArea text)
getSelectedPart.
|
static void |
halfFrame(Window _frame)
halfFrame.
|
static void |
setLookAndFeel(int _nr)
setLookAndFeel.
|
static BufferedImage |
toBufferedImage(Image _in)
Cast a Image to a Buffered Image.
|
static BufferedImage |
toBufferedImage(Image _in,
int _width,
int _height)
toBufferedImage.
|
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)
tribleFrame.
|
public static BufferedImage toBufferedImage(Image _in)
_in - a Image object.BufferedImage object.public static BufferedImage toBufferedImage(Image _in, int _width, int _height)
toBufferedImage.
_in - a Image object._width - a int._height - a int.BufferedImage object.public static String toString(Color _in)
public static void halfFrame(Window _frame)
halfFrame.
_frame - a Window object.public static void tribleFrame(Window _frame)
tribleFrame.
_frame - a Window object.public static void centerFrame(Window _frame)
centerFrame.
_frame - a Window object.public static String[] getLookAndFeels()
getLookAndFeels.
String objects.public static void setLookAndFeel(int _nr)
setLookAndFeel.
_nr - a int.Copyright © 2016. All Rights Reserved.