Hi Shi, Please be sure that com.gwtext.client.widgets.Panel is supported by google gwt compiler. As java.text.* and java.sql.* are not supported and if used, you will get tonnes of errors.
Cheers, Amit Dhingra On Sun, Sep 14, 2008 at 2:57 PM, Shi <[EMAIL PROTECTED]> wrote: > > Hi, I'm new here, and beginners with GWT. > I am using the plugin Cypal STudio for GWT, but I can not go forward > because when I try to debug an error I always, when I declare and > initialize variables in the onModuleLoad() method or I declare outside > of the method and I initialize inside the method. > I noticed that this happens with variables declared like instance of > class imported from gwtext. > The module is this: > -------------------- > package com.gwt.client; > > import com.google.gwt.core.client.EntryPoint; > import com.google.gwt.user.client.Window; > import com.gwtext.client.widgets.Panel; > > > public class LoginCliente implements EntryPoint { > > private Panel loginPanel = null; > > public void onModuleLoad() { > Window.alert("ciao"); > > Panel formPanel = new Panel(); > }} > > > ---------------------- > LoginCliente.gwt.xml > -------------------- > <module> > > > <inherits name='com.google.gwt.user.User' /> > <inherits name='com.gwtext.GwtExt' /> > > <entry-point class='com.gwt.client.LoginCliente' /> > </module> > > ---------------------------------- > > > Have you any idea? > thank you! > > > > -- Warm Regards, Amit Dhingra --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---