public CHOOSEpanel() {
    maxWidth = (int) Toolkit.getDefaultToolkit().getScreenSize().getWidth();
    maxHeight = (int) Toolkit.getDefaultToolkit().getScreenSize().getHeight() - GAP;

    // a sx, figura esercizio scelto
    pview =
        new PosturesView(
            maxWidth, maxHeight, new ImageIcon(getClass().getResource(VIEW).getFile()).getImage());
    // a dx, scelta esercizio
    select =
        new SelectExercise(
            maxWidth,
            maxHeight,
            new ImageIcon(getClass().getResource(SELECT).getFile()).getImage());

    Border blackline = BorderFactory.createLineBorder(Color.black);
    pview.setBorder(blackline);
    select.setBorder(blackline);

    setDependencies();
  }
 public void setDependencies() {
   select.setPostureView(pview);
 }