how use the GWT in java
give the example of its
thanks in advance.
GWT(Google Web Toolkit)
3316
26-Nov-2010
Amit Singh
26-Nov-2010Sample:
public class Slicr implements EntryPoint {public void onModuleLoad() {
final Button button = new Button("Click me");
final Label label = new Label();
button.addClickListener(new ClickListener() {
public void onClick(Widget sender) {
if (label.getText().equals(""))
label.setText("Hello World!");
else
label.setText("");
}
});
RootPanel.get("slot1").add(button);
RootPanel.get("slot2").add(label);
}
}