Package models

Examples of models.appComboBoxes


    JLabel begin = new JLabel("Begin: ");
    JLabel end = new JLabel("End: ");
    JLabel interval = new JLabel("Interval: ");
    JButton lookup = new JButton("Lookup");
    JCheckBox order = new JCheckBox("Chronological Order");
      appComboBoxes boxImporter = new appComboBoxes();
        appComboBoxes boxImporter2 = new appComboBoxes();
      JComboBox beginDay = boxImporter.getDaysBox();
      JComboBox beginMonth = boxImporter.getMonthBox();
      JComboBox beginYear = boxImporter.getYearBox();
     
      Calendar c = Calendar.getInstance();
     
      JComboBox endDay = boxImporter2.getDaysBox();
      endDay.setSelectedIndex(c.get(Calendar.DATE)-1);
     
      JComboBox endMonth = boxImporter2.getMonthBox();
      endMonth.setSelectedIndex(c.get(Calendar.MONTH));
     
      JComboBox endYear = boxImporter2.getYearBox();
      endYear.setSelectedIndex(42);
     
      Container contentPane = getContentPane();
        JPanel mainPane = new JPanel();
        JPanel centrePane = new JPanel();
View Full Code Here

TOP

Related Classes of models.appComboBoxes

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.