class LookAndFeelTweaks extends Object
Modifier and Type | Field and Description |
---|---|
static Border |
EMPTY_BORDER |
static Border |
PANEL_BORDER |
static Border |
WINDOW_BORDER |
Constructor and Description |
---|
LookAndFeelTweaks() |
Modifier and Type | Method and Description |
---|---|
static Border |
addMargin(Border border) |
static BorderLayout |
createBorderLayout() |
static PercentLayout |
createHorizontalPercentLayout() |
static PercentLayout |
createVerticalPercentLayout() |
static void |
htmlize(JComponent component) |
static void |
htmlize(JComponent component,
Font font) |
static void |
makeBold(JComponent component) |
static void |
makeMultilineLabel(JTextComponent area) |
static void |
setBorder(JComponent component) |
static void |
setBorderLayout(Container container) |
static void |
tweak() |
public static final Border PANEL_BORDER
public static final Border WINDOW_BORDER
public static final Border EMPTY_BORDER
public static void tweak()
public static PercentLayout createVerticalPercentLayout()
public static PercentLayout createHorizontalPercentLayout()
public static BorderLayout createBorderLayout()
public static void setBorder(JComponent component)
public static void setBorderLayout(Container container)
public static void makeBold(JComponent component)
public static void makeMultilineLabel(JTextComponent area)
public static void htmlize(JComponent component)
public static void htmlize(JComponent component, Font font)
Copyright © 2014 www.staniscia.net. All Rights Reserved.