ScrollBarUI (JComponent c, boolean isThin) { if (SystemInfo.isMac) { return isThin ? new ThinMacScrollBarUI() : new MacScrollBarUI(); } else { return isThin ? new ThinScrollBarUI() : new DefaultScrollBarUI(); } }