Как реализовать перетаскивание элементов между несколькими ListViews из контроллера?
Мой контроллер:
public class Controller implements Initializable{
public ListView firstList;
public ListView secondList;
public ListView thirdList;
private Double size = 1.0d;
@Override
public void initialize(URL location, ResourceBundle resources) {
ObservableList<String> first = FXCollections.observableArrayList("HC-V760 Black", "Xiaomi Yi Sport Black",
"Sony HDR-AS300", "Canon Legria HF G26", "Globex Body Camera GE-911");
ObservableList<String> second = FXCollections.observableArrayList("Canon CanoScan LIDE 120",
"HP ScanJet Pro 2000 s1", "Canon imageFORMULA DR-C225", "IRISCan Book 5 White");
ObservableList<String> third = FXCollections.observableArrayList("Radeon RX570 ROG Strix",
"Asus GeForce GTX 1070", "MSI PCI-Ex GeForce GTX 1080 Ti Duke");
firstList.setItems(first);
secondList.setItems(second);
thirdList.setItems(third);
}
}