Package com.aesthete.swingobjects.fw.common.util

Examples of com.aesthete.swingobjects.fw.common.util.CsmartFormBuilder


  protected JTextField tfPassword;
  protected JButton btnLogon;

  protected void layoutComponents() {
    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();
    this.setContentPane(builder.getPanel());
  }
View Full Code Here

TOP

Related Classes of com.aesthete.swingobjects.fw.common.util.CsmartFormBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.