You would need to call setFont(...) not setStyle. For example, if you want to keep the same font but change the style of a JTextField called ...
確定! 回上一頁