Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #13413

inputvalidation of inputdialog

Date 2012-04-05 14:48 +0200
From Mark Sudau <news@sudau.net>
Newsgroups comp.lang.java.programmer
Subject inputvalidation of inputdialog
Message-ID <4f7d94b5$0$7609$9b4e6d93@newsspool1.arcor-online.net> (permalink)
Organization Arcor

Show all headers | View raw


Hi folks,

I need an InputDialog where I can validate the the users input. The 
validation is variable to the belongings of business rules. The 
validation my be a number, regular expression, length or some other kind 
of validation I actually haven't thought of.

It is not wanted to enter data and validate after pressing ok. The 
validation must be done immediately after pressing a key.

I already thought of a KeyListener but using a KeyListener makes it 
difficult to validate the length of a regular expression.

Does any one have an idea?

Kind regards
Mark

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar | Unroll thread


Thread

inputvalidation of inputdialog Mark Sudau <news@sudau.net> - 2012-04-05 14:48 +0200
  Re: inputvalidation of inputdialog markspace <-@.> - 2012-04-05 09:31 -0700

csiph-web