Then, for each component we add, we use the setBounds() method to set the exact size and ... 18 19 JButton button = new JButton("I'm a JButton"); 20 button.
確定! 回上一頁