Package nu.lazy8.util.help

Examples of nu.lazy8.util.help.HelpedComboBox


  /**
   *  Description of the Method
   */
  public void AfterGoodDelete() {
    super.AfterGoodDelete();
    EditBus.send(new CustomerListChanged(this, "no parameters"));
  }//}}}
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

                (String) aValue);
          }
        }//}}}
      };

    sorter = new TableSorter(dataModel);
    // Create the table
    JTable table = new JTable(sorter);
    // Use a scrollbar, in case there are many columns.
    table.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS);
View Full Code Here

          -1, true);
      jTextArea.append(sbRow.toString());
      jTextArea.append(newline);
      double fDebitTotal = 0;
      double fCreditTotal = 0;
      IntHolder iType = new IntHolder();
      do {
        initializeRow(fieldAccSize, 8);

        addField(db.getObject("Amount.Account", iType),
            fieldAccSize, 2, iType.iValue, false);
View Full Code Here

        }//}}}
      };
    fileDialog.setFileFilter(filter);
    if (fileDialog.showOpenDialog(view) == JFileChooser.APPROVE_OPTION) {
      if (fileDialog.getSelectedFile().exists()) {
        WorkingDialog workDialog = new WorkingDialog(view);
        workDialog.setVisible(true);
        workDialog.SetProgress(0);
        try {
          ReadInFile(fileDialog.getSelectedFile());
          workDialog.dispose();
          //final adjustments
          JOptionPane.showMessageDialog(null,
              Translator.getTranslation("Successful"),
              "",
              JOptionPane.PLAIN_MESSAGE);
        } catch (Exception e) {
          e.printStackTrace();
          workDialog.dispose();
          JOptionPane.showMessageDialog(null,
              Translator.getTranslation("Failed to import") + " : " + e,
              "",
              JOptionPane.PLAIN_MESSAGE);
        }
View Full Code Here

    getContentPane().add(ps, BorderLayout.CENTER);
    m_monitor.setText("");
    m_monitor.replaceSelection(Translator.getTranslation("Enter the accounting period you want to work with.  This is usually from the beginning of the year to the end of the year.") + "\n" +
        Translator.getTranslation("Press NEXT to continue."));

    dateField1 = new DateField("From", "periodform", frameParent);
    dateField2 = new DateField("To", "periodform", frameParent);

    rightButton = new JButton(Translator.getTranslation("Next"));

    rightButton.addActionListener(
      new java.awt.event.ActionListener() {
View Full Code Here

    jPanel1.add(textField4);

    jPanel1.add(new JLabel());

    button1 = new HelpedButton(Translator.getTranslation("Cancel"),
        "Cancel", "dataconn", view);

    button1.addActionListener(
      new java.awt.event.ActionListener() {
        //{{{ +actionPerformed(java.awt.event.ActionEvent) : void
        public void actionPerformed(java.awt.event.ActionEvent evt) {
          isAbort = true;
          DataConnectDialog.this.setVisible(false);
        }//}}}
      }
        );

    jPanel1.add(button1);

    JButton button4 = new HelpedButton(Translator.getTranslation("OK"),
        "ok", "dataconn", view);

    button4.addActionListener(
      new java.awt.event.ActionListener() {
        //{{{ +actionPerformed(java.awt.event.ActionEvent) : void
        public void actionPerformed(java.awt.event.ActionEvent evt) {
          buttonOK();
        }//}}}
      }
        );
    jPanel1.add(button4);

    JButton button5 = new HelpedButton(Translator.getTranslation("Help"),
        "help", "dataconn", view);

    button5.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

    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

TOP

Related Classes of nu.lazy8.util.help.HelpedComboBox

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.