is it possible, to disable Ctrl+V shortcut in my JavaFx application ? its like in the textfields, user will not be able to copy text from somewhere and paste it using Ctrl+V.
here's my controller class :
package application;
import com.jfoenix.controls.JFXTextField;
import javafx.fxml.FXML;
public class Controller {
@FXML
private JFXTextField t1 = new JFXTextField() {
@Override
public void paste() {
//do something to stop paste
}
};
}