Mmm,
Well, It works for me in 1.5 and 1.6

I'd suggest that you start again from scratch, or if you like, I can zip you
up a copy which works for me.

Ian

http://examples.roughian.com


2009/3/30 Guy Rouillier <[email protected]>

>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to