public void actionPerformed(ActionEvent e){ text.append("new linen"); } }. 建立好inner class 之後,要讓JButton 的ActionListener 會去呼叫寫好 ...
確定! 回上一頁