FormLayout layout = new FormLayout("10dlu,pref,10dlu,100dlu,10dlu", "");
CsmartFormBuilder builder = new CsmartFormBuilder(layout);
builder.addComponentsToCenter(null,3,2,CommonComponentFactory.getBoldLabel("logonpanel.logontext1"));
builder.nextLine();
builder.addComponentsToCenter(null,3,2,CommonComponentFactory.getBoldLabel("logonpanel.logontext2"));
builder.nextLine();
builder.addLblKeyAndComp("logonpanel.userid",tfUserId);
builder.nextLine();
builder.addLblKeyAndComp("logonpanel.pass",tfPassword);
builder.addButtonBar(3, ButtonBarPos.Center, null, btnLogon);
builder.complete();