testfilechoose.java

来自「java(Swing) access做的成绩管理系统」· Java 代码 · 共 25 行

JAVA
25
字号
package edu.xscj.test;

import javax.swing.*;
import com.borland.jbcl.layout.XYLayout;
import com.borland.jbcl.layout.*;

public class TestFileChoose extends JFrame {
    public TestFileChoose() {
        try {
            jbInit();
        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }

    private void jbInit() throws Exception {
        this.getContentPane().setLayout(xYLayout1);
        this.getContentPane().add(jFileChooser1,
                                  new XYConstraints(104, 52, 202, 38));
    }

    XYLayout xYLayout1 = new XYLayout();
    JFileChooser jFileChooser1 = new JFileChooser();
}

⌨️ 快捷键说明

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