hide background of button java swing

Solutions on MaxInterview for hide background of button java swing by the best coders in the world

showing results for - "hide background of button java swing"
Gaspard
14 Feb 2016
1JButton play = new JButton("This",new ImageIcon("src\play.png"));
2        play.setBorderPainted(false); 
3        play.setContentAreaFilled(false); 
4        play.setFocusPainted(false); 
5        play.setOpaque(false);
6