/** * Converts horizontal dialog units and returns pixels. * Honors the resolution, dialog font size, platform, and l&f. * * @param dluX the horizontal dialog units * @param component the component that provides the graphics object * @return the given horizontal dialog units as pixels */ public static int dialogUnitXAsPixel(int dluX, Component component) { return dluX == 0 ? 0 : getUnitConverter().dialogUnitXAsPixel(dluX, component); }
/** * Converts horizontal dialog units and returns pixels. * Honors the resolution, dialog font size, platform, and l&f. * * @param dluX the horizontal dialog units * @param component the component that provides the graphics object * @return the given horizontal dialog units as pixels */ public static int dialogUnitXAsPixel(int dluX, Component component) { return dluX == 0 ? 0 : getUnitConverter().dialogUnitXAsPixel(dluX, component); }
/** * Converts horizontal dialog units and returns pixels. Honors the * resolution, dialog font size, platform, and l&f. * * @param dluX * the horizontal dialog units * @param component * the component that provides the graphics object * @return the given horizontal dialog units as pixels */ public static int dialogUnitXAsPixel(int dluX, Component component) { return dluX == 0 ? 0 : getUnitConverter().dialogUnitXAsPixel(dluX, component); }