Save a backup of your project with the old Gwm release! (just for safety ;))
Delete the Gwm themes folder (/public/themes) and the Gwm folder (/public/gwm) in your public folder
Copy the themes folder from the Gwm distribution to your public folder
Add an -off.css link entry to your html host file for each theme your referencing (so that in the end you have two links to a theme, one with -off and one without) like this
Note: these extra style are optional (the default theme is automatically injected)
Delete the link entry to the default gwm theme. So delete this line in your host html
DefaultGDialog gdialog = new DefaultGDialog("Customized DefaultGDialog");
HTML content = new HTML("This a customized GDialog content");
gdialog.setMessage(content);
gdialog.setMessageType(GDialog.ERROR_MESSAGE);
gdialog.setOptions(GDialog.YES_NO_CANCEL_OPTION_TYPE, new String[]{"SURE" , "NEVER" , "DON'T SPAM PLEASE"});
gdialog.setGDialogChoiceListener(new GDialogChoiceListener(){
public void onChoice(GDialog dialog) {
Window.alert(((Option)dialog.getSelectedOption()).getValue().toString());
}});
gdialog.show();
That's it, you should be ready to go. Have fun! :)