public void mouseDragged(MouseEvent e) {
      if (station.isResizingEnabled()) {
        if (pressed && current != null) {
          divider = current.getDividerAt(e.getX() + deltaX, e.getY() + deltaY);
          divider =
              station.getCurrentSplitLayoutManager().validateDivider(station, divider, current);
          repaint(bounds.x, bounds.y, bounds.width, bounds.height);
          bounds = current.getDividerBounds(divider, bounds);
          repaint(bounds.x, bounds.y, bounds.width, bounds.height);

          if (station.isContinousDisplay() && current != null) {
            current.setDivider(divider);
            station.updateBounds();
          }
        }
      }
    }