Image (@Nullable Image image, @NotNull ScaleContext ctx) { if (image == null) { return null; } if (StartupUiUtil.INSTANCE.isJreHiDPI(ctx)) { return RetinaImage.createFrom(image, ctx.getScale(ScaleType.SYS_SCALE), null); } return image; }