void (MouseEvent event) { setPressed(event, false); if (event.getButton() == MouseEvent.BUTTON1 && event.getClickCount() == 2 && TreeUtil.isLocationInExpandControl(Tree.this, event.getX(), event.getY())) { event.consume(); } }