JComponent comp = compAndLabel.getKey();
if (comp instanceof WheelSwitch) {
WheelSwitch w = ((WheelSwitch) comp);
if (w.getValue() > 0) {
Label labelName = compAndLabel.getValue();
Entry entry = null;
for (Entry e : section.getEntries()) {
if (e.getKey().equalsIgnoreCase(labelName.getText().trim())) {
entry = e;
}
}
displayError(entry, section, null, labelName, comp,
"Entries of recording section are mutually exclusive", GENERAL);