void () { SwingUndoUtil.addUndoRedoActions(this); myEmptyText = new TextComponentEmptyText(this, true) { @Override protected Rectangle getTextComponentBound() { return getEmptyTextComponentBounds(super.getTextComponentBound()); } }; }