Package com.commander4j.gui

Examples of com.commander4j.gui.JButton4j.addActionListener()


        }

        {
          final JButton4j exportXlsButton = new JButton4j(Common.icon_XLS);
          exportXlsButton.setToolTipText("Export all rows below to spreadsheet.");
          exportXlsButton.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              exportExcel("multi");
            }
View Full Code Here


      jDesktopPane1.add(textFieldUserCreated);
     
      JButton4j jButtonLookupUserCreated = new JButton4j(Common.icon_lookup);
      jButtonLookupUserCreated.setBounds(680, 134, 21, 21);
      jDesktopPane1.add(jButtonLookupUserCreated);
      jButtonLookupUserCreated.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent e)
        {
          JLaunchLookup.dlgAutoExec = true;
          JLaunchLookup.dlgCriteriaDefault = "";
View Full Code Here

      jDesktopPane1.add(textFieldUserUpdated);
     
      JButton4j jButtonLookupUserUpdated = new JButton4j(Common.icon_lookup);
      jButtonLookupUserUpdated.setBounds(680, 167, 21, 21);
      jDesktopPane1.add(jButtonLookupUserUpdated);
      jButtonLookupUserUpdated.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent e)
        {
          JLaunchLookup.dlgAutoExec = true;
          JLaunchLookup.dlgCriteriaDefault = "";
View Full Code Here

            jButtonExcel.setBounds(490, 75, 120, 32);
            jDesktopPane1.add(jButtonExcel);
          }

          JButton4j button = new JButton4j(Common.icon_search);
          button.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent arg0) {
              buildSQL();
              populateList();
            }
          });
View Full Code Here

          jLabelRecorder.setBounds(242, 8, 102, 21);
          jLabelRecorder.setHorizontalAlignment(SwingConstants.TRAILING);
        }
        {
          JButton4j btnExcel = new JButton4j(Common.icon_XLS);
          btnExcel.addActionListener(new ActionListener()
          {
            public void actionPerformed(ActionEvent arg0)
            {
              export();
            }
View Full Code Here

          jDesktopPane1.add(transactionDateTo);
        }

        {
          final JButton4j exportXlsButton = new JButton4j(Common.icon_XLS);
          exportXlsButton.addActionListener(new ActionListener() {
            public void actionPerformed(final ActionEvent e) {
              export();
            }
          });
          exportXlsButton.setText(lang.get("btn_Excel"));
View Full Code Here

          sampleDate.getEditor().setSize(87, 21);
        }
        {
          JButton4j btnPrint = new JButton4j(Common.icon_print);
          btnPrint.setText(lang.get("btn_Print"));
          btnPrint.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
              updateRecord();
              Long sampleID = sample.generateSampleID();
              String pq = comboBoxPrintQueue.getSelectedItem().toString();
              buildSQL1Record(sampleID);
View Full Code Here

    });
    findButton.setBounds(672, 298, 143, 30);
    desktopPane.add(findButton);

    final JButton4j printButton = new JButton4j(Common.icon_report);
    printButton.addActionListener(new ActionListener()
    {
      public void actionPerformed(ActionEvent e)
      {
        if (list_despatch.getModel().getSize() > 0)
        {
View Full Code Here

    spinnerUnassignedLimit.setValue(1000);
    desktopPane.add(spinnerUnassignedLimit);

    final JButton4j closeButton = new JButton4j(Common.icon_close);

    closeButton.addActionListener(new ActionListener()
    {
      public void actionPerformed(ActionEvent e)
      {
        dispose();
      }
View Full Code Here

    palletFilterCriteriaLabel.setText(lang.get("lbl_Unassigned_Filter"));
    palletFilterCriteriaLabel.setBounds(672, 15, 125, 16);
    desktopPane.add(palletFilterCriteriaLabel);

    final JButton4j refreshButton = new JButton4j(Common.icon_refresh);
    refreshButton.addActionListener(new ActionListener()
    {
      public void actionPerformed(ActionEvent e)
      {
        refresh();
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.