2 Replies Latest reply: Nov 5, 2012 9:24 AM by dscarminiabielefeld RSS

    Add ChangeListener for a TextField

    dscarminiabielefeld
      Hey,
      so basically i want that smth. happens, when the text in my textfield is changed.

      is there something like this:
                  mytextfield.addListener(new EventHandler<ChangeEvent>()
                  {
                      @Override
                     public void handle(ChangeEvent t)
                     {
                          System.out.println("Right now something has Changed in here.");
                     }           
                 });
      thank you very much! :-)
      Regards