Object Literals In Java?
Posted
by jjacquay712
on Stack Overflow
See other posts from Stack Overflow
or by jjacquay712
Published on 2010-03-08T22:17:36Z
Indexed on
2010/03/08
22:21 UTC
Read the original article
Hit count: 341
java
I am learning GWT for web development and came across a piece of code I can't really understand.
helloBtn.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
Window.alert("Hello!");
}
});
If someone could explain to me what it is doing that would be great.
Thanks, John
© Stack Overflow or respective owner