We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
demo
public class Undefined extends Application { @Override public void start(Stage primaryStage) throws Exception { CodeArea codeArea = new CodeArea(); Button button = new Button("Button"); TextField textField = new TextField(); button.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent event) { Popup popup = new Popup(); popup.getContent().add(textField); popup.show(primaryStage); } }); textField.setOnKeyPressed(new EventHandler<KeyEvent>() { @Override public void handle(KeyEvent keyEvent) { // debug System.err.println(keyEvent.getCode()); } }); VBox vBox = new VBox(); vBox.getChildren().addAll(codeArea, button); Scene scene = new Scene(vBox, 600, 400); primaryStage.setScene(scene); primaryStage.show(); } public static void main(String[] args) { launch(args); } }
test
The text was updated successfully, but these errors were encountered:
No branches or pull requests
demo
test
The text was updated successfully, but these errors were encountered: