On Mar 30, 8:37 am, Ian Bambury <[email protected]> wrote:
> Is the playground project using GXT?
> If it is, I'd try cutting it out and seeing what happens.
>
> If it isn't, try posting some code.
Ian, thanks, I am using GXT. I ripped all that out, and still no
messages are showing. I've got this reduced to a single "Hello,
world" application. Looks like we are not permitted to attach files
here, so here is the source. I really don't remember, but I think
this was generated via MyEclipse with GWT Designer:
[CODE]
package com.masergy.test.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.Composite;
/**
* Entry point classes define <code>onModuleLoad()</code>.
*/
public class ImageViewer extends Composite implements EntryPoint {
private VerticalPanel pagePanel = new VerticalPanel();
private Button clickMeButton;
public void onModuleLoad() {
String aVersion = GWT.getVersion();
GWT.log("ImageViewer.onModuleLoad GWT version: " + aVersion,
null);
RootPanel rootPanel = RootPanel.get();
pagePanel.setSpacing(10);
pagePanel.setWidth("735px");
rootPanel.add(pagePanel);
clickMeButton = new Button();
pagePanel.add(clickMeButton);
clickMeButton.setText("Version: " + aVersion);
clickMeButton.addClickListener(new ClickListener() {
public void onClick(Widget sender) {
GWT.log("ImageViewer clickMeButton.onClick", null);
Window.alert("Hello, GWT World!");
}
});
}
}
[/CODE]
And here is the gwt.xml file:
[CODE]
<module>
<inherits name="com.google.gwt.user.User"/>
<inherits name='com.google.gwt.user.theme.standard.Standard'/>
<entry-point class="com.masergy.test.client.ImageViewer"/>
</module>
[/CODE]
Appreciate any pointers.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---