Paned.getPosition

int getPosition()

Obtains the position of the divider between the two panes.

Returns

the position of the divider, in pixels