比如把一个Panel的布局改成null , jPanel1.setLayout(null);
然后调整你的JButton,JLabel布局就直接调用setBounds就可以了
jLabel1.setBounds(new Rectangle(142, 9, 34, 16));
jButton1.setBounds(new Rectangle(146, 98, 104, 40));
。。
然后调整你的JButton,JLabel布局就直接调用setBounds就可以了
jLabel1.setBounds(new Rectangle(142, 9, 34, 16));
jButton1.setBounds(new Rectangle(146, 98, 104, 40));
。。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货