private void removeClipFromCueList() {
audioClips.remove(mainTable.getSelectionModel().getSelectedItem());
}
private void playSelectedTrack() {
Clip selectedClip = mainTable.getSelectionModel().getSelectedItem();
System.out.println("Asking clip "+(selectedClip.getDescription())+" to play");
new Thread(new Task<Void>() {
@Override
protected Void call() throws Exception {
selectedClip.playClip();
return null;
}
}).start();
mainTable.getSelectionModel().selectBelowCell();