资源简介
可以用这个完成界面设计
代码片段和文件信息
package a;
import java.awt.Dimension;
import javax.swing.Jframe;
import javax.swing.JPanel;
import javax.swing.JSplitPane;
import javax.swing.JTree;
import javax.swing.tree.DefaultMutableTreeNode;
public class Jtree extends Jframe {
private DefaultMutableTreeNode root red green blue;
private JTree jtree1;
private JPanel jpanel1;
private Jframe frame;
Jtree() {
super();
initilize();
}
//初始化。
public void initilize() {
frame = new Jframe(“Jtree“);
root = new DefaultMutableTreeNode(“Color“);
red = new DefaultMutableTreeNode(“red“);
blue = new DefaultMutableTreeNod
- 上一篇:ftpclient工具jar包
- 下一篇:java 实现支付宝接口
评论
共有 条评论