javafx-按键绑定事件按钮

     search.setOnKeyPressed(new EventHandler<KeyEvent>() {
   
         @Override
         public void handle(KeyEvent event) {
   
             if<

你可能感兴趣的:(javafx,按键,事件,绑定)