how to change java swing LAF code example
Example 1: change button color java swing
botton.SetBackground(Color.red);
Example 2: java swing change label icon
// pic is the label variable name
//b2.png is the picture
pic.setIcon(new javax.swing.ImageIcon(getClass().getResource("b2.png")));