Oh by the way is that a textarea you are using to display the errors/warnings at the bottom of the
panel ? I didn't realise you could put icons in them !
Steve
> Wow Karsten thats some impressive work you have done there :)
>
[quoted text clipped - 7 lines]
>
> Steve
> Wow Karsten thats some impressive work you have done there :)
Thanks for the compliments.
I bind domain model data to JTextFields and JFormattedTextFields
and commit text changes as value changes on different events:
character typed, focus lost, value commit action, valid edit.
Likely I'll talk about the binding and validation in a BOF
at this year's JavaOne. And I'm going to talk about it in
a session at the JAX 2004. Therefore I favor to put together
presentation slides that explain how everythings is tied
together, and how you can configure the binding, commit time,
validation, validation time, etc.
The tutorial for my Validation library already contain
the sources for the Validation Demo. I just need to
update the JavaDocs a little.
The demo uses different validation result renderers:
JLabel, JTextArea, and a JPanel that consists of a
JLabel and JTextArea. The JLabel is bound to the
severity of the validation result, the text area
to the validation messages localized text. I plan
to add a JTable validation result view too.
Hope this helps.
Karsten
Steve Webb - 17 Mar 2004 09:47 GMT
I had a look on your site Karsten but I failed to find any code or
documentation for the validation demo ?
Cheers
Steve
Karsten Lentzsch - 17 Mar 2004 10:06 GMT
> I had a look on your site Karsten but I failed to find any code or
> documentation for the validation demo ?
The Validation library and tutorial sources are not yet
available to the general public, they ship in a product.
Validation is already a project at JavaDesktop.org,
but I it's non-public with only a few expert observers.
I plan to open source the Validation library as well
as the Binding library. It's just that I need money
to live and eat and feed my family. Product revenues
and sponsors finance my Java desktop activities.
There more people license my Swing Suite the earlier
I can open source the existing libs and can proceed
and create new solution, examples, tutorials.
Also, I hold back Validation a little until there's
a tutorial and demo for the Binding library. Both
libraries are independent, but most Validation tutorial
items are easier to understand if you know about Binding.
Due to the time constraints for the upcoming conferences
and talks about Binding and Validation there will be
more material about both issues: binding and validation.
And I hope that some professional users can justify
the costs to license the Swing Suite product so I can
open more parts.
Hope this clarifies the situtaion. Best regards,
Karsten