Wednesday, February 11, 2009

GWT-Ext and GWT-Ext-UX

Cool GWT-EXT and GWT-EXT-UX. It provide more extra UI components for GWT. The components are slick. They can be easily adoptable by Java programmer. Very similar to Java AWT.

Also, the code can be minimal. For example, to use GWT-EXT-UX's File Upload component. All you needs is

public void onModuleLoad()
{

Panel panel = new Panel();
Button button = new Button("Upload File", new ButtonListenerAdapter()
{
public void onClick(final Button button, EventObject e)
{

UploadDialog dialog = new UploadDialog();

dialog.setUrl(url);

dialog.show();

}

});
panel.add(button);

RootPanel.get().add(panel);

}

Cool isn't it?

1 comment: