java - How can i create responsive text with javafx? -
i created label number shown in , want make number responsive gui. how can that? here number current font-size.
label label = new label(); label.settext("12"); label.setfont(font.font("comic sans ms", 35));
thanks :)
if want change values or params of label must use 1 of avelible javafx controls: https://docs.oracle.com/javafx/2/ui_controls/jfxpub-ui_controls.htm
for each control have onactionlistners functions can make changes.
hope help.
Comments
Post a Comment