src/com/mwq/stat/StatFrame.java

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/*
 * NewJFrame.java
 * Created on 2008年7月10日, 下午4:22
 */
package com.mwq.stat;

import com.mwq.stat.tool.ScreenSize;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.UIManager;
import javax.swing.UnsupportedLookAndFeelException;

/**
 * @author Administrator
 */
public class StatFrame extends javax.swing.JFrame {
    
    /** Creates new form NewJFrame */
    public StatFrame() {
        initComponents();
        ScreenSize.centered(this);
    }
    
    /**
     * 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">
    private void initComponents() {
        statPanel = new com.mwq.stat.StatPanel();
        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setTitle("决策分析");
        getContentPane().add(statPanel, java.awt.BorderLayout.CENTER);
        pack();
    }
    // </editor-fold>
    
    /**
     * @param args
     *            the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            
            public void run() {
                try {
                    UIManager.setLookAndFeel(UIManager
                            .getSystemLookAndFeelClassName());
                } catch (ClassNotFoundException ex) {
                    Logger.getLogger(StatFrame.class.getName()).log(
                            Level.SEVERE, null, ex);
                } catch (InstantiationException ex) {
                    Logger.getLogger(StatFrame.class.getName()).log(
                            Level.SEVERE, null, ex);
                } catch (IllegalAccessException ex) {
                    Logger.getLogger(StatFrame.class.getName()).log(
                            Level.SEVERE, null, ex);
后面还有 13 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。