Package org.jdesktop.swingx.calendar

Examples of org.jdesktop.swingx.calendar.DefaultDateSelectionModel


  private void setGebDatLimits() {
    // Kalenderbegrenzung
    Calendar now = Calendar.getInstance(), calB = Calendar.getInstance(), calE = Calendar
        .getInstance();
    DefaultDateSelectionModel dsm = new DefaultDateSelectionModel();
    calB.add(Calendar.MONTH, -1200);
    dsm.setLowerBound(calB.getTime());
    dsm.setUpperBound(calE.getTime());
    JXMonthView mv = new JXMonthView(new Date(), dsm, null);
    // mv.setPreferredRows(1);
    // mv.setPreferredCols(2);
    mv.setTraversable(true);
    dpGebDat.setDate(now.getTime());
View Full Code Here

TOP

Related Classes of org.jdesktop.swingx.calendar.DefaultDateSelectionModel

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.