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

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -