button.setBorderPainted (false); // ND: This is needed as well! } Or try this: from: java - How to Set the Background Color of a JButton on the Mac OS ...
確定! 回上一頁