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

📄 jav6a.java

📁 jsplitPanel的应用 还是可以的 可以下下来看看 有帮助的
💻 JAVA
字号:
public class Test extends JFrame{

private static JSplitPane hSplitPane = new JSplitPane();

public static void main(String args[]) {
new Test();
}

public Test() {
super();
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

hSplitPane.setDividerLocation(0.65);
hSplitPane.setResizeWeight(0.65);   


hSplitPane.setLeftComponent(buildUI());
hSplitPane.setDoubleBuffered(true);
hSplitPane.setContinuousLayout(true);

this.getContentPane().add(hSplitPane, BorderLayout.CENTER);
this.setSize(700, 400);
this.setVisible(true);
}

⌨️ 快捷键说明

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