@@ -0,0 +1,765 @@
+package com.itmill.toolkit.tests.tickets;%0A%0Aimport com.itmill.toolkit.Application;%0Aimport com.itmill.toolkit.data.Property;%0Aimport com.itmill.toolkit.data.Property.ValueChangeEvent;%0Aimport com.itmill.toolkit.ui.TextField;%0Aimport com.itmill.toolkit.ui.Window;%0A%0Apublic class Ticket2415 extends Application %7B%0A%0A    @Override%0A    public void init() %7B%0A        final Window main = new Window(%22%22);%0A        setMainWindow(main);%0A%0A        final TextField tf = new TextField(%22Try to change me%22);%0A        main.addComponent(tf);%0A%0A        tf.setImmediate(true);%0A        tf.addListener(new Property.ValueChangeListener() %7B%0A%0A            public void valueChange(ValueChangeEvent event) %7B%0A                main.showNotification(%22New value = %22 + tf);%0A            %7D%0A        %7D);%0A%0A    %7D%0A%0A%7D%0A

Test for #2415