question: private void checkAndAddResizeHandler ( ) { Component parent = getParent ( ) ; if ( parent != null && resizable && resizeHandler == null ) { resizeHandler = new ResizeHandler ( ) ; parent . addComponentListener ( resizeHandler ) ; } }
target:  Checks conditions and adds resize handler if they are met.