摘要: 首先把相关容器的布局方式设为 setLayout(null); 然后调用组件的 setBounds() 方法 设置button的位置为(100,100) 长宽分别为 60,25 jButton.setBounds(new Rectangle(100, 100, 60, 25)); 阅读全文
posted @ 2016-09-21 16:31 不行这个名字不够霸气 阅读(643) 评论(0) 推荐(0) 编辑