Split Panel.setSplitPosition

The book, on page 237 has this …

setSplitPosition(75, Sizeable.UNITS_PERCENTAGE);

Is that depreciated? It works, but is lined out, and I could not see what to substitute.

Hi, yes, it is deprecated (but still works). Rather use setSplitPosition(75, Unit.PERCENTAGE);