Skip to main content

Any chance of a java.beans.Customizer?

No replies
fommil
Offline
Joined: 2006-11-26
Points: 0

Hi all,

I recently discovered this lovely interface hidden away in the java.beans package

http://docs.oracle.com/javase/6/docs/api/java/beans/Customizer.html

but I was very disappointed that there are no - at least obvious - implementations.

A simple implementation in Swing would claim to offer automatic creation of input forms for arbitrary Javabean objects, with the ability to create custom GUI editors/selectors for fields of non-standard type.

I can see in org.jdesktop.swingx.editors that SwingX supplies some PropertyEditor implementations - which would be the custom editors I mentioned above - but there is no Customizer which would be a great way to make use of this.

What do you recommend for building Javabean editors at runtime? I'm hoping for something that can just build a simple two-column, clean looking, panel.

Regards, Sam