We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 304cbec commit 0282d0eCopy full SHA for 0282d0e
java/form/src/org/netbeans/modules/form/editors/MnemonicEditor.java
@@ -133,9 +133,11 @@ public void setAsText(String text) throws IllegalArgumentException {
133
public void setValue(Object newValue) throws IllegalArgumentException {
134
if (newValue instanceof Integer) {
135
super.setValue(newValue);
136
+ return;
137
} else if (newValue instanceof Character) {
138
char c = (Character) newValue;
139
super.setValue((int)c);
140
141
} else if (newValue instanceof String) {
142
String text = (String) newValue;
143
if (text.length() >= 1) {
0 commit comments