JButton button = new JButton(); button.setBackground(Color.red); button.setOpaque(true); button.setBorderPainted(false);. It works on my mac ...
確定! 回上一頁