@Action
    public void run() {
        int n = Integer.parseInt(jFormattedTextField1.getText());
        if (n > 15 || n < 0) {
            jTable1.setModel(new javax.swing.table.DefaultTableModel());
            if (errorReport == null) {
                JFrame mainFrame = DemoApp.getApplication().getMainFrame();
                errorReport = new ErrorReport(mainFrame, false, 3);
                errorReport.setLocationRelativeTo(mainFrame);
            }
            DemoApp.getApplication().show(errorReport);
            return;
        }
        
        int[][] intM = SJ03.nDivM(n);
        Integer[][] intR = new Integer[n][n + 2];
        int[] intT = SJ03.compute(n);
        String[] strC = new String[n + 2];

        strC[0] = "元数";
        strC[1] = "总数";

        for (int i = 0; i < n; i++) {
            strC[i + 2] = (i + 1) + "块";
            intR[i][0] = i + 1;
            intR[i][1] = intT[i + 1];
            for (int j = 1; j <= n; j++) {
                intR[i][j + 1] = intM[i + 1][j];
            }
        }
        jTable1.setModel(new javax.swing.table.DefaultTableModel(
                intR, strC));
    }