JavaFX Form Validation

Greg Brown greg.x.brown at oracle.com
Mon Jun 11 10:31:48 PDT 2012


This is the same as what I proposed. I just broke the addAll() into two add() calls to show parity with the FXML version.

On Jun 11, 2012, at 8:07 AM, Tom Eugelink wrote:

> Yup, close enough. This is the better combination between my suggestion and Greg's FXML version. IMHO.
> 
> Tom
> 
> On 2012-06-11 13:30, Randahl Fink Isaksen wrote:
>> I like your idea Tom. But if it should look like the existing JavaFX API's, it will probably be more like
>> 
>> myTextField.getValidators().addAll(new MandatoryValidator(), new UserNameValidator());
>> 
>> Randahl
>> 
> 



More information about the openjfx-dev mailing list