P
P
Pavel2017-03-21 15:06:30
Java
Pavel, 2017-03-21 15:06:30

How to add Label to JavaFX from Java code?

There is a MySql database. Table (of course) with one column. I do selection of records from the table in a cycle. There is also an fxml file (scene). How to make the content of each entry be displayed in xml in a separate label. Those. there are 3 records in the database, then you keep 3 labels with the contents of the record ..
To create a Label in this cycle.
0f388c0da82f490b8fc95a9c7d51a494.jpg

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question