I tried to add action handlers to text field using the addEventHandler() but seem not to be working. Is it even possible o is it a bug? If I try the same with Button control everything is fine.

Here is the sample code:

```
package com.teste;

import javafx.application.Application;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.TextField;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;

public class EventHandlerTest extends Application {

@Override
public void start(Stage stage) throws Exception {
    // TODO Auto-generated method stub
    stage.setTitle("Custom JavaFX Event");
    TextField btn = new TextField();
    btn.setId("Fire Button");
    btn.setText("Fire MyEvent'");

    btn.addEventHandler(ActionEvent.ACTION, new EventHandler<ActionEvent>() {

        @Override
        public void handle(ActionEvent event) {

            if (event.getEventType().equals(ActionEvent.ACTION)) {
                System.out.println("ActionEvent 2");
            }
        }     
    }); 

    StackPane root = new StackPane();
    root.getChildren().add(btn);
    stage.setScene(new Scene(root, 300, 250));
    stage.show();
}

/**
 * @param args
 */
public static void main(String[] args) {
    // TODO Auto-generated method stub
    launch(args);
}

}

```

Documentation says it should be possible, but can't find anything else. Any ideas?