question: protected void addTextEditor ( ) { String newLabel = JOptionPane . showInputDialog ( this , Bundle . getMessage ( "PromptNewLabel" ) ) ; if ( newLabel == null ) { return ; } PositionableLabel l = addLabel ( newLabel ) ; l . setPositionable ( true ) ; }
target:  Add a label to the target