JButton calss provides us a way to add buttons and events happens after button click. ... setBounds(100,100,140, 40);. f.add(b);.
確定! 回上一頁