public void cmd_button(){
  setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
  int C_AcctSchema_ID=Env.getContextAsInt(Env.getCtx(),m_WindowNo,"C_AcctSchema_ID",false);
  if (C_AcctSchema_ID <= 0) {
    C_AcctSchema_ID=Env.getContextAsInt(Env.getCtx(),"$C_AcctSchema_ID");
  }
  VAccountDialog ad=new VAccountDialog(Env.getFrame(this),m_title,m_mAccount,C_AcctSchema_ID);
  setCursor(Cursor.getDefaultCursor());
  Integer newValue=ad.getValue();
  setValue(newValue);
  try {
    fireVetoableChange(m_columnName,null,newValue);
  }
 catch (  PropertyVetoException pve) {
  }
}

public void cmd_button ( ) { setCursor ( Cursor . getPredefinedCursor ( Cursor . WAIT_CURSOR ) ) ; int C_AcctSchema_ID = Env . getContextAsInt ( Env . getCtx ( ) , m_WindowNo , "C_AcctSchema_ID" , false ) ; if ( C_AcctSchema_ID <= 0 ) { C_AcctSchema_ID = Env . getContextAsInt ( Env . getCtx ( ) , "$C_AcctSchema_ID" ) ; } VAccountDialog ad = new VAccountDialog ( Env . getFrame ( this ) , m_title , m_mAccount , C_AcctSchema_ID ) ; setCursor ( Cursor . getDefaultCursor ( ) ) ; Integer newValue = ad . getValue ( ) ; setValue ( newValue ) ; try { fireVetoableChange ( m_columnName , null , newValue ) ; } catch ( PropertyVetoException pve ) { } }
button - start dialog
