code: private void updateWrapping() {
      this.editorPane.setWrapStyleWord(this.wrapping != Wrapping.CHAR_WRAP);
      this.editorPane.setLineWrap(this.wrapping != Wrapping.NONE);
      updateBottomPanel();
    }
docs: GEN-LAST:event_labelWrapModeMouseClicked