< prev index next >
apps/toys/Hello/src/main/java/a11y/HelloText.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 44,54 ****
}
@Override public void start(Stage stage) {
final Text text = new Text("01234");
! text.impl_selectionFillProperty().set(Color.BLUE);
text.setFont(Font.font(50));
Label l1 = new Label("name");
TextField tf1 = new TextField("Hello JavaFX Accessiblity");
l1.setLabelFor(tf1);
--- 44,54 ----
}
@Override public void start(Stage stage) {
final Text text = new Text("01234");
! text.selectionFillProperty().set(Color.BLUE);
text.setFont(Font.font(50));
Label l1 = new Label("name");
TextField tf1 = new TextField("Hello JavaFX Accessiblity");
l1.setLabelFor(tf1);
< prev index next >