摘要:
JPanel就是一个容器,对一个容器一般只有四个操作:设定layout(排列方式),add component,remove component,get component。add(Componet,[int],[Object],[String]),其中int是component在panel中的index,默认index从0开始。Object和String表示一些有关layout的constraint信息,比如位置等。panels do not add colors to anything except their own background; however, you can easily 阅读全文
posted @ 2014-03-12 19:33
HF_Cherish
阅读(261)
评论(0)
推荐(0)
浙公网安备 33010602011771号