Skip to main content

TextValidationDemo ?

8 replies [Last post]
pms
Offline
Joined: 2008-04-21

Hello Alex,

i see the old TextValidationDemo and i'd love to integrate these Feature to my Application.
Unfortunately the TextValidationDemo doesnt work with the new release of the JXLayer Files, so maybe you can adapt these Demo that it works with the new Version and i can understand how it works ...

Would be great!
Thanks a lot and greetings from germany
Daniel

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
genamiga
Offline
Joined: 2008-04-18

Hello Alex,

I only hoped some advice to begin...

alexfromsun
Offline
Joined: 2005-09-05

Hello genamiga

As I said, you have enough to start

if you have more specific questions - you are welcome

Thanks

alexp

genamiga
Offline
Joined: 2008-04-18

Thank you very much Alex.

But I would like to ask something else...;)

I build my program with NetBeans 6.1 and the GUIBuilder. Could you help me to add the TextValidation feature to an already created JFormattedTextField with the "translucentUI" effect...

Something I can easylly to any JFormattedTextField...like :

JXLayerTools.addValidation(JFormattedTextField, minSize, maxSize, validColor, invalidColor)

or

JXLayerTools.addValidation(JFormattedTextField, MaskFormatter, minSize, maxSize, validColor, invalidColor)

I know I ask much but this can be very useful to a lot of people...

Thank you very much in advance.
Best regards.

alexfromsun
Offline
Joined: 2005-09-05

Hello Genamiga

"Could you help me to add the TextValidation feature"

sounds like - could you write it for me

If that was what you meant - my answer is no, sorry

JXLayer is open sourced, the code is well-commented, various demos are available

you have everything you need to write your own extention

And when your finished your TextValidation feature, please let me know how it works,

I'll probably include it to the project

Thanks

alexp

alexfromsun
Offline
Joined: 2005-09-05

Hello Daniel

The TextValidationDemo has been backported from the previous version,

sources also included to the jxlayer-all.zip

Thanks

alexp

alexfromsun
Offline
Joined: 2005-09-05

Hello Daniel

For some reasons I thought that text validation demo wasn't a as useful, so I didn't backport it from the previous version

I'll add it to the new version shortly and post a message to this thread when it is ready

Greetings from Russia

Have a nice day


alexp

genamiga
Offline
Joined: 2008-04-18

Hello,

I had this problem several times...a lot of the code you can find on Internet about SwingX don't work anymore because they have changed implementation...

Where did you download TextValidationDemo.java ?
I need it too...

Regards.

alexfromsun
Offline
Joined: 2005-09-05

Hello Genamiga

I am not a SwingX guy :-)

anyway I'll add TextValidationDemo, most likely tomorrow

With best regards

alexp