也就是說JFrame視窗內的每個元件都是使用setBounds()方法來決定元件的位置。 ... setBounds(80, 29, 100, 23); contentPane.add(btn1); JButton btn2 = new JButton(" ...
確定! 回上一頁