mapping swing widgets directly to beans properties

denis cardon <[email protected]> Fri, 21 Nov 2003 07:01:39 -0800 (PST)
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
Hi y'all,

Getting fed up with transfering data to and fro
XulInputs and beans model, I have written a few
widgets that can be linked directly to beans property.
I think luxor could benefit greatly from this since it
greatly reduce the amount of code needed in order to
write db oriented apps. I'd like to have some feed
back from all of you (sorry, it is only swing based...
no SWT, but shouldn't be too hard to be ported).

The widgets I have yet implemented are : 
- date widget, 
- text field widget (that automatically recognized if
the bean property is numeric or string and act
accordingly), 
- combo field (not demoed in the sample though).

You'll find the sample at this url :
http://denis.cardon.free.fr/sampletest.tar.gz
Sorry, no build.xml, but some eclipse metadata though.
Before start up, be sure to modify the path to chrome
file in the com.tranquilit.planning.main.TestMain
class. (it is at the top of the file).

I hope this could be integrated in some way in the
Luxor trunk because I think it could simplify greatly
developpement. Please give me your feedback!

Cheers,

Denis

=====
=========================
|Denis Cardon, Tranquil I.T. Systems 
|10 rue du Docteur Bouchard, 49400 Saumur
|Tel: +33(0)2.41.67.56.99
|Web: http://www.tranquil-it-systems.fr
=========================

__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/