groovy-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andres Almiray <>
Subject Re: Formatting input text field using Griffon and GroovyFX
Date Wed, 04 May 2016 20:38:13 GMT
As far as I can tel there's no direct support in JavaFX nor in GroovyFX
that will provide the feature you're looking for.
Alternatives are using a converter, as explained at
or use NumericField from JideFX.


Java Champion; Groovy Enthusiast
What goes up, must come down. Ask any system administrator.
There are 10 types of people in the world: Those who understand binary, and
those who don't.
To understand recursion, we must first understand recursion.

On Wed, May 4, 2016 at 9:51 PM, richardba <> wrote:

> Hello there, I'm developing a simple application and I came from Java to
> Groovy which is way simpler and less verbose, I'm using Griffon/GroovyFX
> and
> gridPane to create a simple GUI app, but I have no idea how to format a
> certain textField to only accept numbers, I have tried
> textField(id: 'value', promptText: "Insert value", row: 3, column: 1,
> type:BigDecimal)
> which does not work, the window is grayed out and no component is rendered
> when building and running with gradle, can anyone help me out?
> --
> View this message in context:
> Sent from the Groovy Dev mailing list archive at

View raw message