Package nu.lazy8.ledger.forms

Examples of nu.lazy8.ledger.forms.GraphicsPane$CreateGroupDialog


    j1.add(listPanel);
    if (StandardAccountsDialog.existsStandard()) {
      //create a get standard button
      JPanel jPanel1 = new JPanel();
      jPanel1.setLayout(new GridLayout(3, 1));
      JButton button1 = new HelpedButton(
          Translator.getTranslation("Get predefined standard account"),
          "predefined", "account", view);
      button1.addActionListener(
        new java.awt.event.ActionListener() {
          //{{{ +actionPerformed(java.awt.event.ActionEvent) : void
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            StandardAccountsDialog sad = new StandardAccountsDialog((View) view);
            if (sad.selNumber != 0) {
View Full Code Here


      DataExchangeForm formDataExchangein, boolean bAddOnly, JFrame view) {
    this.view = view;
    dataAccess = dataAccessin;
    formDataExchange = formDataExchangein;

    butAdd = new HelpedButton(Translator.getTranslation("Add"),
        "add", "datamove", view);
    buttonDelete = new HelpedButton(Translator.getTranslation("Delete"),
        "delete", "datamove", view);
    buttonChange = new HelpedButton(Translator.getTranslation("Change"),
        "change", "datamove", view);
    buttonGetNext = new HelpedButton(Translator.getTranslation("Next"),
        "next", "datamove", view);
    buttonGetFirst = new HelpedButton(Translator.getTranslation("First"),
        "first", "datamove", view);
    buttonClear = new HelpedButton(Translator.getTranslation("Clear"),
        "clear", "datamove", view);
    buttonSeek = new HelpedButton(Translator.getTranslation("Find"),
        "find", "datamove", view);
    buttonExit = new HelpedButton(Translator.getTranslation("Exit"),
        "exit", "datamove", view);
    buttonHelp = new HelpedButton(Translator.getTranslation("Help"),
        "help", "datamove", view);
    buttonSeekList = new HelpedButton(Translator.getTranslation("Find list"),
        "findlist", "datamove", view);

    if (bAddOnly) {
      add(butAdd);
      add(buttonExit);
View Full Code Here

    jpButtons.setLayout(new GridLayout(1, 3));
    add(jpButtons, BorderLayout.SOUTH);
    //save button
    //cancel button
    //help button
    JButton b11 = new HelpedButton(Translator.getTranslation("Save"), "Save", "translator", view);
    jpButtons.add(b11);
    b11.addActionListener(
      new java.awt.event.ActionListener() {
        //{{{ +actionPerformed(java.awt.event.ActionEvent) : void
        public void actionPerformed(java.awt.event.ActionEvent evt) {
          buttonSave();
        }//}}}
      }
        );
    JButton b12 = new HelpedButton(Translator.getTranslation("Cancel"), "Cancel", "translator", view);
    jpButtons.add(b12);
    b12.addActionListener(
      new java.awt.event.ActionListener() {
        //{{{ +actionPerformed(java.awt.event.ActionEvent) : void
        public void actionPerformed(java.awt.event.ActionEvent evt) {
          buttonCancel();
        }//}}}
      }
        );
    JButton b13 = new HelpedButton(Translator.getTranslation("Help"), "Help", "translator", view);
    jpButtons.add(b13);
    b13.addActionListener(
      new java.awt.event.ActionListener() {
        //{{{ +actionPerformed(java.awt.event.ActionEvent) : void
        public void actionPerformed(java.awt.event.ActionEvent evt) {
          buttonHelp();
        }//}}}
View Full Code Here

      jLanguageBox = new JComboBox();
      arrayLanguages = new ArrayList();

      jp.add(jLanguageBox);

      JButton b11 = new HelpedButton(Translator.getTranslation("New"), "New", "translator", view);
      jp.add(b11);
      b11.addActionListener(
        new java.awt.event.ActionListener() {
          //{{{ +actionPerformed(java.awt.event.ActionEvent) : void
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            buttonNew();
          }//}}}
        }
          );
      JButton b12 = new HelpedButton(Translator.getTranslation("Load"), "Load", "translator", view);
      jp.add(b12);
      b12.addActionListener(
        new java.awt.event.ActionListener() {
          //{{{ +actionPerformed(java.awt.event.ActionEvent) : void
          public void actionPerformed(java.awt.event.ActionEvent evt) {
            buttonLoad();
          }//}}}
View Full Code Here

   *  Description of the Method
   *
   * @param  jAddhere  Description of the Parameter
   */
  protected void AddButtonComponents(JPanel jAddhere) {
    JButton pdfReportBut = new HelpedButton(Translator.getTranslation("Get report"), "GetReportPDF", "allreports", view);
    jAddhere.add(pdfReportBut);
    pdfReportBut.addActionListener(
      new java.awt.event.ActionListener() {
        //{{{ +actionPerformed(java.awt.event.ActionEvent) : void
        public void actionPerformed(java.awt.event.ActionEvent evt) {
          buttonGetJFreeReportPreperation();
        }//}}}
      }
        );

    JButton b10 = new HelpedButton(Translator.getTranslation("Get text only report"), "GetReport", "allreports", view);
    jAddhere.add(b10);
    b10.addActionListener(
      new java.awt.event.ActionListener() {
        //{{{ +actionPerformed(java.awt.event.ActionEvent) : void
        public void actionPerformed(java.awt.event.ActionEvent evt) {
          buttonGetReportPreperation(false);
        }//}}}
      }
        );

    jAddhere.add(b10);

    JButton b11 = new HelpedButton(Translator.getTranslation("Exit"), "Exit", "allreports", view);
    jAddhere.add(b11);
    b11.addActionListener(
      new java.awt.event.ActionListener() {
        //{{{ +actionPerformed(java.awt.event.ActionEvent) : void
        public void actionPerformed(java.awt.event.ActionEvent evt) {
          buttonExit();
        }//}}}
      }
        );
    JButton b12 = new HelpedButton(Translator.getTranslation("Help"), "Help", "allreports", view);
    jAddhere.add(b12);
    b12.addActionListener(
      new java.awt.event.ActionListener() {
        //{{{ +actionPerformed(java.awt.event.ActionEvent) : void
        public void actionPerformed(java.awt.event.ActionEvent evt) {
          buttonHelp();
        }//}}}
View Full Code Here

    nowSelectedReport.jTextField3 = new HelpedTextField("ReportTitle", "allreports", view);
    jpImage = new JPanel();
    jpImage.setLayout(new BoxLayout(jpImage, BoxLayout.X_AXIS));
    nowSelectedReport.jTextField4 = new HelpedTextField("headerimage", "allreports", view);
    jpImage.add(nowSelectedReport.jTextField4);
    JButton browse = new HelpedButton(Translator.getTranslation("Browse"),
        "headerimage", "allreports", view);
    jpImage.add(browse);
    browse.addActionListener(
      new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent evt) {
          buttonBrowseImage();
        }
      }
View Full Code Here

    mePanel.add(new HelpedLabel(Translator.getTranslation("Report header image"), "headerimage", "allreports", view));

    jpImage = new JPanel();
    jpImage.setLayout(new BoxLayout(jpImage, BoxLayout.X_AXIS));
    jpImage.add(nowSelectedReport.jTextField4);
    JButton browse = new HelpedButton(Translator.getTranslation("Browse"),
        "headerimage", "allreports", view);
    jpImage.add(browse);
    browse.addActionListener(
      new java.awt.event.ActionListener() {
        //{{{ +actionPerformed(java.awt.event.ActionEvent) : void
        public void actionPerformed(java.awt.event.ActionEvent evt) {
          buttonBrowseImage();
        }//}}}
View Full Code Here

    jPanel1.add(textField2);

    jPanel1.add(label3);
    jPanel1.add(textField3);

    checkbox4 = new HelpedCheckBox(Translator.getTranslation("Include in the balance in reports"),
        false, "balance", "accounttype", view);
    jPanel1.add(new JPanel());
    jPanel1.add(checkbox4);

    accountTypeAccess = new JdbcTable("AccountType", 2, view);
View Full Code Here

  /**
   *  Description of the Method
   */
  public void CreateAllComponents() {
    //Create all the components
    jReports = new HelpedComboBox("Reports", "allreports", view);
    jReports.setMaximumRowCount(9);
    //*** add the static reports
    jReports.addItem(Translator.getTranslation("BalanceResult"));
    jReports.addItem(Translator.getTranslation("Trial balance report"));
    jReports.addItem(Translator.getTranslation("Transaction report"));
View Full Code Here

   *
   * @param  jPanel1  Description of the Parameter
   */
  public void getSpecialGuiPane(JPanel jPanel1) {
    AddDateComponents(jPanel1, "allreports");
    jPanel1.add(new HelpedLabel(Translator.getTranslation("Start Transaction number"),
        "Start", "allreports", view));
    intField1 = new IntegerField("Start", "allreports", view);
    jPanel1.add(intField1);
    jPanel1.add(new HelpedLabel(Translator.getTranslation("Stop Transaction number"),
        "Stop", "allreports", view));
    intField2 = new IntegerField("Stop", "allreports", view);
    jPanel1.add(intField2);
  }//}}}
View Full Code Here

TOP

Related Classes of nu.lazy8.ledger.forms.GraphicsPane$CreateGroupDialog

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.