/** * Detects the size of an icon. * * @param hIcon * The icon handle type. * @return Either the requested icon's dimension or an {@link Dimension} * instance of {@code (0, 0)}. */ public static Dimension getIconSize(final HICON hIcon) { return getInstance().getIconSize(hIcon); }