void (MouseEvent event) { JSplitPane splitPane = getSplitPane(); Point pnt = SwingUtilities.convertPoint(event.getComponent(), event.getPoint(), splitPane); splitPane.dispatchEvent(new MouseEvent(splitPane, event.getID(), event.getWhen(), event.getModifiers(), pnt.x, pnt.y, event.getClickCount(), event.isPopupTrigger(), event.getButton())); }