```
public class Board {

 static JFrame frame = new JFrame("");

 public static void Board() {

    ImageIcon img = new ImageIcon("icon.png");
    frame.setIconImage(img.getImage());

    frame.setSize(350, 350);
    frame.setResizable(false);
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setBackground(Color.BLUE);
    frame.setVisible(true);

}

public class Main {
 public static void main(String[] args) {
    Board.Board(); 
 }
}

```

It was supposed that the icon in the top left corner changed to my icon.png, and the background should be blue, but it's not happening... what am i doing wrong ?