Hello everyone,
i've built a gwt application and i've created a class for the login of
user.This is the code of this class:
package com.gwt.client;
import com.gwtext.client.widgets.*;
import com.gwtext.client.widgets.form.FieldSet;
import com.gwtext.client.widgets.form.FormPanel;
import com.gwtext.client.widgets.form.TextField;
public class LoginApplicationWindow extends Window {
public LoginApplicationWindow(){
FormPanel formPanel = new FormPanel();
formPanel.setFrame(true);
formPanel.setPaddings(5, 5, 5, 0);
formPanel.setWidth(350);
formPanel.setLabelWidth(75);
formPanel.setTitle("GestionCvs");
FieldSet authentificationfield = new FieldSet("login");
TextField login = new TextField("Login", "login", 210);
TextField pawd= new TextField("Password", "password", 210);
authentificationfield.add(login);
authentificationfield.add(pawd);
formPanel.add(authentificationfield);
this.add(formPanel);
}
}
So when i try to call this class in my module which code is that
package com.gwt.client;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.DialogBox;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;
/**
* Entry point classes define <code>onModuleLoad()</code>.
*/
public class MyApplication implements EntryPoint {
/**
* This is the entry point method.
*/
private LoginApplicationWindow window;
public void onModuleLoad() {
window = new LoginApplicationWindow();
window.show();
}
}
i have this error:Unable to load module entry point class
com.gwt.client.MyApplication (see associated exception for details)
Can you explain me why i have this error and how do i resolve it?
Arnaud
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---