📄 jxdatepickerdemopanel.java
字号:
/* * JXDatePickerDemoPanel.java * * Created on April 16, 2005, 9:33 AM */package org.jdesktop.demo.swingx;import org.jdesktop.demo.DemoPanel;/** * Demonstrates the JXDatePicker component. * * @author rbair */public class JXDatePickerDemoPanel extends DemoPanel { /** * Creates new form JXDatePickerDemoPanel */ public JXDatePickerDemoPanel() { setName("Date Picker Demo"); initComponents(); } public String getHtmlDescription() { return "<html><b>JXDatePicker Demo</b><br/>" + "Demonstrates the drop-down date selection component. To " + "pick a date from a drop-down calendar, click on the expansion " + "arrow to the right of the drop-down. The "current" " + "date in the calendar is the date currently in the text field. " + "Pick a date!</html>"; } public String getName() { return "Date Selection"; } /** This method is called from within the constructor to * initialize the form. * WARNING: Do NOT modify this code. The content of this method is * always regenerated by the Form Editor. */ // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents private void initComponents() { jXDatePicker1 = new org.jdesktop.swingx.JXDatePicker(); setLayout(new java.awt.GridBagLayout()); add(jXDatePicker1, new java.awt.GridBagConstraints()); } // </editor-fold>//GEN-END:initComponents // Variables declaration - do not modify//GEN-BEGIN:variables private org.jdesktop.swingx.JXDatePicker jXDatePicker1; // End of variables declaration//GEN-END:variables }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -