Package com.commander4j.gui

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


      jButtonRefresh.setMnemonic('0');
      jButtonRefresh.setBounds(469, 394, 120, 30);
      jDesktopPane1.add(jButtonRefresh);

      JButton4j jButtonAdd = new JButton4j(Common.icon_add);
      jButtonAdd.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent e)
        {
          addRecord();
        }
View Full Code Here


      jButtonAdd.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_AUTO_LAB_ADD"));
      jButtonAdd.setBounds(109, 394, 120, 30);
      jDesktopPane1.add(jButtonAdd);

      JButton4j JButtonEdit = new JButton4j(Common.icon_edit);
      JButtonEdit.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent e)
        {
          editRecord();
        }
View Full Code Here

      JButtonEdit.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_AUTO_LAB_EDIT"));
      JButtonEdit.setBounds(229, 394, 120, 30);
      jDesktopPane1.add(JButtonEdit);

      JButton4j jButtonDelete = new JButton4j(Common.icon_delete);
      jButtonDelete.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent e)
        {
          deleteRecord();
        }
View Full Code Here

          jLabel1.setBounds(256, 11, 129, 21);
          jLabel1.setHorizontalAlignment(SwingConstants.TRAILING);
        }
        {
          JButton4j btnExcel = new JButton4j(Common.icon_XLS);
          btnExcel.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent arg0) {
              export();
            }
          });
          btnExcel.setText(lang.get("btn_Excel"));
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

          textFieldCustomer.setBounds(147, 362, 126, 21);
          jDesktopPane1.add(textFieldCustomer);

          JButton4j button = new JButton4j(Common.icon_lookup);
          button.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_CUSTOMER"));
          button.addActionListener(new ActionListener() {
            public void actionPerformed(ActionEvent e) {
              JLaunchLookup.dlgAutoExec = true;
              JLaunchLookup.dlgCriteriaDefault = "";
              if (JLaunchLookup.customers()) {
                textFieldCustomer.setText(JLaunchLookup.dlgResult);
View Full Code Here

              dispose();
            }
          });

          JButton4j btnExcel = new JButton4j(Common.icon_XLS);
          btnExcel.addActionListener(new ActionListener()
          {
            public void actionPerformed(ActionEvent arg0)
            {
              excel();
            }
View Full Code Here

      });
      list.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
      scrollPane.setViewportView(list);

      JButton4j JButtonRefresh = new JButton4j(Common.icon_refresh);
      JButtonRefresh.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent arg0)
        {
          populateList("");
        }
      });
View Full Code Here

      button4jResend.setBounds(484, 331, 120, 32);
      jDesktopPane1.add(button4jResend);

      JButton4j button4jHistory = new JButton4j(Common.icon_history);
      button4jHistory.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_LABELLER_HISTORY"));
      button4jHistory.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent e)
        {
          String line = "";
          String group = "";
View Full Code Here

    desktopPane.setBounds(0, 0, 768, 645);
    desktopPane.setBackground(Color.WHITE);
    getContentPane().add(desktopPane);

    JButton4j btn4j_Save = new JButton4j(Common.icon_save);
    btn4j_Save.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent arg0) {
        saveReportProperties(textField4j_ReportID.getText(), true);
      }
    });
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.