Home » Java » How to show an object name – of File type – in ListView JavaFX

How to show an object name – of File type – in ListView JavaFX

Posted by: admin July 12, 2018 Leave a comment

Questions:

As I wrote in the topic, I don’t know how to do that.
When I add PDF to my ListViewit shows up to me a file directory, not a name.

I’ve tried to use a setCellFactory() method, but I also don’t know how to use it

Sorry for my English.

Answers: