Malek Boubakri
Malek Boubakri

Reputation: 856

JavaFX: TableView message when empty

I'm working on a java project using Eclipse, javaFX, TableView.. My application is available in three languagues and user can change it from the Setting corner in the app and everything goes right, but i noteced that when a table is empty it show this message or hint line:

enter image description here

As you can see even if user change language this line still in french(My system language) and i don't find any way to change it, change its content or hide it.. Please if anyone can help me in this just post an idea or comment.

Thanks..

Upvotes: 5

Views: 2010

Answers (1)

Ugurcan Yildirim
Ugurcan Yildirim

Reputation: 6132

Try this to set the empty tableview message accordingly each time when language is changed: tableview.setPlaceholder(new Label("Empty tableview!"));

Upvotes: 12

Related Questions