/** * Converts horizontal dialog units and returns pixels. * Honors the resolution, dialog font size, platform, and l&f. * * @param dluX the horizontal dialog units * @param c a Component that provides the font and graphics * @return the given horizontal dialog units as pixels */ public int dialogUnitXAsPixel(int dluX, Component c) { return dialogUnitXAsPixel(dluX, getDialogBaseUnitsX(c)); }
/** * Converts horizontal dialog units and returns pixels. * Honors the resolution, dialog font size, platform, and l&f. * * @param dluX the horizontal dialog units * @param c a Component that provides the font and graphics * @return the given horizontal dialog units as pixels */ @Override public int dialogUnitXAsPixel(int dluX, Component c) { return dialogUnitXAsPixel(dluX, getDialogBaseUnitsX(c)); }
/** * Converts horizontal dialog units and returns pixels. Honors the * resolution, dialog font size, platform, and l&f. * * @param dluX * the horizontal dialog units * @param c * a Component that provides the font and graphics * @return the given horizontal dialog units as pixels */ public int dialogUnitXAsPixel(int dluX, Component c) { return dialogUnitXAsPixel(dluX, getDialogBaseUnitsX(c)); }