My PropertEditor extends by PropertyEditorSupport and i overwrite getAsText, setAsText and getJavaInitializationString.
- Code: Select all
...
public String getAsText() {
if (this.getValue() == null)
return "";
return ((OwnProperty) this.getValue()).getPropertyValue();
}
public void setAsText(String text){
this.setValue(new OwnProperty(text));
}
...
On NetBeans it works fine.
I attached an simple demo of my problem.
Can every one say me, whats wrong?
Thanks and regards,
Marcel
I have the following setup:
Swing Designer 6.8.0
Eclipse 3.4.0
Java 1.6.0_10
Windows XP sp3