Package com.commander4j.calendar

Examples of com.commander4j.calendar.JCalendarButton


      jCheckBoxAutoSSCC.setToolTipText("Auto SSCC");
      jCheckBoxAutoSSCC.setBackground(new Color(255, 255, 255));
      jCheckBoxAutoSSCC.setBounds(139, 18, 21, 21);
      jPanelPallet.add(jCheckBoxAutoSSCC);

      calendarButtonjSpinnerProductionDate = new JCalendarButton(jSpinnerProductionDate);
      calendarButtonjSpinnerProductionDate.setEnabled(false);
      calendarButtonjSpinnerProductionDate.setBounds(290, 47, 21, 21);
      jPanelPallet.add(calendarButtonjSpinnerProductionDate);
      jPanelBatch = new JPanel();
      jDesktopPane1.add(jPanelBatch);
      jPanelBatch.setBounds(7, 315, 748, 56);
      jPanelBatch.setLayout(null);
      jPanelBatch.setFont(Common.font_std);
      jPanelBatch.setBorder(BorderFactory.createTitledBorder(lang.get("lbl_Material_Batch")));
      jPanelBatch.setBackground(new java.awt.Color(255, 255, 255));
      jLabelBatch = new JLabel4j_std();
      jPanelBatch.add(jLabelBatch);
      jLabelBatch.setText(lang.get("lbl_Material_Batch"));
      jLabelBatch.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabelBatch.setBounds(320, 21, 96, 21);

      jTextFieldBatch = new JTextField4j();
      jPanelBatch.add(jTextFieldBatch);
      AbstractDocument doc = (AbstractDocument) jTextFieldBatch.getDocument();
      doc.setDocumentFilter(new JFixedSizeFilter(JDBMaterialBatch.field_batch_number));
      jTextFieldBatch.setBounds(449, 21, 108, 21);
      jTextFieldBatch.setEnabled(false);

      jSpinnerExpiryDate = new JDateControl();
      jSpinnerExpiryDate.addFocusListener(new FocusAdapter() {
        @Override
        public void focusLost(FocusEvent arg0)
        {
          jSpinnerExpiryDate.setDate(material.getRoundedExpiryDate(jSpinnerExpiryDate.getDate()));
        }
      });
      jPanelBatch.add(jSpinnerExpiryDate);
      jSpinnerExpiryDate.setFont(Common.font_std);
      jSpinnerExpiryDate.setBounds(161, 17, 135, 25);
      jSpinnerExpiryDate.getEditor().setPreferredSize(new java.awt.Dimension(87, 19));
      jSpinnerExpiryDate.getEditor().setSize(87, 21);
      jSpinnerExpiryDate.setEnabled(false);
      jLabelBatchExpiry = new JLabel4j_std();
      jPanelBatch.add(jLabelBatchExpiry);
      jLabelBatchExpiry.setText(lang.get("lbl_Material_Batch_Expiry_Date"));
      jLabelBatchExpiry.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabelBatchExpiry.setBounds(12, 17, 122, 21);
      jCheckBoxExpiry = new JCheckBox();
      jPanelBatch.add(jCheckBoxExpiry);
      jCheckBoxExpiry.setBounds(139, 17, 21, 21);
      jCheckBoxExpiry.setBackground(new java.awt.Color(255, 255, 255));
      jCheckBoxExpiry.setEnabled(false);
      jCheckBoxExpiry.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent evt)
        {
          enableField(jSpinnerExpiryDate, jCheckBoxExpiry.isSelected());
          enableField(calendarButtonjSpinnerExpiryDate, jCheckBoxExpiry.isSelected());
          calcBBEBatch();
        }
      });
      jCheckBoxBatch = new JCheckBox();
      jPanelBatch.add(jCheckBoxBatch);
      jCheckBoxBatch.setEnabled(false);
      jCheckBoxBatch.setBackground(new java.awt.Color(255, 255, 255));
      jCheckBoxBatch.setBounds(422, 21, 21, 21);
      jCheckBoxBatch.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent evt)
        {
          enableField(jTextFieldBatch, jCheckBoxBatch.isSelected());
          calcBBEBatch();
        }
      });
      jStatusText = new JLabel4j_std();
      jDesktopPane1.add(jStatusText);
      jStatusText.setForeground(new java.awt.Color(255, 0, 0));
      jStatusText.setBounds(0, 532, 761, 21);
      jStatusText.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED));
      jButtonReprint = new JButton4j(Common.icon_report);
      jButtonReprint.addActionListener(new ActionListener() {
        public void actionPerformed(ActionEvent e)
        {
          buildSQL(ssccList, ssccItems);
          String pq = comboBoxPrintQueue.getSelectedItem().toString();
         
           JLaunchReport.runReport(labelPrint.getPalletLabelReportName(pallet.getProcessOrder()), listStatement, jCheckBoxAutoPreview.isSelected(), pq,
              Integer.valueOf(jSpinnerCopies.getValue().toString()), checkBoxIncHeaderText.isSelected());

        }
      });
      jButtonReprint.setMnemonic(KeyEvent.VK_C);
      jButtonReprint.setText(lang.get("btn_Re_Print"));
      jButtonReprint.setBounds(248, 492, 126, 28);
      jButtonReprint.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_PRODDEC_REPRINT"));
      jDesktopPane1.add(jButtonReprint);

      {
        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, 374, 748, 73);
        jDesktopPane1.add(panel);
        jLabelPrintLabel = new JLabel4j_std();
        jLabelPrintLabel.setBounds(0, 15, 129, 21);
        panel.add(jLabelPrintLabel);
        jLabelPrintLabel.setHorizontalAlignment(SwingConstants.TRAILING);
        jLabelPrintLabel.setText(lang.get("lbl_Print"));
        jCheckBoxAutoPrint = new JCheckBox();
        jCheckBoxAutoPrint.setBounds(139, 15, 21, 21);
        panel.add(jCheckBoxAutoPrint);
        jCheckBoxAutoPrint.setToolTipText("Auto SSCC");
        jCheckBoxAutoPrint.setSelected(true);
        jCheckBoxAutoPrint.setBackground(new Color(255, 255, 255));
        jCheckBoxAutoPrint.setText("New JCheckBox");
        jCheckBoxAutoPrint.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_PRODDEC_PRINT"));
        jLabelPrintLabel_1 = new JLabel4j_std();
        jLabelPrintLabel_1.setBounds(282, 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 JCheckBox();
        jCheckBoxAutoPreview.setBounds(424, 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(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_PRODDEC_PREVIEW"));
        jLabelPrintLabel_2 = new JLabel4j_std();
        jLabelPrintLabel_2.setHorizontalAlignment(SwingConstants.TRAILING);
        jLabelPrintLabel_2.setText(lang.get("lbl_Label_Header_Text"));
        jLabelPrintLabel_2.setBounds(10, 44, 119, 21);
        panel.add(jLabelPrintLabel_2);
        jCheckBoxAutoConfirm = new JCheckBox();
        jCheckBoxAutoConfirm.setBackground(Color.WHITE);
        jCheckBoxAutoConfirm.setText("New JCheckBox");
        jCheckBoxAutoConfirm.setBounds(424, 44, 21, 21);
        panel.add(jCheckBoxAutoConfirm);
        jCheckBoxAutoConfirm.setEnabled(Common.userList.getUser(Common.sessionID).isModuleAllowed("FRM_PRODDEC_CONFIRM"));
        jLabelQuantity_1 = new JLabel4j_std();
        jLabelQuantity_1.setBounds(474, 15, 201, 21);
        panel.add(jLabelQuantity_1);
        jLabelQuantity_1.setHorizontalAlignment(SwingConstants.RIGHT);
        jLabelQuantity_1.setText(lang.get("lbl_Number_of_SSCCs"));

        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);

        jSpinnerCopies = new JSpinner();
        jSpinnerCopies.setBounds(687, 44, 49, 21);
        jSpinnerCopies.setInputVerifier(null);
        jSpinnerCopies.setModel(copiesnumbermodel);
        JSpinner.NumberEditor nec2 = new JSpinner.NumberEditor(jSpinnerCopies);
        nec2.getTextField().setFont(Common.font_std);
        jSpinnerCopies.setEditor(nec2);
        panel.add(jSpinnerCopies);

        labelCopies.setText((String) null);
        labelCopies.setHorizontalAlignment(SwingConstants.RIGHT);
        labelCopies.setBounds(474, 44, 201, 21);
        labelCopies.setText(lang.get("lbl_Labels_Per_SSCC"));
        panel.add(labelCopies);

        label_1 = new JLabel4j_std();
        label_1.setHorizontalAlignment(SwingConstants.TRAILING);
        label_1.setText(lang.get("lbl_Confirmed"));
        label_1.setBounds(292, 44, 129, 21);
        panel.add(label_1);

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

        textFieldBatchExtension = new JTextField4j();
        textFieldBatchExtension.setText("");
        textFieldBatchExtension.setBounds(561, 21, 39, 21);
        jPanelBatch.add(textFieldBatchExtension);

        calendarButtonjSpinnerExpiryDate = new JCalendarButton(jSpinnerExpiryDate);
        calendarButtonjSpinnerExpiryDate.setEnabled(false);
        calendarButtonjSpinnerExpiryDate.setBounds(290, 18, 21, 21);
        jPanelBatch.add(calendarButtonjSpinnerExpiryDate);

      }
View Full Code Here


    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

    dateControlCreatedFrom = new JDateControl();
    dateControlCreatedFrom.setEnabled(false);
    dateControlCreatedFrom.setBounds(634, 31, 125, 25);
    jDesktopPane1.add(dateControlCreatedFrom);
   
    calendarButtonCreatedFrom = new JCalendarButton(dateControlCreatedFrom);
    calendarButtonCreatedFrom.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
      }
    });
    calendarButtonCreatedFrom.setEnabled(false);
    calendarButtonCreatedFrom.setBounds(763, 35, 21, 21);
    jDesktopPane1.add(calendarButtonCreatedFrom);
   
    checkBoxCreatedFrom = new JCheckBox();
    checkBoxCreatedFrom.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        if (checkBoxCreatedFrom.isSelected())
        {
          dateControlCreatedFrom.setEnabled(true);
          calendarButtonCreatedFrom.setEnabled(true);
        }
        else
        {
          dateControlCreatedFrom.setEnabled(false);
          calendarButtonCreatedFrom.setEnabled(false);
        }
      }
    });
    checkBoxCreatedFrom.setBackground(Color.WHITE);
    checkBoxCreatedFrom.setBounds(604, 31, 21, 25);
    jDesktopPane1.add(checkBoxCreatedFrom);
   
    checkBoxCreatedTo = new JCheckBox();
    checkBoxCreatedTo.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        if (checkBoxCreatedTo.isSelected())
        {
          dateControlCreatedTo.setEnabled(true);
          calendarButtonCreatedTo.setEnabled(true);
        }
        else
        {
          dateControlCreatedTo.setEnabled(false);
          calendarButtonCreatedTo.setEnabled(false);
        }
      }
    });
    checkBoxCreatedTo.setBackground(Color.WHITE);
    checkBoxCreatedTo.setBounds(784, 31, 21, 25);
    jDesktopPane1.add(checkBoxCreatedTo);
   
    dateControlCreatedTo = new JDateControl();
    dateControlCreatedTo.setEnabled(false);
    dateControlCreatedTo.setBounds(810, 31, 125, 25);
    jDesktopPane1.add(dateControlCreatedTo);
   
    calendarButtonCreatedTo = new JCalendarButton(dateControlCreatedTo);
    calendarButtonCreatedTo.setEnabled(false);
    calendarButtonCreatedTo.setBounds(938, 35, 21, 21);
    jDesktopPane1.add(calendarButtonCreatedTo);
   
    JLabel4j_std labelExpected = new JLabel4j_std();
    labelExpected.setText(lang.get("lbl_Expected"));
    labelExpected.setHorizontalAlignment(SwingConstants.TRAILING);
    labelExpected.setBounds(476, 63, 126, 21);
    jDesktopPane1.add(labelExpected);
   
    checkBoxExpectedFrom = new JCheckBox();
    checkBoxExpectedFrom.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        if (checkBoxExpectedFrom.isSelected())
        {
          dateControlExpectedFrom.setEnabled(true);
          calendarButtonExpectedFrom.setEnabled(true);
        }
        else
        {
          dateControlExpectedFrom.setEnabled(false);
          calendarButtonExpectedFrom.setEnabled(false);
        }
      }
    });
    checkBoxExpectedFrom.setBackground(Color.WHITE);
    checkBoxExpectedFrom.setBounds(604, 59, 21, 25);
    jDesktopPane1.add(checkBoxExpectedFrom);
   
    dateControlExpectedFrom = new JDateControl();
    dateControlExpectedFrom.setEnabled(false);
    dateControlExpectedFrom.setBounds(634, 59, 125, 25);
    jDesktopPane1.add(dateControlExpectedFrom);
   
    calendarButtonExpectedFrom = new JCalendarButton(dateControlExpectedFrom);
    calendarButtonExpectedFrom.setEnabled(false);
    calendarButtonExpectedFrom.setBounds(763, 63, 21, 21);
    jDesktopPane1.add(calendarButtonExpectedFrom);
   
    checkBoxExpectedTo = new JCheckBox();
    checkBoxExpectedTo.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        if (checkBoxExpectedTo.isSelected())
        {
          dateControlExpectedTo.setEnabled(true);
          calendarButtonExpectedTo.setEnabled(true);
        }
        else
        {
          dateControlExpectedTo.setEnabled(false);
          calendarButtonExpectedTo.setEnabled(false);
        }
      }
    });
    checkBoxExpectedTo.setBackground(Color.WHITE);
    checkBoxExpectedTo.setBounds(784, 59, 21, 25);
    jDesktopPane1.add(checkBoxExpectedTo);
   
    dateControlExpectedTo = new JDateControl();
    dateControlExpectedTo.setEnabled(false);
    dateControlExpectedTo.setBounds(810, 59, 125, 25);
    jDesktopPane1.add(dateControlExpectedTo);
   
    calendarButtonExpectedTo = new JCalendarButton(dateControlExpectedTo);
    calendarButtonExpectedTo.setEnabled(false);
    calendarButtonExpectedTo.setBounds(938, 63, 21, 21);
    jDesktopPane1.add(calendarButtonExpectedTo);
   
    JLabel4j_std labelResolved = new JLabel4j_std();
    labelResolved.setText(lang.get("lbl_Resolved"));
    labelResolved.setHorizontalAlignment(SwingConstants.TRAILING);
    labelResolved.setBounds(480, 90, 122, 21);
    jDesktopPane1.add(labelResolved);
   
    checkBoxResolvedFrom = new JCheckBox();
    checkBoxResolvedFrom.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
        if (checkBoxResolvedFrom.isSelected())
        {
          dateControlResolvedFrom.setEnabled(true);
          calendarButtonResolvedFrom.setEnabled(true);
        }
        else
        {
          dateControlResolvedFrom.setEnabled(false);
          calendarButtonResolvedFrom.setEnabled(false);
        }
      }
    });
    checkBoxResolvedFrom.setBackground(Color.WHITE);
    checkBoxResolvedFrom.setBounds(604, 86, 21, 25);
    jDesktopPane1.add(checkBoxResolvedFrom);
   
    dateControlResolvedFrom = new JDateControl();
    dateControlResolvedFrom.setEnabled(false);
    dateControlResolvedFrom.setBounds(634, 86, 125, 25);
    jDesktopPane1.add(dateControlResolvedFrom);
   
    checkBoxResolvedTo = new JCheckBox();
    checkBoxResolvedTo.addActionListener(new ActionListener() {
      public void actionPerformed(ActionEvent e) {
          if (checkBoxResolvedTo.isSelected())
          {
            dateControlResolvedTo.setEnabled(true);
            calendarButtonResolvedTo.setEnabled(true);
          }
          else
          {
            dateControlResolvedTo.setEnabled(false);
            calendarButtonResolvedTo.setEnabled(false);
          }
      }
    });
    checkBoxResolvedTo.setBackground(Color.WHITE);
    checkBoxResolvedTo.setBounds(784, 86, 21, 25);
    jDesktopPane1.add(checkBoxResolvedTo);
   
    dateControlResolvedTo = new JDateControl();
    dateControlResolvedTo.setEnabled(false);
    dateControlResolvedTo.setBounds(810, 86, 125, 25);
    jDesktopPane1.add(dateControlResolvedTo);
   
    calendarButtonResolvedFrom = new JCalendarButton(dateControlResolvedFrom);
    calendarButtonResolvedFrom.setEnabled(false);
    calendarButtonResolvedFrom.setBounds(763, 90, 21, 21);
    jDesktopPane1.add(calendarButtonResolvedFrom);
   
    calendarButtonResolvedTo = new JCalendarButton(dateControlResolvedTo);
    calendarButtonResolvedTo.setEnabled(false);
    calendarButtonResolvedTo.setBounds(938, 90, 21, 21);
    jDesktopPane1.add(calendarButtonResolvedTo);
    {
      button = new JButton4j(Common.icon_lookup);
View Full Code Here

    domDateFrom = new JDateControl();
    domDateFrom.setBounds(6, 27, 128, 25);
    panelDateParams.add(domDateFrom);
    domDateFrom.setFont(Common.font_std);

    button_CalendardomDateFrom = new JCalendarButton(domDateFrom);
    button_CalendardomDateFrom.setSize(21, 21);
    button_CalendardomDateFrom.setLocation(510, 314);
    button_CalendardomDateFrom.setBounds(135, 31, 21, 21);
    panelDateParams.add(button_CalendardomDateFrom);

    JLabel4j_std label4jEnd = new JLabel4j_std(lang.get("web_To"));
    label4jEnd.setBounds(11, 67, 149, 15);
    panelDateParams.add(label4jEnd);

    domDateTo = new JDateControl();
    domDateTo.setBounds(6, 82, 128, 25);
    panelDateParams.add(domDateTo);
    domDateTo.setFont(Common.font_std);

    button_CalendardomDateTo = new JCalendarButton(domDateTo);
    button_CalendardomDateTo.setSize(21, 21);
    button_CalendardomDateTo.setLocation(510, 369);
    button_CalendardomDateTo.setBounds(135, 86, 21, 21);
    panelDateParams.add(button_CalendardomDateTo);
View Full Code Here

          jButtonExcel.setBounds(293, 97, 126, 32);
          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

      jLabel2_1.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabel2_1.setText(lang.get("lbl_User_Account_Email"));
      jLabel2_1.setBounds(0, 367, 158, 20);
      jDesktopPane1.add(jLabel2_1);
     
      calendarButton = new JCalendarButton(accountExpiryDate);
      calendarButton.setEnabled(false);
      calendarButton.setBounds(300, 336, 21, 21);
      jDesktopPane1.add(calendarButton);
     
      postInitGUI();
View Full Code Here

    jTextFieldRequiredResource = new JTextField4j();
    jTextFieldRequiredResource.setBounds(148, 110, 117, 21);
    jDesktopPane1.add(jTextFieldRequiredResource);
   
    calendarButtondueDateFrom = new JCalendarButton(dueDateFrom);
    calendarButtondueDateFrom.setEnabled(false);
    calendarButtondueDateFrom.setBounds(300, 79, 21, 21);
    jDesktopPane1.add(calendarButtondueDateFrom);
   
    calendarButtondueDateTo = new JCalendarButton(dueDateTo);
    calendarButtondueDateTo.setEnabled(false);
    calendarButtondueDateTo.setBounds(510, 79, 21, 21);
    jDesktopPane1.add(calendarButtondueDateTo);
   
    jTextFieldInspectionID = new JTextField4j();
View Full Code Here

      jLabel2_1.setHorizontalAlignment(SwingConstants.TRAILING);
      jLabel2_1.setText(lang.get("lbl_User_Account_Email"));
      jLabel2_1.setBounds(0, 367, 158, 20);
      jDesktopPane1.add(jLabel2_1);
     
      calendarButton = new JCalendarButton(accountExpiryDate);
      calendarButton.setEnabled(false);
      calendarButton.setBounds(300, 336, 21, 21);
      jDesktopPane1.add(calendarButton);
     
      postInitGUI();
View Full Code Here

    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

    jTextFieldRequiredResource = new JTextField4j();
    jTextFieldRequiredResource.setBounds(148, 110, 117, 21);
    jDesktopPane1.add(jTextFieldRequiredResource);
   
    calendarButtondueDateFrom = new JCalendarButton(dueDateFrom);
    calendarButtondueDateFrom.setEnabled(false);
    calendarButtondueDateFrom.setBounds(300, 79, 21, 21);
    jDesktopPane1.add(calendarButtondueDateFrom);
   
    calendarButtondueDateTo = new JCalendarButton(dueDateTo);
    calendarButtondueDateTo.setEnabled(false);
    calendarButtondueDateTo.setBounds(510, 79, 21, 21);
    jDesktopPane1.add(calendarButtondueDateTo);
   
    jTextFieldCustomerID = new JTextField4j();
View Full Code Here

TOP

Related Classes of com.commander4j.calendar.JCalendarButton

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.