Package com.commander4j.gui

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


      jButtonRefresh.setMnemonic('0');
      jButtonRefresh.setBounds(605, 331, 120, 32);
      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(0, 331, 120, 32);
      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(121, 331, 120, 32);
      jDesktopPane1.add(JButtonEdit);

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

      jButtonDelete.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_AUTO_LAB_DELETE"));
      jButtonDelete.setBounds(242, 331, 120, 32);
      jDesktopPane1.add(jButtonDelete);

      JButton4j jButtonRename = new JButton4j(Common.icon_rename);
      jButtonRename.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent e)
        {
          renameRecord();
        }
View Full Code Here

      jTable1.getSelectionModel();

      jDesktopPane1.add(scrollPane);

      JButton4j button4jResend = new JButton4j(Common.icon_resend);
      button4jResend.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent e)
        {
          String editLabeller = "";
          String editGroup = "";
View Full Code Here

    textFieldReason3.setEditable(false);
    textFieldReason3.setBounds(101, 93, 273, 23);
    jDesktopPane1.add(textFieldReason3);
   
    JButton4j button = new JButton4j(Common.icon_lookup);
    button.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        JLaunchLookup.dlgAutoExec = true;
        JLaunchLookup.dlgCriteriaDefault = "";

        if (JLaunchLookup.users()) {
View Full Code Here

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

          label.setText(lang.get("lbl_Expected"));
          label.setHorizontalAlignment(SwingConstants.TRAILING);
          label.setBounds(372, 65, 173, 21);
          jDesktopPane1.add(label);
        }
        button.addActionListener(new ActionListener()
        {
          public void actionPerformed(ActionEvent evt)
          {
            JLaunchMenu.runForm("FRM_ADMIN_MATERIAL_BATCH");
          }
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

        scrollPaneAllResources.setViewportView(listAllResources);
        listAllResources.setCellRenderer(Common.renderer_list_unassigned);
        listAllResources.setBackground(Common.color_list_unassigned);
       
        JButton4j jButtonAssignResource = new JButton4j(Common.icon_arrow_left);
        jButtonAssignResource.addActionListener(new ActionListener() {
          public void actionPerformed(ActionEvent e) {
            if (listAllResources.getSelectedIndex() > -1)
            {
              for (int j = listAllResources.getMaxSelectionIndex(); j >= listAllResources.getMinSelectionIndex(); j--)
              {
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.