Questions tagged [gwt]

GWT (formerly the Google Web Toolkit) is a development toolkit for building and optimizing complex browser-based applications. Its goal is to enable productive development of high-performance web applications without requiring the developer to be an expert in browser quirks, XMLHttpRequest, and JavaScript. GWT is used by many products at Google, including the new versions of AdWords and Groups. It's open source and completely free (Apache 2.0 licensed).

GWT (formerly the Google Web Toolkit) is a development toolkit for building and optimizing complex browser-based applications. Its core feature is the Java to JavaScript compiler.

The official docs cover all the basics and advanced topics – it's a great place to start and you'll often come back to it when you want to expand your knowledge of the framework. The docs are sprinkled with example code, but if that's not enough for you, there are always the samples that come with the GWT bundle.

For more esoteric topics the GWT Google Group might be of help. Latest stable version of GWT is 2.8.2 (2017-10-19)

Interesting links

Useful libraries

20828 questions
5
votes
1 answer

Importance of Shared Package in GWT

I realize that GWt doesn't compile the classes not in the Client package. But what is the importance of the shared package? What are the classes that I need to put in this package?
unj2
  • 52,135
  • 87
  • 247
  • 375
5
votes
3 answers

GWT custom widgets height

I need a custom widget height. I tried using this Integer.toString(yourWidget.getElement().getOffsetHeight()) but, If I use it when I create it or add it to the container panel, it returns 0 If I use it in the contrainer panel's onLoad method, it…
david
  • 2,135
  • 4
  • 24
  • 34
5
votes
1 answer

IntelliJ + Spring Boot + GWT superDevMode

Anyone would have and example to make work a gwt project in superDevMode within IntelliJ. I succeed in configuring maven to produce a standalone jar with the emmeded tomcat and the gwt compiled code (js files...). The jar runs well. But I can't make…
5
votes
3 answers

GWT 2.7.0 Super Dev Mode, don't recompile server side code after change

I am starting to learn GWT. I've picked up newest version (2.7.0). I have wrote Entry point class to display start page and to call rpc to server to execute some function. Every change I made in client side source code in Entry point class, cause…
masterdany88
  • 5,041
  • 11
  • 58
  • 132
5
votes
3 answers

When Google plugin for Eclipse 4.5 ( Mars ) would be available?

It's several weeks that Eclipse 4.5 (Mars) has released, but there is no news about official google plugin for this version yet. Does anybody know when we can desire to have this plugin?
Ehsan Khodarahmi
  • 4,772
  • 10
  • 60
  • 87
5
votes
1 answer

SmartGWT Datasource customization tutorial

I'm looking for a good tutorial on how to customize a DataSource in SmartGWT (a code sample will also do for now). Some details: I have a GWT project which uses a proprietary client-server protocol for fetching data (with an extensive API based on…
adamk
  • 45,184
  • 7
  • 50
  • 57
5
votes
3 answers

Does GWT support php?

does GWT support php ?
Harsha M V
  • 54,075
  • 125
  • 354
  • 529
5
votes
2 answers

Why is there commented-out code in native method?

Recently, I've seen a lot of methods with the "native" keyword. It seems very common to have, what seems like, commented out code. public native Something Foo(arg, arg) /*-{ var foo = some.Method(arg); return foo; }-*/; I don't really…
loctrice
  • 2,454
  • 1
  • 23
  • 34
5
votes
1 answer

Eclipse: which files to store in version control for GWT project

I'm working on a GWT project in Eclipse with Mercurial for revision control. Which files should I store under version control? Or, perhaps more succinctly, which files should I not store since they are either part of GWT or are artifacts of the…
Barry Brown
  • 20,233
  • 15
  • 69
  • 105
5
votes
2 answers

Does GWT.create() always create a new object in browser memory?

Suppose I do: VeryLargeObject o1 = GWT.create(VeryLargeObject.class(); VeryLargeObject o2 = GWT.create(VeryLargeObject.class(); ... VeryLargeObject o1000 = GWT.create(VeryLargeObject.class(); where VeryLargeObject is a GWT resource interface which…
Babken Vardanyan
  • 14,090
  • 13
  • 68
  • 87
5
votes
2 answers

uiBinder on Button Clickevent

I'm trying to use uiBinder. I followed the tutorial provided by google, but I don't know why clickevent doesn't work? I want to count number of clicks and show it in the span, it doesn't work, I also put window.alert but it seems that the event…
Marjan
  • 261
  • 4
  • 13
5
votes
2 answers

How to create multiline tooltip text in GWT

I need to show tool tip text in multiple lines, but setTitle() method in gwt is simply ignoring the \n character? Is this possible to achieve?
Reddy
  • 8,737
  • 11
  • 55
  • 73
5
votes
2 answers

Is there a full implementation of the HTML5 Canvas object for GWT?

I'm looking to perform some dynamic charting based on a model via GWT on HTML5 compliant browsers. I know that the following library exists : GWT Canvas The problem is that this library does not support drawing text within the canvas so I can draw…
Chris
  • 4,450
  • 3
  • 38
  • 49
5
votes
3 answers

gwt base64 image

I am getting a base64 byte[] from an xml file via jaxb and I am not sure how to convert this back to an gwt image (which is basically an underlying html img if I understood that correctly). How do I convert into the proper string? My first instinct…
Hoax
  • 1,004
  • 2
  • 15
  • 31
5
votes
0 answers

GWT compilation issues / Intellij IDEA

I have a question regarding GWT compilation. There is a project built on GWT/GXT 2.x which is run under Tomcat on Intellij Idea 14.x. There are a couple of problems I face from time to time and which hard to handle. The first one is that the…
aime
  • 247
  • 4
  • 16