This commit is contained in:
hneemann 2019-08-11 19:07:25 +02:00
parent ad694c2898
commit 350916d1db

View File

@ -340,6 +340,9 @@ public class DataEditor extends JDialog {
@Override @Override
protected void setValue(Object value) { protected void setValue(Object value) {
if (value == null)
super.setValue(value);
String str = Long.toHexString(((MyLong) value).getValue()).toUpperCase(); String str = Long.toHexString(((MyLong) value).getValue()).toUpperCase();
while (str.length() < chars) str = "0" + str; while (str.length() < chars) str = "0" + str;
super.setValue(str); super.setValue(str);