Package nu.lazy8.ledger.forms

Examples of nu.lazy8.ledger.forms.CompanyComponents


            Locale.setDefault(lc);
          } catch (Exception eee) {}

          //Ask the user to choose a company/period...
          myInstance.jd = new JDialog(view, Translator.getTranslation("Select the company and period for this session"), true);
          myInstance.companyComponents = new CompanyComponents(myInstance.jd.getContentPane(),
              Translator.getTranslation("Default Company"), true, "setup", view);
          myInstance.companyComponents.AddPeriod(myInstance.jd.getContentPane(),
              Translator.getTranslation("Period"), true);
          if (myInstance.companyComponents.comboBox.getItemCount() > 1 ||
              myInstance.companyComponents.comboBoxPeriod.getItemCount() > 1) {
View Full Code Here


      return;
    }
    Lazy8Ledger.ShowHelp(view, "sie", "");

    //this next component is not added to any real pane
    cc = new CompanyComponents(new JPanel(),
        Translator.getTranslation("Company"), true, "sie", view);
    cc.AddPeriod(new JPanel(), "", false);
    JFileChooser fileDialog = getFileSaveChooser();
    boolean showResult = false;
    try {
View Full Code Here

        }
      }
        );

    cc =
      new CompanyComponents(null, Translator.getTranslation("Company"),
          false, "allreports", view) {
        public void periodChange() {
          try {
            nowSelectedReport.resetDate((java.util.Date) cc.comboBoxPeriod.getSelectedItemsKey(),
                (java.util.Date) cc.comboBoxPeriod.getSelectedItemsSecondaryKey());
View Full Code Here

  public CsvOptionsPane(JFrame views, boolean showDates) {
    setLayout(new GridLayout(4, 1));
    this.view = views;
    JPanel companyPanel = new JPanel();
    companyPanel.setLayout(new GridLayout(2, 1));
    cc = new CompanyComponents(companyPanel,
        Translator.getTranslation("Company"), true, "exportoptions", view);

    add(companyPanel);

    fileTypeButton = new JRadioButton[2];
View Full Code Here

    jPanel1.setLayout(new BoxLayout(jPanel1, BoxLayout.X_AXIS));
    //these next 3 are unused but needed for compatibility
    jTextField3 = new HelpedTextField("ReportTitle", "allreports", view);
    jTextField4 = new HelpedTextField("headerimage", "allreports", view);
    cc = new CompanyComponents(new JPanel(), Translator.getTranslation("Company"), false, helpfile, view);

    JPanel jPanel4 = new JPanel();
    jPanel4.setLayout(new GridLayout(6, 2));
    jPanel1.add(jPanel4);
View Full Code Here

    //       jp.setBorder (new javax.swing.border.TitledBorder(
    //    Translator.getTranslation("Data selection criteria")));
    //       jp.setLayout(new GridLayout(4,2));
    sHelpFile = helpFile;
    sReportTitle = sReportTitlein;
    cc = new CompanyComponents(jp, Translator.getTranslation("Company"), false, helpfile, view);
    cc.AddPeriod(jp, Translator.getTranslation("Period"), false);

    AddDateComponents(jp, helpFile);
    resetDate((java.util.Date) cc.comboBoxPeriod.getSelectedItemsKey(),
        (java.util.Date) cc.comboBoxPeriod.getSelectedItemsSecondaryKey());
View Full Code Here

    JPanel jp1 = new JPanel();
    jp1.setLayout(new GridLayout(4, 2));
    getContentPane().add(jp1);
    jp1.add(new JPanel());
    jp1.add(new JPanel());
    cc = new CompanyComponents(jp1, sText, true, "", null);
    jp1.add(new JPanel());
    jp1.add(new JPanel());

    JButton button3 = new JButton(Translator.getTranslation("OK"));
    button3.addActionListener(
View Full Code Here

        stringPass))) {
      JOptionPane.showMessageDialog(view,
          Translator.getTranslation("Unable to connect to the database.  Perhaps wrong password"),
          Translator.getTranslation("Lazy 8 ledger"),
          JOptionPane.PLAIN_MESSAGE);
      DataConnectDialog ds = ShowDataConnectDialog(view);
      if (ds.isAbort) {
        break;
      }
      stringPass = SetupInfo.getProperty(SetupInfo.CONNECT_PASSWORD);
      stringUser = SetupInfo.getProperty(SetupInfo.CONNECT_USERNAME);
View Full Code Here

   *
   * @param  frame  Description of the Parameter
   * @return        Description of the Return Value
   */
  public static DataConnectDialog ShowDataConnectDialog(JFrame frame) {
    return new DataConnectDialog(frame, createTables);
  }//}}}
View Full Code Here

          workDialog.dispose();
          //final adjustments
          //version 2.20, fix the PeriodId field in Activity2
          lazy8ledger.Lazy8LedgerPlugin.AdjustAllPeriodIds(globalCompId);
          if (!foundAccountType) {
            new Upgrade20Dialogs(view, true, false, "", globalCompId);
          }
          JOptionPane.showMessageDialog(null,
              Translator.getTranslation("Successful"),
              "",
              JOptionPane.PLAIN_MESSAGE);
View Full Code Here

TOP

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

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.