JButton play = new JButton("This",new ImageIcon("srcplay.png")); play.setBorderPainted(false); play.setContentAreaFilled(false); play.setFocusPainted(false); play.setOpaque(false);