This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | getJavaInitializationString() is required in PropertyEditorSupport? | ||
---|---|---|---|
Product: | guibuilder | Reporter: | Masaki Katakai <masaki> |
Component: | Code | Assignee: | issues@guibuilder <issues> |
Status: | RESOLVED INVALID | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Masaki Katakai
2006-09-19 15:51:32 UTC
According to the specification getJavaInitializationString() is required to be implemented. In this case the property is of Integer type. So JBuilder likely generates primitive types directly if it does not get the java init string from the property editor. We don't do this, but could do as well. However, you can fix this on your side easily - implement getJavaInitializationString() and let it return the number converted to string. Even better would be to return the name of the constant, e.g. WORDCASE_UPPER. Thank you very much for quick evaluation. I'll talk to him about this. Hi tpavek,
Can I ask you one more thing?
> According to the specification getJavaInitializationString() is required to be
implemented
Could you please tell us the exact pointer for this spec? I'm sorry I could
not find it, I checked API docs, but I could not see such description.
The JavaBeans specification can be found on http://java.sun.com/products/javabeans/docs/spec.html Look at the section 9.2.6. Closing. |