public boolean mouseMove(Component component, int x, int y) {
boolean consumed = super.mouseMove(component, x, y);
if (Mouse.getCapturer() == component) {
SplitPane splitPane = (SplitPane)TerraSplitPaneSkin.this.getComponent();
Orientation orientation = splitPane.getOrientation();
// Calculate the would-be new split location
int splitLocation;
if (orientation == Orientation.HORIZONTAL) {
splitLocation = component.getX() + x - dragOffset;