Examples of JCalendarButton


Examples of com.commander4j.calendar.JCalendarButton

            }
          });
          jButtonClear.setText(lang.get("btn_Clear_Filter"));
        }

        button_CalendardomDateFrom = new JCalendarButton(domDateFrom);
        button_CalendardomDateFrom.setBounds(273, 42, 21, 21);
        button_CalendardomDateFrom.setEnabled(false);

        button_CalendardomDateTo = new JCalendarButton(domDateTo);
        button_CalendardomDateTo.setBounds(470, 42, 21, 21);
        button_CalendardomDateTo.setEnabled(false);

        calendarButtonexpiryDateFrom = new JCalendarButton(expiryDateFrom);
        calendarButtonexpiryDateFrom.setBounds(273, 74, 21, 21);
        calendarButtonexpiryDateFrom.setEnabled(false);

        calendarButtonexpiryDateTo = new JCalendarButton(expiryDateTo);
        calendarButtonexpiryDateTo.setBounds(470, 74, 21, 21);
        calendarButtonexpiryDateTo.setEnabled(false);

        jTextFieldMHN = new JTextField4j();
        jTextFieldMHN.setForeground(Color.RED);
View Full Code Here

Examples of com.commander4j.calendar.JCalendarButton

          // dateTimePicker.setEditable(true);
          dateTimePicker.setBounds(126, 97, 150, 25);
          jDesktopPane1.add(dateTimePicker);
        }
        {
          calendarButton = new JCalendarButton(dateTimePicker);
          calendarButton.setBounds(255, 101, 21, 21);
          jDesktopPane1.add(calendarButton);
        }
      }
    }
View Full Code Here

Examples of com.commander4j.calendar.JCalendarButton

          checkBoxConfirmed.setText("");
          checkBoxConfirmed.setBounds(143, 470, 32, 24);
          jDesktopPane1.add(checkBoxConfirmed);
        }
        {
          calendarButtonproductionDate = new JCalendarButton(productionDate);
          calendarButtonproductionDate.setBounds(275, 418, 21, 21);
          jDesktopPane1.add(calendarButtonproductionDate);
        }
        {
          calendarButtonexpiryDate = new JCalendarButton(expiryDate);
          calendarButtonexpiryDate.setBounds(275, 197, 21, 21);
          calendarButtonexpiryDate.setVisible(false);
          jDesktopPane1.add(calendarButtonexpiryDate);
        }
        {
View Full Code Here

Examples of com.commander4j.calendar.JCalendarButton

          jButtonClear.setText(lang.get("btn_Clear_Filter"));
          jButtonClear.setBounds(98, 230, 98, 28);
          jDesktopPane1.add(jButtonClear);
        }

        button_CalendardomDateFrom = new JCalendarButton(domDateFrom);
        button_CalendardomDateFrom.setSize(21, 21);
        button_CalendardomDateFrom.setEnabled(false);
        button_CalendardomDateFrom.setLocation(274, 42);
        jDesktopPane1.add(button_CalendardomDateFrom);

        button_CalendardomDateTo = new JCalendarButton(domDateTo);
        button_CalendardomDateTo.setSize(21, 21);
        button_CalendardomDateTo.setEnabled(false);
        button_CalendardomDateTo.setLocation(470, 42);
        jDesktopPane1.add(button_CalendardomDateTo);

        calendarButtonexpiryDateFrom = new JCalendarButton(expiryDateFrom);
        calendarButtonexpiryDateFrom.setSize(21, 21);
        calendarButtonexpiryDateFrom.setEnabled(false);
        calendarButtonexpiryDateFrom.setLocation(274, 75);
        jDesktopPane1.add(calendarButtonexpiryDateFrom);

        calendarButtonexpiryDateTo = new JCalendarButton(expiryDateTo);
        calendarButtonexpiryDateTo.setSize(21, 21);
        calendarButtonexpiryDateTo.setEnabled(false);
        calendarButtonexpiryDateTo.setLocation(470, 74);
        jDesktopPane1.add(calendarButtonexpiryDateTo);

        JLabel4j_std label = new JLabel4j_std();
        label.setText(lang.get("lbl_MHN_Number"));
        label.setHorizontalAlignment(SwingConstants.TRAILING);
        label.setBounds(702, 105, 97, 21);
        jDesktopPane1.add(label);

        textFieldMHN = new JTextField4j();
        textFieldMHN.setBounds(805, 105, 117, 21);
        jDesktopPane1.add(textFieldMHN);

        JLabel4j_std label_1 = new JLabel4j_std();
        label_1.setText(lang.get("lbl_Decision"));
        label_1.setHorizontalAlignment(SwingConstants.TRAILING);
        label_1.setBounds(702, 134, 97, 21);
        jDesktopPane1.add(label_1);

        ComboBoxModel jComboBox3Model = new DefaultComboBoxModel(decisionList);
        comboBoxDecisions.setModel(jComboBox3Model);
        comboBoxDecisions.setMaximumRowCount(12);
        comboBoxDecisions.setFont(new Font("Monospaced", Font.PLAIN, 11));
        comboBoxDecisions.setBounds(805, 134, 169, 23);
        jDesktopPane1.add(comboBoxDecisions);
      }

      {
        jStatusText = new JLabel4j_std();
        jStatusText.setBounds(10, 545, 974, 21);
        jDesktopPane1.add(jStatusText);
        jStatusText.setBackground(Color.GRAY);
        jStatusText.setForeground(new Color(255, 0, 0));
      }
      jScrollPane1 = new JScrollPane();
      jScrollPane1.setBounds(0, 262, 984, 284);
      jDesktopPane1.add(jScrollPane1);
      jScrollPane1.getViewport().setBackground(Common.color_tablebackground);
      jTable1 = new JTable();
      jTable1.setDefaultRenderer(Object.class, Common.renderer_table);
      jScrollPane1.setViewportView(jTable1);
      jTable1.setModel(jTable1Model);
      jTable1.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
      jTable1.getTableHeader().setFont(Common.font_table_header);
      jTable1.getTableHeader().setForeground(Common.color_tableHeaderFont);
      jTable1.addMouseListener(new MouseAdapter()
      {
        public void mouseClicked(MouseEvent evt)
        {
          if (evt.getClickCount() == 2)
          {
            if (Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_MATERIAL_EDIT") == true)
            {
              editRecord();
            }
          }
        }
      });

      {
        final JPopupMenu popupMenu = new JPopupMenu();
        popupMenu.setFont(Common.font_std);
        addPopup(jTable1, popupMenu);

        {
          final JMenuItem4j menuItemAdd = new JMenuItem4j(Common.icon_add);
          menuItemAdd.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_PALLET_ADD"));
          menuItemAdd.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              addRecord();
            }
          });
          menuItemAdd.setText(lang.get("btn_Add"));
          popupMenu.add(menuItemAdd);
        }

        {
          final JMenuItem4j menuItemEdit = new JMenuItem4j(Common.icon_edit);
          menuItemEdit.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_PALLET_EDIT"));
          menuItemEdit.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              editRecord();
            }
          });
          menuItemEdit.setText(lang.get("btn_Edit"));
          popupMenu.add(menuItemEdit);
        }

        {
          final JMenuItem4j menuItemDelete = new JMenuItem4j(Common.icon_delete);
          menuItemDelete.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_PALLET_DELETE"));
          menuItemDelete.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              deleteRecord();
            }
          });
          menuItemDelete.setText(lang.get("btn_Delete"));
          popupMenu.add(menuItemDelete);
        }

        {
          final JMenuItem4j menuItemPrint = new JMenuItem4j(Common.icon_print);
          menuItemPrint.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("RPT_PALLETS"));
          menuItemPrint.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              printRecords("selected");
            }
          });
          menuItemPrint.setText(lang.get("btn_Print"));
          popupMenu.add(menuItemPrint);
        }

        {
          final JMenuItem4j menuItemLabel = new JMenuItem4j(Common.icon_report);
          menuItemLabel.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              printLabels();
            }
          });
          menuItemLabel.setText(lang.get("btn_Label"));
          popupMenu.add(menuItemLabel);
        }

        {
          final JMenuItem4j menuItemExcel = new JMenuItem4j(Common.icon_XLS);
          menuItemExcel.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              exportExcel("selected");
            }
          });
          menuItemExcel.setText(lang.get("btn_Excel"));
          popupMenu.add(menuItemExcel);
        }

        {
          final JMenuItem4j menuItemConfirm = new JMenuItem4j(Common.icon_ok);
          menuItemConfirm.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_PAL_PROD_CONFIRM"));
          menuItemConfirm.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              confirmRecord();
            }
          });

          menuItemConfirm.setText(lang.get("btn_Confirm"));
          popupMenu.add(menuItemConfirm);
        }
        {
          menuItemSummary = new JMenuItem4j(Common.icon_report);
          menuItemSummary.addActionListener(new ActionListener()
          {
            public void actionPerformed(ActionEvent e)
            {
              print_summary();
            }
          });
          menuItemSummary.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("RPT_PAL_SUMMARY"));
          menuItemSummary.setText(lang.get("btn_Print_Summary"));
          popupMenu.add(menuItemSummary);
        }
        {
          final JMenuItem4j menuItemSplit = new JMenuItem4j(Common.icon_split);
          menuItemSplit.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_PAL_SPLIT"));
          menuItemSplit.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              splitRecord();
            }
          });
          menuItemSplit.setText(lang.get("mod_FRM_PAL_SPLIT"));
          popupMenu.add(menuItemSplit);
        }
        {
          mnReferenceData = new JMenu4j(lang.get("lbl_Referenced_Data"));
          popupMenu.add(mnReferenceData);
          {
            mntmEditBatch = new JMenuItem4j(lang.get("btn_Edit_Batch"));
            mntmEditBatch.addActionListener(new ActionListener()
            {
              public void actionPerformed(ActionEvent arg0)
              {
                int row = jTable1.getSelectedRow();
                if (row >= 0)
                {
                  String lmaterial = jTable1.getValueAt(row, 1).toString();
                  String lbatch = jTable1.getValueAt(row, 2).toString();
                  JLaunchMenu.runForm("FRM_ADMIN_MATERIAL_BATCH_EDIT", lmaterial, lbatch);
                }
              }
            });
            mnReferenceData.add(mntmEditBatch);
            mntmEditBatch.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_MATERIAL_BATCH_EDIT"));
            mntmEditBatch.setIcon(Common.icon_batch);
          }
          {
            mntmEditLocation = new JMenuItem4j(lang.get("btn_Edit_Location"));
            mntmEditLocation.addActionListener(new ActionListener()
            {
              public void actionPerformed(ActionEvent arg0)
              {
                int row = jTable1.getSelectedRow();
                if (row >= 0)
                {
                  String llocation = jTable1.getValueAt(row, 8).toString();
                  JLaunchMenu.runForm("FRM_ADMIN_LOCATION_EDIT", llocation);
                }
              }
            });
            mnReferenceData.add(mntmEditLocation);
            mntmEditLocation.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_LOCATION_EDIT"));
            mntmEditLocation.setIcon(Common.icon_location);
          }
          {
            mntmEditMaterial = new JMenuItem4j(lang.get("btn_Edit_Material"));
            mntmEditMaterial.addActionListener(new ActionListener()
            {
              public void actionPerformed(ActionEvent arg0)
              {
                int row = jTable1.getSelectedRow();
                if (row >= 0)
                {
                  String lmaterial = jTable1.getValueAt(row, 1).toString();
                  JLaunchMenu.runForm("FRM_ADMIN_MATERIAL_EDIT", lmaterial);
                }
              }
            });
            mnReferenceData.add(mntmEditMaterial);
            mntmEditMaterial.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_MATERIAL_EDIT"));
            mntmEditMaterial.setIcon(Common.icon_material);
          }
          {
            mntmEditProcessOrder = new JMenuItem4j(lang.get("btn_Edit_Process_Order"));
            mntmEditProcessOrder.addActionListener(new ActionListener()
            {
              public void actionPerformed(ActionEvent arg0)
              {
                int row = jTable1.getSelectedRow();
                if (row >= 0)
                {
                  String lprocessorder = jTable1.getValueAt(row, 3).toString();
                  JLaunchMenu.runForm("FRM_ADMIN_PROCESS_ORDER_EDIT", lprocessorder);
                }
              }
            });
            mnReferenceData.add(mntmEditProcessOrder);
            mntmEditProcessOrder.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_PROCESS_ORDER_EDIT"));
            mntmEditProcessOrder.setIcon(Common.icon_process_order);
          }
          {
            mntmEditMHN = new JMenuItem4j(lang.get("btn_Edit_MHN"));
            mntmEditMHN.addActionListener(new ActionListener()
            {
              public void actionPerformed(ActionEvent arg0)
              {
                int row = jTable1.getSelectedRow();
                if (row >= 0)
                {
                  String lmhn = jTable1.getValueAt(row, JDBPalletTableModel.MHN_Number_Col).toString();
                  if (lmhn.equals("") == false)
                  {
                    JLaunchMenu.runForm("FRM_ADMIN_MHN_EDIT", lmhn);
                  }
                }
              }
            });
            mnReferenceData.add(mntmEditMHN);
            mntmEditMHN.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_MHN_EDIT"));
            mntmEditMHN.setIcon(Common.icon_mhn);
          }
        }

        {
          final JMenu4j filterByMenu = new JMenu4j();
          filterByMenu.setText(lang.get("lbl_Filter_By"));
          popupMenu.add(filterByMenu);

          {
            final JMenuItem4j menuItemFilterBySSCC = new JMenuItem4j();
            menuItemFilterBySSCC.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                filterBy("SSCC");
              }
            });
            menuItemFilterBySSCC.setText(lang.get("lbl_Pallet_SSCC"));
            filterByMenu.add(menuItemFilterBySSCC);
          }

          {
            final JMenuItem4j menuItemFilterByMaterial = new JMenuItem4j();
            menuItemFilterByMaterial.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                filterBy("Material");
              }
            });
            menuItemFilterByMaterial.setText(lang.get("lbl_Material"));
            filterByMenu.add(menuItemFilterByMaterial);
          }

          {
            final JMenuItem4j menuItemFilterByBatch = new JMenuItem4j();
            menuItemFilterByBatch.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                filterBy("Batch");
              }
            });
            menuItemFilterByBatch.setText(lang.get("lbl_Material_Batch"));
            filterByMenu.add(menuItemFilterByBatch);
          }

          {
            final JMenuItem4j menuItemFilterByLocation = new JMenuItem4j();
            menuItemFilterByLocation.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                filterBy("Location");
              }
            });
            menuItemFilterByLocation.setText(lang.get("lbl_Location_ID"));
            filterByMenu.add(menuItemFilterByLocation);
          }

          {
            final JMenuItem4j menuItemFilterByDespatch = new JMenuItem4j();
            menuItemFilterByDespatch.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                filterBy("Despatch");
              }
            });
            menuItemFilterByDespatch.setText(lang.get("lbl_Despatch_No"));
            filterByMenu.add(menuItemFilterByDespatch);
          }

          {
            final JMenuItem4j menuItemFilterByPalletStatus = new JMenuItem4j();
            menuItemFilterByPalletStatus.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                filterBy("Pallet Status");
              }
            });
            menuItemFilterByPalletStatus.setText(lang.get("lbl_Pallet_Status"));
            filterByMenu.add(menuItemFilterByPalletStatus);
          }

          {
            final JMenuItem4j menuItemFilterByProcessOrder = new JMenuItem4j();
            menuItemFilterByProcessOrder.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                filterBy("Process Order");
              }
            });
            menuItemFilterByProcessOrder.setText(lang.get("lbl_Process_Order"));
            filterByMenu.add(menuItemFilterByProcessOrder);
          }

          {
            filterByMenu.addSeparator();
          }

          {
            final JMenuItem4j menuItemResetFilter = new JMenuItem4j();
            menuItemResetFilter.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                clearFilter();
              }
            });
            menuItemResetFilter.setText(lang.get("btn_Clear_Filter"));
            filterByMenu.add(menuItemResetFilter);
          }
        }

        {
          final JMenu4j sortByMenu = new JMenu4j();
          sortByMenu.setText(lang.get("lbl_Sort_By"));
          popupMenu.add(sortByMenu);

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("SSCC");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Pallet_SSCC"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("BATCH_NUMBER");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Material_Batch"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("PROCESS_ORDER");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Process_Order"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("QUANTITY");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Pallet_Quantity"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("DATE_OF_MANUFACTURE");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Pallet_DOM"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("STATUS");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Pallet_Status"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("LOCATION_ID");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Location_ID"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("UOM");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Pallet_UOM"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("EAN");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Material_UOM_EAN"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("VARIANT");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Material_UOM_Variant"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenu4j orderMenu = new JMenu4j();
            orderMenu.setText(lang.get("lbl_Sort_By"));
            sortByMenu.add(orderMenu);

            {

              rbascending.addActionListener(new ActionListener()
              {
                public void actionPerformed(final ActionEvent e)
                {
                  setSequence(false);
                }
              });
              buttonGroup.add(rbascending);
              rbascending.setSelected(true);
              rbascending.setText("Ascending");
              rbascending.setFont(Common.font_popup);
              orderMenu.add(rbascending);
            }

            {

              rbdescending.addActionListener(new ActionListener()
              {
                public void actionPerformed(final ActionEvent e)
                {
                  setSequence(true);
                }
              });
              buttonGroup.add(rbdescending);
              rbdescending.setText("Descending");
              rbdescending.setFont(Common.font_popup);
              orderMenu.add(rbdescending);
            }
          }
        }
      }
     
      JLabel4j_std jLabelCreatedDate = new JLabel4j_std();
      jLabelCreatedDate.setText(lang.get("lbl_Date_Created"));
      jLabelCreatedDate.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabelCreatedDate.setBounds(2, 134, 108, 21);
      jDesktopPane1.add(jLabelCreatedDate);
     
      JLabel4j_std jLabelUpdatedDate = new JLabel4j_std();
      jLabelUpdatedDate.setText(lang.get("lbl_Date_Updated"));
      jLabelUpdatedDate.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabelUpdatedDate.setBounds(2, 163, 108, 25);
      jDesktopPane1.add(jLabelUpdatedDate);
     
      jCheckBoxCreatedFrom = new JCheckBox();
      jCheckBoxCreatedFrom.setBackground(Color.WHITE);
      jCheckBoxCreatedFrom.setBounds(120, 134, 21, 25);
      jDesktopPane1.add(jCheckBoxCreatedFrom);
      jCheckBoxCreatedFrom.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent evt)
        {
          if (jCheckBoxCreatedFrom.isSelected())
          {
            createdDateFrom.setEnabled(true);
            button_CalendarCreatedDateFrom.setEnabled(true);
          } else
          {
            createdDateFrom.setEnabled(false);
            button_CalendarCreatedDateFrom.setEnabled(false);
          }
        }
      });
     
      jCheckBoxUpdatedFrom = new JCheckBox();
      jCheckBoxUpdatedFrom.setBackground(Color.WHITE);
      jCheckBoxUpdatedFrom.setBounds(120, 163, 21, 25);
      jDesktopPane1.add(jCheckBoxUpdatedFrom);
      jCheckBoxUpdatedFrom.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent evt)
        {
          if (jCheckBoxUpdatedFrom.isSelected())
          {
            updatedDateFrom.setEnabled(true);
            button_CalendarUpdatedDateFrom.setEnabled(true);
          } else
          {
            updatedDateFrom.setEnabled(false);
            button_CalendarUpdatedDateFrom.setEnabled(false);
          }
        }
      });
     
      createdDateFrom = new JDateControl();
      createdDateFrom.setFont(new Font("Arial", Font.PLAIN, 11));
      createdDateFrom.setEnabled(false);
      createdDateFrom.setBounds(144, 134, 128, 25);
      jDesktopPane1.add(createdDateFrom);
     
      updatedDateFrom = new JDateControl();
      updatedDateFrom.setFont(new Font("Arial", Font.PLAIN, 11));
      updatedDateFrom.setEnabled(false);
      updatedDateFrom.setBounds(144, 163, 128, 25);
      jDesktopPane1.add(updatedDateFrom);
     
      jCheckBoxCreatedTo = new JCheckBox();
      jCheckBoxCreatedTo.setBackground(Color.WHITE);
      jCheckBoxCreatedTo.setBounds(313, 134, 21, 25);
      jDesktopPane1.add(jCheckBoxCreatedTo);
      jCheckBoxCreatedTo.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent evt)
        {
          if (jCheckBoxCreatedTo.isSelected())
          {
            createdDateTo.setEnabled(true);
            button_CalendarCreatedDateTo.setEnabled(true);
          } else
          {
            createdDateTo.setEnabled(false);
            button_CalendarCreatedDateTo.setEnabled(false);
          }
        }
      });
     
      jCheckBoxUpdatedTo = new JCheckBox();
      jCheckBoxUpdatedTo.setBackground(Color.WHITE);
      jCheckBoxUpdatedTo.setBounds(313, 163, 21, 25);
      jDesktopPane1.add(jCheckBoxUpdatedTo);
      jCheckBoxUpdatedTo.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent evt)
        {
          if (jCheckBoxUpdatedTo.isSelected())
          {
            updatedDateTo.setEnabled(true);
            button_CalendarUpdatedDateTo.setEnabled(true);
          } else
          {
            createdDateTo.setEnabled(false);
            button_CalendarUpdatedDateTo.setEnabled(false);
          }
        }
      });
     
      createdDateTo = new JDateControl();
      createdDateTo.setFont(new Font("Arial", Font.PLAIN, 11));
      createdDateTo.setEnabled(false);
      createdDateTo.setBounds(340, 134, 128, 25);
      jDesktopPane1.add(createdDateTo);
     
      updatedDateTo = new JDateControl();
      updatedDateTo.setFont(new Font("Arial", Font.PLAIN, 11));
      updatedDateTo.setEnabled(false);
      updatedDateTo.setBounds(340, 163, 128, 25);
      jDesktopPane1.add(updatedDateTo);
     
      JLabel4j_std label4j_std_2 = new JLabel4j_std();
      label4j_std_2.setText((String) null);
      label4j_std_2.setHorizontalAlignment(SwingConstants.TRAILING);
      label4j_std_2.setBounds(2, 138, 108, 25);
      jDesktopPane1.add(label4j_std_2);
     
      JLabel4j_std label4j_std_3 = new JLabel4j_std();
      label4j_std_3.setText((String) null);
      label4j_std_3.setHorizontalAlignment(SwingConstants.TRAILING);
      label4j_std_3.setBounds(2, 167, 108, 25);
      jDesktopPane1.add(label4j_std_3);
     
      JLabel4j_std jLabelCreatedUser = new JLabel4j_std();
      jLabelCreatedUser.setText(lang.get("lbl_Created_By"));
      jLabelCreatedUser.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabelCreatedUser.setBounds(501, 134, 77, 21);
      jDesktopPane1.add(jLabelCreatedUser);
     
      textFieldUserCreated = new JTextField4j();
      textFieldUserCreated.setBounds(582, 134, 98, 21);
      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 = "";

          if (JLaunchLookup.users())
          {
            textFieldUserCreated.setText(JLaunchLookup.dlgResult);
          }
        }
      });
     
      JLabel4j_std jLabelUpdatedUser = new JLabel4j_std();
      jLabelUpdatedUser.setText(lang.get("lbl_Updated_By"));
      jLabelUpdatedUser.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabelUpdatedUser.setBounds(501, 167, 77, 21);
      jDesktopPane1.add(jLabelUpdatedUser);
     
      textFieldUserUpdated = new JTextField4j();
      textFieldUserUpdated.setBounds(582, 167, 98, 21);
      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 = "";

          if (JLaunchLookup.users())
          {
            textFieldUserUpdated.setText(JLaunchLookup.dlgResult);
          }
        }
      });
     
      button_CalendarCreatedDateFrom = new JCalendarButton(createdDateFrom);
      button_CalendarCreatedDateFrom.setEnabled(false);
      button_CalendarCreatedDateFrom.setBounds(274, 136, 21, 21);
      jDesktopPane1.add(button_CalendarCreatedDateFrom);
     
      button_CalendarUpdatedDateFrom = new JCalendarButton(updatedDateFrom);
      button_CalendarUpdatedDateFrom.setEnabled(false);
      button_CalendarUpdatedDateFrom.setBounds(274, 164, 21, 21);
      jDesktopPane1.add(button_CalendarUpdatedDateFrom);
     
      button_CalendarCreatedDateTo = new JCalendarButton(createdDateTo);
      button_CalendarCreatedDateTo.setEnabled(false);
      button_CalendarCreatedDateTo.setBounds(470, 136, 21, 21);
      jDesktopPane1.add(button_CalendarCreatedDateTo);
     
      button_CalendarUpdatedDateTo = new JCalendarButton(updatedDateTo);
      button_CalendarUpdatedDateTo.setEnabled(false);
      button_CalendarUpdatedDateTo.setBounds(470, 164, 21, 21);
      jDesktopPane1.add(button_CalendarUpdatedDateTo);
    } catch (Exception e)
    {
View Full Code Here

Examples of com.commander4j.calendar.JCalendarButton

          jButtonClear.setText(lang.get("btn_Clear_Filter"));
          jButtonClear.setBounds(98, 226, 98, 32);
          jDesktopPane1.add(jButtonClear);
        }

        button_CalendardomDateFrom = new JCalendarButton(domDateFrom);
        button_CalendardomDateFrom.setSize(21, 21);
        button_CalendardomDateFrom.setEnabled(false);
        button_CalendardomDateFrom.setLocation(274, 42);
        jDesktopPane1.add(button_CalendardomDateFrom);

        button_CalendardomDateTo = new JCalendarButton(domDateTo);
        button_CalendardomDateTo.setSize(21, 21);
        button_CalendardomDateTo.setEnabled(false);
        button_CalendardomDateTo.setLocation(470, 42);
        jDesktopPane1.add(button_CalendardomDateTo);

        calendarButtonexpiryDateFrom = new JCalendarButton(expiryDateFrom);
        calendarButtonexpiryDateFrom.setSize(21, 21);
        calendarButtonexpiryDateFrom.setEnabled(false);
        calendarButtonexpiryDateFrom.setLocation(274, 75);
        jDesktopPane1.add(calendarButtonexpiryDateFrom);

        calendarButtonexpiryDateTo = new JCalendarButton(expiryDateTo);
        calendarButtonexpiryDateTo.setSize(21, 21);
        calendarButtonexpiryDateTo.setEnabled(false);
        calendarButtonexpiryDateTo.setLocation(470, 74);
        jDesktopPane1.add(calendarButtonexpiryDateTo);

        JLabel4j_std label = new JLabel4j_std();
        label.setText(lang.get("lbl_MHN_Number"));
        label.setHorizontalAlignment(SwingConstants.TRAILING);
        label.setBounds(702, 105, 97, 21);
        jDesktopPane1.add(label);

        textFieldMHN = new JTextField4j();
        textFieldMHN.setBounds(805, 105, 117, 21);
        jDesktopPane1.add(textFieldMHN);

        JLabel4j_std label_1 = new JLabel4j_std();
        label_1.setText(lang.get("lbl_Decision"));
        label_1.setHorizontalAlignment(SwingConstants.TRAILING);
        label_1.setBounds(702, 134, 97, 21);
        jDesktopPane1.add(label_1);

        ComboBoxModel<JDBMHNDecisions> jComboBox3Model = new DefaultComboBoxModel<JDBMHNDecisions>(decisionList);
        comboBoxDecisions.setModel(jComboBox3Model);
        comboBoxDecisions.setMaximumRowCount(12);
        comboBoxDecisions.setFont(new Font("Monospaced", Font.PLAIN, 11));
        comboBoxDecisions.setBounds(805, 134, 169, 23);
        jDesktopPane1.add(comboBoxDecisions);
      }

      {
        jStatusText = new JLabel4j_std();
        jStatusText.setBounds(10, 545, 974, 21);
        jDesktopPane1.add(jStatusText);
        jStatusText.setBackground(Color.GRAY);
        jStatusText.setForeground(new Color(255, 0, 0));
      }
      jScrollPane1 = new JScrollPane();
      jScrollPane1.setBounds(0, 262, 984, 284);
      jDesktopPane1.add(jScrollPane1);
      jScrollPane1.getViewport().setBackground(Common.color_tablebackground);
      jTable1 = new JTable();
      jTable1.setDefaultRenderer(Object.class, Common.renderer_table);
      jScrollPane1.setViewportView(jTable1);
      jTable1.setModel(jTable1Model);
      jTable1.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
      jTable1.getTableHeader().setFont(Common.font_table_header);
      jTable1.getTableHeader().setForeground(Common.color_tableHeaderFont);
      jTable1.addMouseListener(new MouseAdapter()
      {
        public void mouseClicked(MouseEvent evt)
        {
          if (evt.getClickCount() == 2)
          {
            if (Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_MATERIAL_EDIT") == true)
            {
              editRecord();
            }
          }
        }
      });

      {
        final JPopupMenu popupMenu = new JPopupMenu();
        popupMenu.setFont(Common.font_std);
        addPopup(jTable1, popupMenu);

        {
          final JMenuItem4j menuItemAdd = new JMenuItem4j(Common.icon_add);
          menuItemAdd.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_PALLET_ADD"));
          menuItemAdd.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              addRecord();
            }
          });
          menuItemAdd.setText(lang.get("btn_Add"));
          popupMenu.add(menuItemAdd);
        }

        {
          final JMenuItem4j menuItemEdit = new JMenuItem4j(Common.icon_edit);
          menuItemEdit.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_PALLET_EDIT"));
          menuItemEdit.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              editRecord();
            }
          });
          menuItemEdit.setText(lang.get("btn_Edit"));
          popupMenu.add(menuItemEdit);
        }

        {
          final JMenuItem4j menuItemDelete = new JMenuItem4j(Common.icon_delete);
          menuItemDelete.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_PALLET_DELETE"));
          menuItemDelete.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              deleteRecord();
            }
          });
          menuItemDelete.setText(lang.get("btn_Delete"));
          popupMenu.add(menuItemDelete);
        }

        {
          final JMenuItem4j menuItemPrint = new JMenuItem4j(Common.icon_print);
          menuItemPrint.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("RPT_PALLETS"));
          menuItemPrint.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              printRecords("selected");
            }
          });
          menuItemPrint.setText(lang.get("btn_Print"));
          popupMenu.add(menuItemPrint);
        }

        {
          final JMenuItem4j menuItemLabel = new JMenuItem4j(Common.icon_report);
          menuItemLabel.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              printLabels();
            }
          });
          menuItemLabel.setText(lang.get("btn_Label"));
          popupMenu.add(menuItemLabel);
        }

        {
          final JMenuItem4j menuItemExcel = new JMenuItem4j(Common.icon_XLS);
          menuItemExcel.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              exportExcel("selected");
            }
          });
          menuItemExcel.setText(lang.get("btn_Excel"));
          popupMenu.add(menuItemExcel);
        }

        {
          final JMenuItem4j menuItemConfirm = new JMenuItem4j(Common.icon_ok);
          menuItemConfirm.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_PAL_PROD_CONFIRM"));
          menuItemConfirm.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              confirmRecord();
            }
          });

          menuItemConfirm.setText(lang.get("btn_Confirm"));
          popupMenu.add(menuItemConfirm);
        }
        {
          menuItemSummary = new JMenuItem4j(Common.icon_report);
          menuItemSummary.addActionListener(new ActionListener()
          {
            public void actionPerformed(ActionEvent e)
            {
              print_summary();
            }
          });
          menuItemSummary.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("RPT_PAL_SUMMARY"));
          menuItemSummary.setText(lang.get("btn_Print_Summary"));
          popupMenu.add(menuItemSummary);
        }
        {
          final JMenuItem4j menuItemSplit = new JMenuItem4j(Common.icon_split);
          menuItemSplit.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_PAL_SPLIT"));
          menuItemSplit.addActionListener(new ActionListener()
          {
            public void actionPerformed(final ActionEvent e)
            {
              splitRecord();
            }
          });
          menuItemSplit.setText(lang.get("mod_FRM_PAL_SPLIT"));
          popupMenu.add(menuItemSplit);
        }
        {
          mnReferenceData = new JMenu4j(lang.get("lbl_Referenced_Data"));
          popupMenu.add(mnReferenceData);
          {
            mntmEditBatch = new JMenuItem4j(lang.get("btn_Edit_Batch"));
            mntmEditBatch.addActionListener(new ActionListener()
            {
              public void actionPerformed(ActionEvent arg0)
              {
                int row = jTable1.getSelectedRow();
                if (row >= 0)
                {
                  String lmaterial = jTable1.getValueAt(row, 1).toString();
                  String lbatch = jTable1.getValueAt(row, 2).toString();
                  JLaunchMenu.runForm("FRM_ADMIN_MATERIAL_BATCH_EDIT", lmaterial, lbatch);
                }
              }
            });
            mnReferenceData.add(mntmEditBatch);
            mntmEditBatch.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_MATERIAL_BATCH_EDIT"));
            mntmEditBatch.setIcon(Common.icon_batch);
          }
          {
            mntmEditLocation = new JMenuItem4j(lang.get("btn_Edit_Location"));
            mntmEditLocation.addActionListener(new ActionListener()
            {
              public void actionPerformed(ActionEvent arg0)
              {
                int row = jTable1.getSelectedRow();
                if (row >= 0)
                {
                  String llocation = jTable1.getValueAt(row, 8).toString();
                  JLaunchMenu.runForm("FRM_ADMIN_LOCATION_EDIT", llocation);
                }
              }
            });
            mnReferenceData.add(mntmEditLocation);
            mntmEditLocation.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_LOCATION_EDIT"));
            mntmEditLocation.setIcon(Common.icon_location);
          }
          {
            mntmEditMaterial = new JMenuItem4j(lang.get("btn_Edit_Material"));
            mntmEditMaterial.addActionListener(new ActionListener()
            {
              public void actionPerformed(ActionEvent arg0)
              {
                int row = jTable1.getSelectedRow();
                if (row >= 0)
                {
                  String lmaterial = jTable1.getValueAt(row, 1).toString();
                  JLaunchMenu.runForm("FRM_ADMIN_MATERIAL_EDIT", lmaterial);
                }
              }
            });
            mnReferenceData.add(mntmEditMaterial);
            mntmEditMaterial.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_MATERIAL_EDIT"));
            mntmEditMaterial.setIcon(Common.icon_material);
          }
          {
            mntmEditProcessOrder = new JMenuItem4j(lang.get("btn_Edit_Process_Order"));
            mntmEditProcessOrder.addActionListener(new ActionListener()
            {
              public void actionPerformed(ActionEvent arg0)
              {
                int row = jTable1.getSelectedRow();
                if (row >= 0)
                {
                  String lprocessorder = jTable1.getValueAt(row, 3).toString();
                  JLaunchMenu.runForm("FRM_ADMIN_PROCESS_ORDER_EDIT", lprocessorder);
                }
              }
            });
            mnReferenceData.add(mntmEditProcessOrder);
            mntmEditProcessOrder.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_PROCESS_ORDER_EDIT"));
            mntmEditProcessOrder.setIcon(Common.icon_process_order);
          }
          {
            mntmEditMHN = new JMenuItem4j(lang.get("btn_Edit_MHN"));
            mntmEditMHN.addActionListener(new ActionListener()
            {
              public void actionPerformed(ActionEvent arg0)
              {
                int row = jTable1.getSelectedRow();
                if (row >= 0)
                {
                  String lmhn = jTable1.getValueAt(row, JDBPalletTableModel.MHN_Number_Col).toString();
                  if (lmhn.equals("") == false)
                  {
                    JLaunchMenu.runForm("FRM_ADMIN_MHN_EDIT", lmhn);
                  }
                }
              }
            });
            mnReferenceData.add(mntmEditMHN);
            mntmEditMHN.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_ADMIN_MHN_EDIT"));
            mntmEditMHN.setIcon(Common.icon_mhn);
          }
        }

        {
          final JMenu4j filterByMenu = new JMenu4j();
          filterByMenu.setText(lang.get("lbl_Filter_By"));
          popupMenu.add(filterByMenu);

          {
            final JMenuItem4j menuItemFilterBySSCC = new JMenuItem4j();
            menuItemFilterBySSCC.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                filterBy("SSCC");
              }
            });
            menuItemFilterBySSCC.setText(lang.get("lbl_Pallet_SSCC"));
            filterByMenu.add(menuItemFilterBySSCC);
          }

          {
            final JMenuItem4j menuItemFilterByMaterial = new JMenuItem4j();
            menuItemFilterByMaterial.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                filterBy("Material");
              }
            });
            menuItemFilterByMaterial.setText(lang.get("lbl_Material"));
            filterByMenu.add(menuItemFilterByMaterial);
          }

          {
            final JMenuItem4j menuItemFilterByBatch = new JMenuItem4j();
            menuItemFilterByBatch.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                filterBy("Batch");
              }
            });
            menuItemFilterByBatch.setText(lang.get("lbl_Material_Batch"));
            filterByMenu.add(menuItemFilterByBatch);
          }

          {
            final JMenuItem4j menuItemFilterByLocation = new JMenuItem4j();
            menuItemFilterByLocation.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                filterBy("Location");
              }
            });
            menuItemFilterByLocation.setText(lang.get("lbl_Location_ID"));
            filterByMenu.add(menuItemFilterByLocation);
          }

          {
            final JMenuItem4j menuItemFilterByDespatch = new JMenuItem4j();
            menuItemFilterByDespatch.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                filterBy("Despatch");
              }
            });
            menuItemFilterByDespatch.setText(lang.get("lbl_Despatch_No"));
            filterByMenu.add(menuItemFilterByDespatch);
          }

          {
            final JMenuItem4j menuItemFilterByPalletStatus = new JMenuItem4j();
            menuItemFilterByPalletStatus.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                filterBy("Pallet Status");
              }
            });
            menuItemFilterByPalletStatus.setText(lang.get("lbl_Pallet_Status"));
            filterByMenu.add(menuItemFilterByPalletStatus);
          }

          {
            final JMenuItem4j menuItemFilterByProcessOrder = new JMenuItem4j();
            menuItemFilterByProcessOrder.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                filterBy("Process Order");
              }
            });
            menuItemFilterByProcessOrder.setText(lang.get("lbl_Process_Order"));
            filterByMenu.add(menuItemFilterByProcessOrder);
          }

          {
            filterByMenu.addSeparator();
          }

          {
            final JMenuItem4j menuItemResetFilter = new JMenuItem4j();
            menuItemResetFilter.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                clearFilter();
              }
            });
            menuItemResetFilter.setText(lang.get("btn_Clear_Filter"));
            filterByMenu.add(menuItemResetFilter);
          }
        }

        {
          final JMenu4j sortByMenu = new JMenu4j();
          sortByMenu.setText(lang.get("lbl_Sort_By"));
          popupMenu.add(sortByMenu);

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("SSCC");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Pallet_SSCC"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("BATCH_NUMBER");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Material_Batch"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("PROCESS_ORDER");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Process_Order"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("QUANTITY");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Pallet_Quantity"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("DATE_OF_MANUFACTURE");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Pallet_DOM"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("STATUS");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Pallet_Status"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("LOCATION_ID");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Location_ID"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("UOM");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Pallet_UOM"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("EAN");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Material_UOM_EAN"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenuItem4j newItemMenuItem = new JMenuItem4j();
            newItemMenuItem.addActionListener(new ActionListener()
            {
              public void actionPerformed(final ActionEvent e)
              {
                sortBy("VARIANT");
              }
            });
            newItemMenuItem.setText(lang.get("lbl_Material_UOM_Variant"));
            sortByMenu.add(newItemMenuItem);
          }

          {
            final JMenu4j orderMenu = new JMenu4j();
            orderMenu.setText(lang.get("lbl_Sort_By"));
            sortByMenu.add(orderMenu);

            {

              rbascending.addActionListener(new ActionListener()
              {
                public void actionPerformed(final ActionEvent e)
                {
                  setSequence(false);
                }
              });
              buttonGroup.add(rbascending);
              rbascending.setSelected(true);
              rbascending.setText("Ascending");
              rbascending.setFont(Common.font_popup);
              orderMenu.add(rbascending);
            }

            {

              rbdescending.addActionListener(new ActionListener()
              {
                public void actionPerformed(final ActionEvent e)
                {
                  setSequence(true);
                }
              });
              buttonGroup.add(rbdescending);
              rbdescending.setText("Descending");
              rbdescending.setFont(Common.font_popup);
              orderMenu.add(rbdescending);
            }
          }
        }
      }
     
      JLabel4j_std jLabelCreatedDate = new JLabel4j_std();
      jLabelCreatedDate.setText(lang.get("lbl_Date_Created"));
      jLabelCreatedDate.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabelCreatedDate.setBounds(2, 134, 108, 21);
      jDesktopPane1.add(jLabelCreatedDate);
     
      JLabel4j_std jLabelUpdatedDate = new JLabel4j_std();
      jLabelUpdatedDate.setText(lang.get("lbl_Date_Updated"));
      jLabelUpdatedDate.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabelUpdatedDate.setBounds(2, 163, 108, 25);
      jDesktopPane1.add(jLabelUpdatedDate);
     
      jCheckBoxCreatedFrom = new JCheckBox4j();
      jCheckBoxCreatedFrom.setBackground(Color.WHITE);
      jCheckBoxCreatedFrom.setBounds(120, 134, 21, 25);
      jDesktopPane1.add(jCheckBoxCreatedFrom);
      jCheckBoxCreatedFrom.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent evt)
        {
          if (jCheckBoxCreatedFrom.isSelected())
          {
            createdDateFrom.setEnabled(true);
            button_CalendarCreatedDateFrom.setEnabled(true);
          } else
          {
            createdDateFrom.setEnabled(false);
            button_CalendarCreatedDateFrom.setEnabled(false);
          }
        }
      });
     
      jCheckBoxUpdatedFrom = new JCheckBox4j();
      jCheckBoxUpdatedFrom.setBackground(Color.WHITE);
      jCheckBoxUpdatedFrom.setBounds(120, 163, 21, 25);
      jDesktopPane1.add(jCheckBoxUpdatedFrom);
      jCheckBoxUpdatedFrom.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent evt)
        {
          if (jCheckBoxUpdatedFrom.isSelected())
          {
            updatedDateFrom.setEnabled(true);
            button_CalendarUpdatedDateFrom.setEnabled(true);
          } else
          {
            updatedDateFrom.setEnabled(false);
            button_CalendarUpdatedDateFrom.setEnabled(false);
          }
        }
      });
     
      createdDateFrom = new JDateControl();
      createdDateFrom.setFont(new Font("Arial", Font.PLAIN, 11));
      createdDateFrom.setEnabled(false);
      createdDateFrom.setBounds(144, 134, 128, 25);
      jDesktopPane1.add(createdDateFrom);
     
      updatedDateFrom = new JDateControl();
      updatedDateFrom.setFont(new Font("Arial", Font.PLAIN, 11));
      updatedDateFrom.setEnabled(false);
      updatedDateFrom.setBounds(144, 163, 128, 25);
      jDesktopPane1.add(updatedDateFrom);
     
      jCheckBoxCreatedTo = new JCheckBox4j();
      jCheckBoxCreatedTo.setBackground(Color.WHITE);
      jCheckBoxCreatedTo.setBounds(313, 134, 21, 25);
      jDesktopPane1.add(jCheckBoxCreatedTo);
      jCheckBoxCreatedTo.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent evt)
        {
          if (jCheckBoxCreatedTo.isSelected())
          {
            createdDateTo.setEnabled(true);
            button_CalendarCreatedDateTo.setEnabled(true);
          } else
          {
            createdDateTo.setEnabled(false);
            button_CalendarCreatedDateTo.setEnabled(false);
          }
        }
      });
     
      jCheckBoxUpdatedTo = new JCheckBox4j();
      jCheckBoxUpdatedTo.setBackground(Color.WHITE);
      jCheckBoxUpdatedTo.setBounds(313, 163, 21, 25);
      jDesktopPane1.add(jCheckBoxUpdatedTo);
      jCheckBoxUpdatedTo.addActionListener(new ActionListener()
      {
        public void actionPerformed(ActionEvent evt)
        {
          if (jCheckBoxUpdatedTo.isSelected())
          {
            updatedDateTo.setEnabled(true);
            button_CalendarUpdatedDateTo.setEnabled(true);
          } else
          {
            createdDateTo.setEnabled(false);
            button_CalendarUpdatedDateTo.setEnabled(false);
          }
        }
      });
     
      createdDateTo = new JDateControl();
      createdDateTo.setFont(new Font("Arial", Font.PLAIN, 11));
      createdDateTo.setEnabled(false);
      createdDateTo.setBounds(340, 134, 128, 25);
      jDesktopPane1.add(createdDateTo);
     
      updatedDateTo = new JDateControl();
      updatedDateTo.setFont(new Font("Arial", Font.PLAIN, 11));
      updatedDateTo.setEnabled(false);
      updatedDateTo.setBounds(340, 163, 128, 25);
      jDesktopPane1.add(updatedDateTo);
     
      JLabel4j_std label4j_std_2 = new JLabel4j_std();
      label4j_std_2.setText((String) null);
      label4j_std_2.setHorizontalAlignment(SwingConstants.TRAILING);
      label4j_std_2.setBounds(2, 138, 108, 25);
      jDesktopPane1.add(label4j_std_2);
     
      JLabel4j_std label4j_std_3 = new JLabel4j_std();
      label4j_std_3.setText((String) null);
      label4j_std_3.setHorizontalAlignment(SwingConstants.TRAILING);
      label4j_std_3.setBounds(2, 167, 108, 25);
      jDesktopPane1.add(label4j_std_3);
     
      JLabel4j_std jLabelCreatedUser = new JLabel4j_std();
      jLabelCreatedUser.setText(lang.get("lbl_Created_By"));
      jLabelCreatedUser.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabelCreatedUser.setBounds(501, 134, 77, 21);
      jDesktopPane1.add(jLabelCreatedUser);
     
      textFieldUserCreated = new JTextField4j();
      textFieldUserCreated.setBounds(582, 134, 98, 21);
      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 = "";

          if (JLaunchLookup.users())
          {
            textFieldUserCreated.setText(JLaunchLookup.dlgResult);
          }
        }
      });
     
      JLabel4j_std jLabelUpdatedUser = new JLabel4j_std();
      jLabelUpdatedUser.setText(lang.get("lbl_Updated_By"));
      jLabelUpdatedUser.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabelUpdatedUser.setBounds(501, 167, 77, 21);
      jDesktopPane1.add(jLabelUpdatedUser);
     
      textFieldUserUpdated = new JTextField4j();
      textFieldUserUpdated.setBounds(582, 167, 98, 21);
      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 = "";

          if (JLaunchLookup.users())
          {
            textFieldUserUpdated.setText(JLaunchLookup.dlgResult);
          }
        }
      });
     
      button_CalendarCreatedDateFrom = new JCalendarButton(createdDateFrom);
      button_CalendarCreatedDateFrom.setEnabled(false);
      button_CalendarCreatedDateFrom.setBounds(274, 136, 21, 21);
      jDesktopPane1.add(button_CalendarCreatedDateFrom);
     
      button_CalendarUpdatedDateFrom = new JCalendarButton(updatedDateFrom);
      button_CalendarUpdatedDateFrom.setEnabled(false);
      button_CalendarUpdatedDateFrom.setBounds(274, 164, 21, 21);
      jDesktopPane1.add(button_CalendarUpdatedDateFrom);
     
      button_CalendarCreatedDateTo = new JCalendarButton(createdDateTo);
      button_CalendarCreatedDateTo.setEnabled(false);
      button_CalendarCreatedDateTo.setBounds(470, 136, 21, 21);
      jDesktopPane1.add(button_CalendarCreatedDateTo);
     
      button_CalendarUpdatedDateTo = new JCalendarButton(updatedDateTo);
      button_CalendarUpdatedDateTo.setEnabled(false);
      button_CalendarUpdatedDateTo.setBounds(470, 164, 21, 21);
      jDesktopPane1.add(button_CalendarUpdatedDateTo);
    } catch (Exception e)
    {
View Full Code Here

Examples of com.commander4j.calendar.JCalendarButton

          enableField(jSpinnerProductionDate, jCheckBoxDOMOverride.isSelected());
          enableField(calendarButtonjSpinnerProductionDate, jCheckBoxDOMOverride.isSelected());
        }
      });

      calendarButtonjSpinnerProductionDate = new JCalendarButton(jSpinnerProductionDate);
      calendarButtonjSpinnerProductionDate.setEnabled(false);
      calendarButtonjSpinnerProductionDate.setBounds(308, 21, 21, 21);
      jPanelLabel.add(calendarButtonjSpinnerProductionDate);
      jLabelBatch = new JLabel4j_std();
      jPanelLabel.add(jLabelBatch);
      jLabelBatch.setText(lang.get("lbl_Material_Batch"));
      jLabelBatch.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabelBatch.setBounds(46, 85, 108, 21);
      jTextFieldBatchPrefix = new JTextField4j();
      jPanelLabel.add(jTextFieldBatchPrefix);
      AbstractDocument doc2 = (AbstractDocument) jTextFieldBatchPrefix.getDocument();
      doc2.setDocumentFilter(new JFixedSizeFilter(JDBMaterialBatch.field_batch_number));
      jTextFieldBatchPrefix.setBounds(176, 85, 108, 21);
      jTextFieldBatchPrefix.setEnabled(false);
      jSpinnerExpiryDate = new JDateControl();
      jSpinnerExpiryDate.addFocusListener(new FocusAdapter() {
        @Override
        public void focusLost(FocusEvent arg0)
        {
          jSpinnerExpiryDate.setDate(material.getRoundedExpiryDate(jSpinnerExpiryDate.getDate()));
        }
      });

      jPanelLabel.add(jSpinnerExpiryDate);
      jSpinnerExpiryDate.setFont(Common.font_std);
      jSpinnerExpiryDate.setBounds(176, 52, 135, 25);
      jSpinnerExpiryDate.getEditor().setPreferredSize(new java.awt.Dimension(87, 19));
      jSpinnerExpiryDate.getEditor().setSize(87, 21);
      jSpinnerExpiryDate.setEnabled(false);
      jLabelBatchExpiry = new JLabel4j_std();
      jPanelLabel.add(jLabelBatchExpiry);
      jLabelBatchExpiry.setText(lang.get("lbl_Material_Batch_Expiry_Date"));
      jLabelBatchExpiry.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabelBatchExpiry.setBounds(46, 56, 108, 21);
      jCheckBoxExpiryOverride = new JCheckBox4j();
      jPanelLabel.add(jCheckBoxExpiryOverride);
      jCheckBoxExpiryOverride.setBounds(153, 53, 21, 21);
      jCheckBoxExpiryOverride.setBackground(new java.awt.Color(255, 255, 255));
      jCheckBoxExpiryOverride.setEnabled(false);
      jCheckBoxExpiryOverride.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent evt)
        {
          enableField(jSpinnerExpiryDate, jCheckBoxExpiryOverride.isSelected());
          enableField(calendarButtonjSpinnerExpiryDate, jCheckBoxExpiryOverride.isSelected());
          calcBBEBatch();
        }
      });

      jCheckBoxBatchPrefixOverride = new JCheckBox4j();
      jPanelLabel.add(jCheckBoxBatchPrefixOverride);
      jCheckBoxBatchPrefixOverride.setEnabled(false);
      jCheckBoxBatchPrefixOverride.setBackground(new java.awt.Color(255, 255, 255));
      jCheckBoxBatchPrefixOverride.setBounds(153, 85, 21, 21);
      jCheckBoxBatchPrefixOverride.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent evt)
        {
          enableField(jTextFieldBatchPrefix, jCheckBoxBatchPrefixOverride.isSelected());
          calcBBEBatch();
        }
      });

      jStatusText = new JLabel4j_std();
      jDesktopPane1.add(jStatusText);
      jStatusText.setForeground(new java.awt.Color(255, 0, 0));
      jStatusText.setBounds(0, 513, 761, 21);
      jStatusText.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));

      final JPanel panel = new JPanel();
      panel.setBorder(new TitledBorder(null, lang.get("lbl_Options"), TitledBorder.DEFAULT_JUSTIFICATION, TitledBorder.DEFAULT_POSITION, null, null));
      panel.setBackground(Color.WHITE);
      panel.setFont(Common.font_title);
      panel.setLayout(null);
      panel.setBounds(7, 379, 748, 45);
      jDesktopPane1.add(panel);
      jLabelPrintLabel_1 = new JLabel4j_std();
      jLabelPrintLabel_1.setBounds(66, 15, 138, 21);
      panel.add(jLabelPrintLabel_1);
      jLabelPrintLabel_1.setHorizontalTextPosition(SwingConstants.CENTER);
      jLabelPrintLabel_1.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabelPrintLabel_1.setText(lang.get("lbl_Preview"));
      jCheckBoxAutoPreview = new JCheckBox4j();
      jCheckBoxAutoPreview.setBounds(208, 15, 21, 21);
      panel.add(jCheckBoxAutoPreview);
      jCheckBoxAutoPreview.setToolTipText("Auto SSCC");
      jCheckBoxAutoPreview.setSelected(true);
      jCheckBoxAutoPreview.setBackground(new Color(255, 255, 255));
      jCheckBoxAutoPreview.setText("New JCheckBox");
      jCheckBoxAutoPreview.setEnabled(true);
      jLabelPrintLabel_2 = new JLabel4j_std();
      jLabelPrintLabel_2.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabelPrintLabel_2.setText(lang.get("lbl_Label_Header_Text"));
      jLabelPrintLabel_2.setBounds(315, 15, 138, 21);
      panel.add(jLabelPrintLabel_2);
      jLabelQuantity_1 = new JLabel4j_std();
      jLabelQuantity_1.setBounds(528, 15, 154, 21);
      panel.add(jLabelQuantity_1);
      jLabelQuantity_1.setHorizontalAlignment(SwingConstants.RIGHT);
      jLabelQuantity_1.setText(lang.get("lbl_No_Of_Labels"));
      jSpinnerQuantity = new JSpinner();
      jSpinnerQuantity.addChangeListener(new ChangeListener() {
        public void stateChanged(final ChangeEvent e)
        {
          int t = Integer.valueOf(jSpinnerQuantity.getValue().toString());

          if (t <= 0)
          {
            jSpinnerQuantity.setValue(1);
          }

          if (t > 50)
          {
            jSpinnerQuantity.setValue(50);
          }
        }
      });

      jSpinnerQuantity.setBounds(687, 15, 49, 21);
      jSpinnerQuantity.setInputVerifier(null);
      jSpinnerQuantity.setModel(quantitynumbermodel);
      jSpinnerQuantity.setValue(1);
      JSpinner.NumberEditor ne = new JSpinner.NumberEditor(jSpinnerQuantity);
      ne.getTextField().setFont(Common.font_std);
      jSpinnerQuantity.setEditor(ne);
      panel.add(jSpinnerQuantity);

      checkBoxIncHeaderText = new JCheckBox4j();
      checkBoxIncHeaderText.setSelected(true);
      checkBoxIncHeaderText.setText("New JCheckBox");
      checkBoxIncHeaderText.setBackground(Color.WHITE);
      checkBoxIncHeaderText.setBounds(453, 15, 21, 21);
      panel.add(checkBoxIncHeaderText);

      jTextFieldBatchSuffix = new JTextField4j();
      jTextFieldBatchSuffix.setText("");
      jTextFieldBatchSuffix.setBounds(285, 85, 39, 21);
      jPanelLabel.add(jTextFieldBatchSuffix);

      calendarButtonjSpinnerExpiryDate = new JCalendarButton(jSpinnerExpiryDate);
      calendarButtonjSpinnerExpiryDate.setEnabled(false);
      calendarButtonjSpinnerExpiryDate.setBounds(308, 52, 21, 21);
      jPanelLabel.add(calendarButtonjSpinnerExpiryDate);

      lblPrintQueueFor = new JLabel4j_std(lang.get("lbl_Print_Queue"));
View Full Code Here

Examples of com.commander4j.calendar.JCalendarButton

          checkBoxConfirmed.setText("");
          checkBoxConfirmed.setBounds(143, 470, 32, 24);
          jDesktopPane1.add(checkBoxConfirmed);
        }
        {
          calendarButtonproductionDate = new JCalendarButton(productionDate);
          calendarButtonproductionDate.setBounds(275, 418, 21, 21);
          jDesktopPane1.add(calendarButtonproductionDate);
        }
        {
          calendarButtonexpiryDate = new JCalendarButton(expiryDate);
          calendarButtonexpiryDate.setBounds(275, 197, 21, 21);
          calendarButtonexpiryDate.setVisible(false);
          jDesktopPane1.add(calendarButtonexpiryDate);
        }
        {
View Full Code Here

Examples of com.commander4j.calendar.JCalendarButton

          jButtonExcel.setBounds(293, 97, 126, 28);
          jDesktopPane1.add(jButtonExcel);
        }
       
        {
          calendarButtonexpiryFrom = new JCalendarButton(expiryFrom);
          calendarButtonexpiryFrom.setEnabled(false);
          calendarButtonexpiryFrom.setBounds(248, 110, 21, 21);
          jDesktopPane1.add(calendarButtonexpiryFrom);
        }
        {
          calendarButtonexpiryTo = new JCalendarButton(expiryTo);
          calendarButtonexpiryTo.setEnabled(false);
          calendarButtonexpiryTo.setBounds(248, 145, 21, 21);
          jDesktopPane1.add(calendarButtonexpiryTo);
        }
      }
View Full Code Here

Examples of com.commander4j.calendar.JCalendarButton

    textFieldUserData2 = new JTextField4j();
    textFieldUserData2.setColumns(10);
    textFieldUserData2.setBounds(386, 44, 138, 22);
    desktopPane.add(textFieldUserData2);

    calendarButtonsampleDateFrom = new JCalendarButton(dateSampleFrom);
    calendarButtonsampleDateFrom.setSize(21, 21);
    calendarButtonsampleDateFrom.setEnabled(false);
    calendarButtonsampleDateFrom.setLocation(273, 84);
    desktopPane.add(calendarButtonsampleDateFrom);

    calendarButtonsampleDateTo = new JCalendarButton(dateSampleTo);
    calendarButtonsampleDateTo.setSize(21, 21);
    calendarButtonsampleDateTo.setEnabled(false);
    calendarButtonsampleDateTo.setLocation(526, 84);
    desktopPane.add(calendarButtonsampleDateTo);
View Full Code Here

Examples of com.commander4j.calendar.JCalendarButton

    Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
    Rectangle window = getBounds();
    setLocation((screen.width - window.width) / 2, (screen.height - window.height) / 2);
   
    calendarButtontransactionDateFrom = new JCalendarButton(transactionDateFrom);
    calendarButtontransactionDateFrom.setEnabled(false);
    calendarButtontransactionDateFrom.setBounds(282, 9, 21, 21);
    jDesktopPane1.add(calendarButtontransactionDateFrom);
   
    calendarButtontransactionDateTo = new JCalendarButton(transactionDateTo);
    calendarButtontransactionDateTo.setEnabled(false);
    calendarButtontransactionDateTo.setBounds(476, 9, 21, 21);
    jDesktopPane1.add(calendarButtontransactionDateTo);

    setSequence(dlg_sort_descending);
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.