You can use: button.setFont(new Font("Arial", Font.PLAIN, 40)); ... Should I call this in actionPerformed? ... It's working fine with setFont(Font) ...
確定! 回上一頁