坦克大战.java~2~

来自「新功能坦克大战」· JAVA~2~ 代码 · 共 58 行

JAVA~2~
58
字号
package 坦克大战;
import java.io.*;

import javax.swing.*;

import com.borland.dx.dataset.*;
import com.borland.dx.sql.dataset.*;
import com.borland.jbcl.layout.*;

public class 坦克大战 extends JFrame implements Serializable {
    public 坦克大战() {
        try {
            jbInit();
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
    public static void main(String[] args) {
        坦克大战 坦克大战 = new 坦克大战();
    }

    private void jbInit() throws Exception {
        this.getContentPane().setLayout(xYLayout1);
        jButton1.setText("jButton1");
        jTextField1.setText("jTextField1");
        queryDataSet1.setLocale(new java.util.Locale("zh", "CN", ""));
        tableDataSet1.setSchemaName("");
        tableDataSet1.setTableName("");
        tableDataSet1.setStoreName("");
        this.getContentPane().add(jTextField1,
                                  new XYConstraints(197, 140, 133, 37));
        this.getContentPane().add(jButton1, new XYConstraints(83, 134, 96, 44));
        queryDataSet1.setMasterLink(new com.borland.dx.dataset.
                                    MasterLinkDescriptor(null, (String[])null,
                (String[])null, true, false, false));
        Class.forName("");
        tableDataSet1.setMasterLink(new com.borland.dx.dataset.
                                    MasterLinkDescriptor(queryDataSet1, (String[])null,
                (String[])null, true, false, false));
    }

    XYLayout xYLayout1 = new XYLayout();
    JButton jButton1 = new JButton();
    JTextField jTextField1 = new JTextField();
    QueryDataSet queryDataSet1 = new QueryDataSet();
    QueryDataSet queryDataSet2 = new QueryDataSet();
    TableDataSet tableDataSet1 = new TableDataSet();
    private void readObject(ObjectInputStream ois) throws IOException,
            ClassNotFoundException {
        ois.defaultReadObject();
    }

    private void writeObject(ObjectOutputStream oos) throws IOException {
        oos.defaultWriteObject();
    }

}

⌨️ 快捷键说明

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