JavaFX and Scene Builder Beginner Course - IntelliJ #12: Key pressed event

preview_player
Показать описание
This is the next video in this series where I will be Using JavaFX and Scene Builder to create simple software with a GUI - Graphical user interface. In this video, I will be talking about ket pressed event, which is events that are triggered when a key is pressed, this allows us to do something when specific keys are pressed.

How to setup JavaFX with IntelliJ:

How to install and use Scene Builder:

This video contains the elements:
- JavaFX
- GUI
- FXML
- Button
- Key pressed
Рекомендации по теме
Комментарии
Автор

i'm working with netbeans and it underlines that "getCode()" in red ...
help

katt
Автор

I am making pong using javaFx, is there any way to register multiple key presses at the same time? I am trying to get both paddles to move at the same time, however when I move one I can't move the other.

arshaqhabib
Автор

Nice short tutorial, I have a question dough is their anyway the button you created could fire of a key event, outputting a keycode into a text Field and continuously concatenating that keycode into the text Field each time the button is pressed ?(?

gillydadude
Автор

Can you please insert the source code of each video

mohamadahmed