gwt

GWT resizable panel.

Is there any way to have a 'Resizable' panel in GWT. By resizable I mean that if you you drag on the edge of Panel it can be resized accordingly. ...

How to display java applet inside GWT page?

Hi, I'm probably missing something simple here, but I can't find the answer elsewhere. I just want to display an applet in my GWT code. OS: Windows XP Java: JDK 1.6.0_10 Other: GWT, GWT-Ext 2.0.5 Here is the applet (obviously simplified for testing): package foo.applet; import javax.swing.JApplet; import java.awt.Graphics; public c...

Is Google Web Toolkit similar to AWT and Swing

I've looked breifly into GWT and like the idea that I can develop in Java and have the application compile down to HTML and JavaScript. Is the concept behind GWT and AWT and Swing the same or different? ...

Patterns and more for clean and easy gui code

Hey, every time i code a gui (in my case with GWT, never touched gui programming before), i notice that my code becomes a big mess, when the applications becomes more complex. It's really frustrating to look over my code and get a headache of all these setters in object constructors and this messy throwing together of these. I am usin...

Process Monitoring in GWT

Does anyone know how to monitor long-running server-side processes in GWT, other than polling the server? We need to do some time-consuming, multiple-step, I/O-bound processing on the server, and it would be nice to display the progress of this processing in the browser. ...

Google Web Tookit User extensions missing Spinner?

When I look at the example of the user extensions of GWT-Ext I saw the Spinner as a user extension: http://www.gwt-ext.com/demo-ux/#spinner When I download the library from http://code.google.com/p/gwt-ext-ux/downloads/list (I downloaded the latest build -- 0.3.0) it does not appear to contain the Spinner class. Can anyone point me in...

What is the best way to test GWT code

What is the best way to test GWT code? GWTTestCase in hosted mode is too slow and none of the mocking frameworks work. Currently we are following MVC as suggested in http://robvanmaris.jteam.nl/2008/03/09/test-driven-development-for-gwt-ui-code/ and using GWTMockUtilities disarm() and restore() to mock widgets. And we havent figured ou...

Have you tried using MVC for GWT client code?

Have you tried using MVC or any other UI pattern for GWT client code. What are the pitfalls/advantages you've faced in different approaches? ...

Is Google Web Toolkit useful to develop complex javascripts ?

Iam a great fan of javascript frameworks especially jQuery .I have always wanted to design sites like "plurk.com" but i know that it needs very huge lines of javascript.so that shut me off.But since i came to know GWT , i really want to test it out and want to ask you if it makes our job easier to develop complex things than with the jav...

GWT -- Hosted mode fonts look larger than compiled version.

When I create an application on my laptop it compiles and renders just fine. If I compile the page and put it on a server to host it, it still renders just fine on multiple computers. However, if I transfer the code to my desktop and run it on my desktop the size of all the fonts is all messed up. Everything is MUCH bigger. As you ca...

GWT vs Flex vs ?

My company is trying to migrate away from a .NET application to something that is purely web-based, and very "ajaxy". The original .NET app is fairly interactive, roughly equivalent to Google Maps as far as user interaction is concerned (zoom, pan, annotate features on a vector map). Our .NET developer is really taken with Flex2. I'll...

Wiki rendering in GWT

Client side rendering is useful when we want to use wiki like syntax. Unfortunately I have not found any library which gives wiki syntax rendering in GWT client side. Does anyone knows such an API/library? ...

GWT Hosted browser font size not matching compiled version

Here is the full extent of the code I have written: public void onModuleLoad() { StackPanel sp = new StackPanel(); VerticalPanel vp = new VerticalPanel(); Hyperlink link = new Hyperlink ("sub text for large font test", "sub text"); vp.add(link); link = new Hyperlink ("i am another string", "sub text"); vp.ad...

Adding Java packages to GWT

I've tried searching but couldn't come up with a defined way on how to add your own packages to a GWT project. My tree structure looks like this: -com.mycompany -public MyApplication.html MyApplication.gwt.xml -com.mycompany.client MyApp.java -com.mycompany.gui TableLayout.java The answer I've seen out there says to ad...

GWT label widget receiving focus when pressing tab key

Current solution: user clicks on label and it is switched with a textarea to allow edit user can leave edit with tab / enter and textarea is switched back to a label The problem is the user has to click on the label with a mouse to get into edit mode. I would like the label to recieve an onFocus event when the user clicks the TAB key...

GWT Dynamic loading using GWT.create() with String literals instead of Class literals

GWT.create() is the reflection equivalent in GWT, But it take only class literals, not fully qualified String for the Class name. How do i dynamically create classes with Strings using GWT.create()? Its not possible according to many GWT forum posts but how is it being done in frameworks like Rocket-GWT (http://code.google.com/p/rock...

GWT get users local decimal separator char

How can I get users local decimal separator character from GWT. I have found the NumberFormat utility, which only returns the whole format and provides parsing. NumberFormat.getDecimalFormat()... Is there a (simple) way to get the decimal separator, thousand separator from the decimal format. ...

Is gwt slow or normal ?

i want to ask about the speed of gwt-ext applications Are there any one tried Gwt-ext application and know that Is it slow or normal ? can i handle images with gwt-ext as example i want to make the image black and white ? thank you saebnajim ...

X is to CSS what GWT is to Javascript; what is X?

Is there a structured language for declaring styles in a sensible way, which can then be rendered into browser specific css files, similar to what GWT does to Javascript? It would ideally be a language that supports variables, deals with browser quirks and differences (e.g. filter:alpha vs opacity), provides an intuitive syntax for comm...

GWT Toolkit: preprocessing files on client side

If there's a way for the client side GWT code to pre-process a file on the client computer? For example, to calculate a checksum of it before submitting the file to the server. ...