Google Web Toolkit

GWT DialogBox Wizard

Subclasses of the GWT DialogBox class can be created using the GWT DialogBox  wizard. The wizard can be selected from the drop down wizard menu or from the Eclipse New wizard.

To use the wizard, select the project source folder and package to contain the class. Then enter the class name and hit the Finish button.


 


The wizard generates the following code.

import com.google.gwt.user.client.ui.DialogBox;

public
class GwtDialogBoxTest extends DialogBox {
    public GwtDialogBoxTest() {
        setHTML("New dialog");
    }
}

When editing GWT DialogBoxes, all of the standard GWT panels, widgets and menus are available. Custom or third party controls may be added via the Choose Component command.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.