Property (final int x, final int y) { // 1. We have to check whether user clicked inside border (if any) or not. // In this case we have return inplace editor for border text final Insets insets = getDelegee().getInsets(); // border insets if ( x < insets.left || x > getWidth() - insets.right || y < 0 || y > insets.top ) { return super.getInplaceProperty(x, y); } // 2. Now we are sure that user clicked inside title area return new MyBorderTitleProperty(); }