package org.yournamehere.client;

import com.google.gwt.core.client.EntryPoint;
import com.smartgwt.client.widgets.form.DynamicForm;
import com.smartgwt.client.widgets.form.fields.TextItem;
import com.smartgwt.client.widgets.layout.VLayout;

public class MainEntryPoint implements EntryPoint {
 
    public MainEntryPoint() {
    }

    public void onModuleLoad() {
        TextItem textItem = new TextItem();
        textItem.setKeyPressFilter("[]");

        DynamicForm form = new DynamicForm();
        form.setFields(textItem);

        VLayout rootLayout = new VLayout();
        rootLayout.addMember(form);
        rootLayout.draw();
    }
}
