mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 00:40:28 +07:00
13 lines
363 B
Java
13 lines
363 B
Java
public class FieldTest {
|
|
private Object comboBox;
|
|
|
|
private class NoSelectionComboItem {
|
|
private NoSelectionComboItem() {
|
|
}
|
|
|
|
public String getLabel() {
|
|
Object comboItem = <selection>comboBox</selection>.getSelectedItem();
|
|
return comboItem == this ? "<Please Select>" : "<Back to overview>";
|
|
}
|
|
}
|
|
} |