removed unnecessary type casting

This commit is contained in:
hneemann 2017-05-22 18:29:14 +02:00
parent f1c6356f89
commit e1a2709636

View File

@ -51,7 +51,7 @@ public final class Screen {
javax.swing.UIManager.put(key, new ScaleIcon(icon, scaling));
}
}
UIManager.put("ScrollBar.width", (int) (size * 17 / 12));
UIManager.put("ScrollBar.width", size * 17 / 12);
}
} catch (HeadlessException e) {
// run with defaults if headless