JButton btn = new JButton(); Then you can use the getText(); method to get the text of the button. So, if you have a button with text as "1" ...
確定! 回上一頁