@FXML
void afficher(KeyEvent event) {
if (event.getCode() == KeyCode.ENTER) {
}
I want to make a simple key pessed method, but Netbeans underlines the getCode()
in red whatever I do.
I got:
cannot find symbol symbol: method getCode() location: variable event of type KeyEvent
Flip operands of the binary operator