void (@NotNull ListSelectionEvent e) { if (e.getValueIsAdjusting()) return; int viewRow = myTable.getSelectedRow(); if (viewRow != -1) { int modelRow = myTable.convertRowIndexToModel(viewRow); RegistryValue value = myModel.getRegistryValue(modelRow); String description = value.getDescription(); if (value.isRestartRequired()) { myDescriptionLabel.setText(description + "\n" + IdeBundle.message("registry.key.requires.ide.restart.note")); } else { myDescriptionLabel.setText(description); } } else { myDescriptionLabel.setText(null); } }