Maybe I don't get it right but in an entrypoint class:

@Override

public void onModuleLoad() {

System.out.println("onModuleLoad(): started");

Label label = new Label() {

@Override

public void setText(final String text) {

System.out.println("Label.setText(): " + text);

super.setText(text);

}

};

label.setText("hello world");

System.out.println("onModuleLoad(): finished");

}


will print to console (at least in GWT dev mode, don't want to compile it 
now):


onModuleLoad(): started

Label.setText(): hello world

onModuleLoad(): finished


Isn't this the same code structure as yours? If so it should work. If not 
you probably missed something in your code example.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to