commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Briccetti <da...@davebsoft.com>
Subject Mapping from JavaBeans to Swing components
Date Wed, 08 Dec 2004 04:39:39 GMT
Is there anything in Commons or elsewhere that, given:

1) a JavaBean, and
2) either a java.awt.Container holding Swing components or an object 
with a set of fields that are Swing components

will fetch all the bean properties that match the set of Swing 
components (by name), and set the Swing components from them, or the 
reverse? I'd like to to require no declaration of properties to be 
mapped. It should use reflection or something like that.

Something that handles JTextComponent and maybe JCheckBox and a few 
others would be nice. Integration with XmlBeans would be good (call 
isSetXXX() first to see if there is data).

Thanks.

Dave Briccetti
Lafayette, California


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message