JavaFx :Default Message for Empty ListView
java, javafx, javafx-2, javafx-8, listview
Solution
You have to try this:-
`listView.setPlaceholder(new Label("No Content In List"));`
its 100% working....
Problem
When there is no record in any table it shows a message 'No content in table', which is by default functionality of TableView in JavaFx. So here my question is, does the same can be possible with ListView in JavaFx ? Like, if there is no item in any ListView then it will show a message same as TableView, instead of a blank/empty fields.