protected void addTextEditor(){
  String newLabel=JOptionPane.showInputDialog(this,Bundle.getMessage("PromptNewLabel"));
  if (newLabel == null) {
    return;
  }
  PositionableLabel l=addLabel(newLabel);
  l.setPositionable(true);
}

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