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