Good morning,I am currently trying to make a graphic user interface like this:

![enter image description here](https://i.stack.imgur.com/LGIec.jpg)

I would want to have 3 blank spaces for images and under each blank space, a button to choose and load an image. I've been reading tutorials and so on, with paintingComponent and so, but I don't know how to make these blank spaces and buttons and open a window to choose from you computer the images when we click on load. 

I have written this:

```
package projet;

import java.awt.BorderLayout;

import javax.swing.JButton;
import javax.swing.JFrame;
import javax.swing.JPanel;

public class FrameIM extends JFrame{

/**
 * 
 */
private static final long serialVersionUID = -7538888128782793269L;
private static final int width = 700;
private static final int height = 500;

public FrameIM(){
    //window
    this.setTitle("Mutual information");
    this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    this.setLocationRelativeTo(null);
    this.setSize(width, height);

    //boutons
    JButton boutonLoad1 = new JButton("Load image A");
    JButton boutonLoad2 = new JButton("Load image B");
    JButton boutonProcess = new JButton("Processing Mutual information");

    //layout des boutons
    this.setLayout(new BorderLayout(0, 200));
    //ajout des boutons
    this.getContentPane().add(boutonLoad1, BorderLayout.WEST);
    this.getContentPane().add(boutonLoad2, BorderLayout.CENTER);
    this.getContentPane().add(boutonProcess, BorderLayout.EAST);
    this.setVisible(true);

}`

```

If someone can help me, I would appreciate.

Thanks