E
E
Eugene2017-12-02 17:16:09
Java
Eugene, 2017-12-02 17:16:09

How to enter lists of objects of various classes in TableView?

I tried to do it TableView <Object> myTable, but it did not work, it gives an error during compilation.
The error occurs at this line:

tableView.setItems(FXCollections.observableList(joinList));

Error:
Error:(65, 18) java: incompatible types: inference variable E has incompatible equality constraints java.lang.Object,

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