---
title: "GWT(Google Web Toolkit)"  
description: "GWT(Google Web Toolkit)"  
author: "Manasavi Rajpoot"  
published: 2010-11-26  
updated: 2010-11-26  
canonical: https://www.mindstick.com/forum/116/gwt-google-web-toolkit  
category: "java"  
tags: ["java"]  
reading_time: 1 minute  

---

# GWT(Google Web Toolkit)

how use the GWT in [java](https://www.mindstick.com/articles/12214/web-development-company-in-india-laid-on-the-foundation-of-concrete-java-programming)\
give the example of its \
thanks in advance.\
\

## Replies

### Reply by Amit Singh

Google Web Toolkit (GWT) is an open source Java development framework that lets you escape the matrix of technologies that make writing AJAX applications so difficult and error prone. With GWT, you can develop and debug AJAX applications in the Java language using the Java development tools of your choice. When you deploy your application to production, the GWT compiler translates your Java application to browser-compliant JavaScript and HTML.\
\
**Sample:**\
\

```
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!");elselabel.setText("");}});RootPanel.get("slot1").add(button);RootPanel.get("slot2").add(label);}}
```


---

Original Source: https://www.mindstick.com/forum/116/gwt-google-web-toolkit

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
