/** * Obtains the set icon for the window associated with the specified * window handle. * * @param hwnd * The concerning window handle. * @return Either the window's icon or {@code null} if an error * occurred. */ public static BufferedImage getWindowIcon(final HWND hwnd) { return getInstance().getWindowIcon(hwnd); }