getText ())) return (JButton) comp;. However, I suggest you populate a Map<String, JButton> buttonMap when you create and add the buttons.
確定! 回上一頁