| java.lang.Object com.ibm.icu.dev.demo.impl.DemoUtility
DemoUtility | public class DemoUtility (Code) | | |
choiceFont | final public static Font choiceFont(Code) | | |
creditFont | final public static Font creditFont(Code) | | |
numberFont | final public static Font numberFont(Code) | | |
compareLocales | public static int compareLocales(Locale l1, Locale l2)(Code) | | Compares two locals. Return value is negative
if they're different, and more positive the more
fields that match.
|
fixGrid | public static void fixGrid(Container cont, int columns)(Code) | | Provides easy way to use basic functions of GridBagLayout, without
the complications. After building a panel, and inserting all the
subcomponents, call this to lay it out in the desired number of columns.
|
getG7Locales | public static Locale[] getG7Locales()(Code) | | Get the G7 locale list for demos.
|
setInsets | public static void setInsets(Container cont, Component comp, Insets insets)(Code) | | Provides easy way to change the spacing around an object in a GridBagLayout.
Call AFTER fixGridBag, passing in the container, the component, and the
new insets.
|
|
|