java - How to remove text from textflow in javafx? -
i'm new javafx , trying display large amount of text in textflow. displays fine, cannot figure out how delete text.
so i'm trying delete text nodes textflow so
textflow.getchildren().removeall();
but when , add textflow, shows after text displayed there. text there removed , show added text beginning of textflow.
i guess have somehow rerender view of textflow, don't know how. how delete , add text anew?
removeall(...)
remove values pass parameters: in case there none, doesn't remove anything. use
textflow.getchildren().clear();
Comments
Post a Comment