I was wondering if there is a simple way to clone elements in FXML
(such as textboxes) to display them more then one time.
Following situation:
I have a TabView
and want to display on the first Tab elements X
, on the second Tab elements Y
and on the third Tab I want to display X
and Y
.
Dublicating the same fx:id
is not allowed (Netbeans says) and exporting X
and Y
in different .fxml
files, so that I just include them twice, neither works. Thats another problem.
How would you solve this ?