private void statInit(){
  lDocumentNo.setLabelFor(fDocumentNo);
  fDocumentNo.setBackground(AdempierePLAF.getInfoBackground());
  fDocumentNo.addActionListener(this);
  fcheckReceipt.setSelected(true);
  fcheckReceipt.setActionCommand("OnlyReceipt");
  fcheckReceipt.addActionListener(this);
  fcheckPayment.setSelected(false);
  fcheckPayment.setActionCommand("OnlyPayment");
  fcheckPayment.addActionListener(this);
  fBankAccount_ID=new VLookup("C_BankAccount_ID",false,false,true,MLookupFactory.get(Env.getCtx(),p_WindowNo,0,MColumn.getColumn_ID(MPayment.Table_Name,MPayment.COLUMNNAME_C_BankAccount_ID),DisplayType.TableDir));
  lBankAccount_ID.setLabelFor(fBankAccount_ID);
  fBankAccount_ID.setBackground(AdempierePLAF.getInfoBackground());
  fBankAccount_ID.addActionListener(this);
  fBPartner_ID=new VLookup("C_BPartner_ID",false,false,true,MLookupFactory.get(Env.getCtx(),p_WindowNo,0,MColumn.getColumn_ID(MPayment.Table_Name,MPayment.COLUMNNAME_C_BPartner_ID),DisplayType.Search));
  lBPartner_ID.setLabelFor(fBPartner_ID);
  fBPartner_ID.setBackground(AdempierePLAF.getInfoBackground());
  fBPartner_ID.addActionListener(this);
  lDateFrom.setLabelFor(fDateFrom);
  fDateFrom.setBackground(AdempierePLAF.getInfoBackground());
  fDateFrom.setToolTipText(Msg.translate(Env.getCtx(),"DateFrom"));
  fDateFrom.addActionListener(this);
  lDateTo.setLabelFor(fDateTo);
  fDateTo.setBackground(AdempierePLAF.getInfoBackground());
  fDateTo.setToolTipText(Msg.translate(Env.getCtx(),"DateTo"));
  fDateTo.addActionListener(this);
  lAmtFrom.setLabelFor(fAmtFrom);
  fAmtFrom.setBackground(AdempierePLAF.getInfoBackground());
  fAmtFrom.setToolTipText(Msg.translate(Env.getCtx(),"AmtFrom"));
  fAmtFrom.setBorder(fDateFrom.getBorder());
  fAmtFrom.addActionListener(this);
  lAmtTo.setLabelFor(fAmtTo);
  fAmtTo.setBackground(AdempierePLAF.getInfoBackground());
  fAmtTo.setToolTipText(Msg.translate(Env.getCtx(),"AmtTo"));
  fAmtTo.setBorder(fDateFrom.getBorder());
  fAmtTo.addActionListener(this);
  CPanel amtPanel=new CPanel();
  CPanel datePanel=new CPanel();
  amtPanel.setLayout(new ALayout(0,0,true));
  amtPanel.add(fAmtFrom,new ALayoutConstraint(0,0));
  amtPanel.add(lAmtTo,null);
  amtPanel.add(fAmtTo,null);
  datePanel.setLayout(new ALayout(0,0,true));
  datePanel.add(fDateFrom,new ALayoutConstraint(0,0));
  datePanel.add(lDateTo,null);
  datePanel.add(fDateTo,null);
  p_criteriaGrid.add(lDocumentNo,new ALayoutConstraint(0,0));
  p_criteriaGrid.add(fDocumentNo,null);
  p_criteriaGrid.add(lBPartner_ID,null);
  p_criteriaGrid.add(fBPartner_ID,null);
  p_criteriaGrid.add(fcheckReceipt,new ALayoutConstraint(0,5));
  p_criteriaGrid.add(lBankAccount_ID,new ALayoutConstraint(1,0));
  p_criteriaGrid.add(fBankAccount_ID);
  p_criteriaGrid.add(lDateFrom,null);
  p_criteriaGrid.add(datePanel,null);
  p_criteriaGrid.add(fcheckPayment,new ALayoutConstraint(1,5));
  p_criteriaGrid.add(lAmtFrom,new ALayoutConstraint(2,2));
  p_criteriaGrid.add(amtPanel,null);
}

private void statInit ( ) { lDocumentNo . setLabelFor ( fDocumentNo ) ; fDocumentNo . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fDocumentNo . addActionListener ( this ) ; fcheckReceipt . setSelected ( true ) ; fcheckReceipt . setActionCommand ( "OnlyReceipt" ) ; fcheckReceipt . addActionListener ( this ) ; fcheckPayment . setSelected ( false ) ; fcheckPayment . setActionCommand ( "OnlyPayment" ) ; fcheckPayment . addActionListener ( this ) ; fBankAccount_ID = new VLookup ( "C_BankAccount_ID" , false , false , true , MLookupFactory . get ( Env . getCtx ( ) , p_WindowNo , 0 , MColumn . getColumn_ID ( MPayment . Table_Name , MPayment . COLUMNNAME_C_BankAccount_ID ) , DisplayType . TableDir ) ) ; lBankAccount_ID . setLabelFor ( fBankAccount_ID ) ; fBankAccount_ID . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fBankAccount_ID . addActionListener ( this ) ; fBPartner_ID = new VLookup ( "C_BPartner_ID" , false , false , true , MLookupFactory . get ( Env . getCtx ( ) , p_WindowNo , 0 , MColumn . getColumn_ID ( MPayment . Table_Name , MPayment . COLUMNNAME_C_BPartner_ID ) , DisplayType . Search ) ) ; lBPartner_ID . setLabelFor ( fBPartner_ID ) ; fBPartner_ID . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fBPartner_ID . addActionListener ( this ) ; lDateFrom . setLabelFor ( fDateFrom ) ; fDateFrom . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fDateFrom . setToolTipText ( Msg . translate ( Env . getCtx ( ) , "DateFrom" ) ) ; fDateFrom . addActionListener ( this ) ; lDateTo . setLabelFor ( fDateTo ) ; fDateTo . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fDateTo . setToolTipText ( Msg . translate ( Env . getCtx ( ) , "DateTo" ) ) ; fDateTo . addActionListener ( this ) ; lAmtFrom . setLabelFor ( fAmtFrom ) ; fAmtFrom . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fAmtFrom . setToolTipText ( Msg . translate ( Env . getCtx ( ) , "AmtFrom" ) ) ; fAmtFrom . setBorder ( fDateFrom . getBorder ( ) ) ; fAmtFrom . addActionListener ( this ) ; lAmtTo . setLabelFor ( fAmtTo ) ; fAmtTo . setBackground ( AdempierePLAF . getInfoBackground ( ) ) ; fAmtTo . setToolTipText ( Msg . translate ( Env . getCtx ( ) , "AmtTo" ) ) ; fAmtTo . setBorder ( fDateFrom . getBorder ( ) ) ; fAmtTo . addActionListener ( this ) ; CPanel amtPanel = new CPanel ( ) ; CPanel datePanel = new CPanel ( ) ; amtPanel . setLayout ( new ALayout ( 0 , 0 , true ) ) ; amtPanel . add ( fAmtFrom , new ALayoutConstraint ( 0 , 0 ) ) ; amtPanel . add ( lAmtTo , null ) ; amtPanel . add ( fAmtTo , null ) ; datePanel . setLayout ( new ALayout ( 0 , 0 , true ) ) ; datePanel . add ( fDateFrom , new ALayoutConstraint ( 0 , 0 ) ) ; datePanel . add ( lDateTo , null ) ; datePanel . add ( fDateTo , null ) ; p_criteriaGrid . add ( lDocumentNo , new ALayoutConstraint ( 0 , 0 ) ) ; p_criteriaGrid . add ( fDocumentNo , null ) ; p_criteriaGrid . add ( lBPartner_ID , null ) ; p_criteriaGrid . add ( fBPartner_ID , null ) ; p_criteriaGrid . add ( fcheckReceipt , new ALayoutConstraint ( 0 , 5 ) ) ; p_criteriaGrid . add ( lBankAccount_ID , new ALayoutConstraint ( 1 , 0 ) ) ; p_criteriaGrid . add ( fBankAccount_ID ) ; p_criteriaGrid . add ( lDateFrom , null ) ; p_criteriaGrid . add ( datePanel , null ) ; p_criteriaGrid . add ( fcheckPayment , new ALayoutConstraint ( 1 , 5 ) ) ; p_criteriaGrid . add ( lAmtFrom , new ALayoutConstraint ( 2 , 2 ) ) ; p_criteriaGrid . add ( amtPanel , null ) ; }
static setup - add fields to parameterpanel
