Package nu.lazy8.ledger.forms

Examples of nu.lazy8.ledger.forms.Lazy8ChartPanel


  /**
   *  Description of the Method
   */
  public void AfterGoodWrite() {
    super.AfterGoodWrite();
    EditBus.send(new AccountTypeListChanged(this, "no parameters"));
  }//}}}
View Full Code Here


        }
      }
    }
    EditBus.send(new CompanyListChanged(null, "no parameters"));
    EditBus.send(new CustomerListChanged(null, "no parameters"));
    EditBus.send(new AccountTypeListChanged(null, "no parameters"));
  }//}}}
View Full Code Here

        }
      }
    }
    EditBus.send(new CompanyListChanged(null, "no parameters"));
    EditBus.send(new CustomerListChanged(null, "no parameters"));
    EditBus.send(new AccountTypeListChanged(null, "no parameters"));
    if (isSolveAllConflicts && errorMess.length() != 0) {
      new ErrorDialog(errorMess, false, null);
    }
  }//}}}
View Full Code Here

      st.executeUpdate(dcc.filterSQL("DELETE FROM AccountType WHERE CompId=" + companyId));
      if (deleteCompanyDef) {
        st = dcc.con.createStatement();
        st.executeUpdate(dcc.filterSQL("DELETE FROM Company WHERE CompId=" + companyId));
      }
      EditBus.send(new CompanyListChanged(null, "no parameters"));
    } catch (Exception e) {
      Log.log(Log.DEBUG, null, "Error in RemoveCompanyFromDatabase= " + e);
    }
  }//}}}
View Full Code Here

   */
  public void AfterGoodDelete() {
    //just make sure everything is gone.  Call function that deletes everything
    DeleteCompany.RemoveCompanyFromDatabase(textField1.getInteger().intValue(), view, false);
    super.AfterGoodDelete();
    EditBus.send(new CompanyListChanged(this, "no parameters"));
  }//}}}
View Full Code Here

  }//}}}

  //{{{ +AfterGoodChange() : void
  public void AfterGoodChange() {
    super.AfterGoodChange();
    EditBus.send(new CompanyListChanged(this, "no parameters"));
  }//}}}
View Full Code Here

   *  Description of the Method
   */
  public void AfterGoodWrite() {
    DataConnection.AddDefaultAccountTypes(textField1.getInteger().intValue());
    super.AfterGoodWrite();
    EditBus.send(new CompanyListChanged(this, "no parameters"));
  }//}}}
View Full Code Here

      stmt.setInt(1, iCompId);
      stmt.setString(2, sCompName);
      stmt.executeUpdate();
      stmt.close();
      DataConnection.AddDefaultAccountTypes(iCompId);
      EditBus.send(new CompanyListChanged(null, "no parameters"));
    } catch (Exception ex) {
      System.err.println("Couldnt add company " + iCompId + ":" + sCompName + ":" + ex);
    }
  }//}}}
View Full Code Here

          "UPDATE Company set Name=? where CompId=?"));
      stmt.setString(1, sCompName);
      stmt.setInt(2, iCompId);
      stmt.executeUpdate();
      stmt.close();
      EditBus.send(new CompanyListChanged(null, "no parameters"));
    } catch (Exception ex) {
      System.err.println("Couldnt change company " + iCompId + ":" + sCompName + ":" + ex);
    }
  }//}}}
View Full Code Here

              "",
              JOptionPane.PLAIN_MESSAGE);
        }
      }
    }
    EditBus.send(new CompanyListChanged(null, "no parameters"));
    EditBus.send(new CustomerListChanged(null, "no parameters"));
    EditBus.send(new AccountTypeListChanged(null, "no parameters"));
  }//}}}
View Full Code Here

TOP

Related Classes of nu.lazy8.ledger.forms.Lazy8ChartPanel

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.