how to add an image to a gui in java windowbuilder

Java
frame.add(new JLabel(new ImageIcon("Path/To/Your/Image.png")));
Source

Also in Java: