⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viewlogjpanel.java

📁 客运售票管理信息系统
💻 JAVA
字号:
/* * ViewLogJPanel.java * * Created on 2009年1月11日, 下午12:21 */package passengertransportmis;import org.jdesktop.application.Action;import java.security.Timestamp;import java.util.Date;/** * * @author  Degree41 */public class ViewLogJPanel extends javax.swing.JPanel {    /** Creates new form ViewLogJPanel */    public ViewLogJPanel() {        initComponents();    }    @Action    public void view(Date beginDate,Date endDate) {         }        /** 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.     */    @SuppressWarnings("unchecked")    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents    private void initComponents() {        viewButton = new javax.swing.JButton();        jScrollPane1 = new javax.swing.JScrollPane();        logInfoTextArea = new javax.swing.JTextArea();        jLabel1 = new javax.swing.JLabel();        beginDateSpinner = new javax.swing.JSpinner();        jSpinner2 = new javax.swing.JSpinner();        setName("Form"); // NOI18N        javax.swing.ActionMap actionMap = org.jdesktop.application.Application.getInstance(passengertransportmis.PassengerTransportMISApp.class).getContext().getActionMap(ViewLogJPanel.class, this);        viewButton.setAction(actionMap.get("view")); // NOI18N        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(passengertransportmis.PassengerTransportMISApp.class).getContext().getResourceMap(ViewLogJPanel.class);        viewButton.setFont(resourceMap.getFont("logInfoTextArea.font")); // NOI18N        viewButton.setText(resourceMap.getString("viewButton.text")); // NOI18N        viewButton.setName("viewButton"); // NOI18N        jScrollPane1.setName("jScrollPane1"); // NOI18N        logInfoTextArea.setColumns(20);        logInfoTextArea.setFont(resourceMap.getFont("logInfoTextArea.font")); // NOI18N        logInfoTextArea.setRows(5);        logInfoTextArea.setText(resourceMap.getString("logInfoTextArea.text")); // NOI18N        logInfoTextArea.setEnabled(false);        logInfoTextArea.setName("logInfoTextArea"); // NOI18N        jScrollPane1.setViewportView(logInfoTextArea);        jLabel1.setFont(resourceMap.getFont("logInfoTextArea.font")); // NOI18N        jLabel1.setText(resourceMap.getString("jLabel1.text")); // NOI18N        jLabel1.setName("jLabel1"); // NOI18N        beginDateSpinner.setFont(resourceMap.getFont("logInfoTextArea.font")); // NOI18N        beginDateSpinner.setModel(new javax.swing.SpinnerDateModel(new java.util.Date(), new java.util.Date(1199162160000L), null, java.util.Calendar.DAY_OF_YEAR));        beginDateSpinner.setName("beginDateSpinner"); // NOI18N        jSpinner2.setFont(resourceMap.getFont("logInfoTextArea.font")); // NOI18N        jSpinner2.setModel(new javax.swing.SpinnerDateModel(new java.util.Date(), null, null, java.util.Calendar.DAY_OF_YEAR));        jSpinner2.setName("jSpinner2"); // NOI18N        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);        this.setLayout(layout);        layout.setHorizontalGroup(            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)            .addGroup(layout.createSequentialGroup()                .addGap(28, 28, 28)                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)                    .addGroup(layout.createSequentialGroup()                        .addComponent(beginDateSpinner, javax.swing.GroupLayout.PREFERRED_SIZE, 144, javax.swing.GroupLayout.PREFERRED_SIZE)                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)                        .addComponent(jLabel1)                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)                        .addComponent(jSpinner2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)                        .addComponent(viewButton))                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 656, Short.MAX_VALUE))                .addContainerGap())        );        layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {beginDateSpinner, jSpinner2});        layout.setVerticalGroup(            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)            .addGroup(layout.createSequentialGroup()                .addGap(22, 22, 22)                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)                    .addComponent(beginDateSpinner, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)                    .addComponent(jLabel1)                    .addComponent(jSpinner2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)                    .addComponent(viewButton))                .addGap(28, 28, 28)                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 338, javax.swing.GroupLayout.PREFERRED_SIZE)                .addContainerGap(23, Short.MAX_VALUE))        );        layout.linkSize(javax.swing.SwingConstants.VERTICAL, new java.awt.Component[] {jLabel1, viewButton});    }// </editor-fold>//GEN-END:initComponents    // Variables declaration - do not modify//GEN-BEGIN:variables    private javax.swing.JSpinner beginDateSpinner;    private javax.swing.JLabel jLabel1;    private javax.swing.JScrollPane jScrollPane1;    private javax.swing.JSpinner jSpinner2;    private javax.swing.JTextArea logInfoTextArea;    private javax.swing.JButton viewButton;    // End of variables declaration//GEN-END:variables}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -