You can use: button.setFont(new Font("Arial", Font.PLAIN, 40)); "Arial" is obviously the name of the font being used. Font.PLAIN means plain text (as ...
確定! 回上一頁