British english on JavaFX controls

Michael Berry berry120 at
Thu Oct 16 12:06:12 UTC 2014


I'm trying to get the JavaFX controls (specifically the ColorPicker) to
display British English labels, that is "Colour" instead of "Color", but
don't seem to be getting anywhere - do I need to do anything more than
setting the default Locale?

For instance:

public void start(Stage primaryStage) {
        primaryStage.setScene(new Scene(new ColorPicker()));;
} me the ColorPicker with the US spelling of color. (Setting the
locale to other languages seems to work fine.)

Any ideas?



More information about the openjfx-dev mailing list