Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

hide background of button java swing

JButton play = new JButton("This",new ImageIcon("srcplay.png"));
        play.setBorderPainted(false); 
        play.setContentAreaFilled(false); 
        play.setFocusPainted(false); 
        play.setOpaque(false);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #hide #background #button #java #swing
ADD COMMENT
Topic
Name
4+1 =