/**
   * Creates the map area basket panel.
   *
   * @return the j panel
   */
  private JPanel createMapAreaBasketPanel() {
    JPanel panel = userInterfaceFactory.createPanel();
    GridBagConstraints panelGC = userInterfaceFactory.createGridBagConstraints();

    String mapAreaBasketLabelText =
        RIFJobSubmissionToolMessages.getMessage("mapAreaListSelectionPanel.mapAreaBasket.label");
    JLabel mapAreaBasketLabel = userInterfaceFactory.createLabel(mapAreaBasketLabelText);
    userInterfaceFactory.setBoldFont(mapAreaBasketLabel);
    panel.add(mapAreaBasketLabel, panelGC);

    panelGC.gridy++;
    panelGC.fill = GridBagConstraints.BOTH;
    panelGC.weightx = 1.0;
    panelGC.weighty = 1.0;

    JScrollPane selectedItemsStatusScrollPane =
        userInterfaceFactory.createScrollPane(selectedItemsStatusTextArea);
    panel.add(selectedItemsStatusScrollPane, panelGC);

    panelGC.gridy++;
    panelGC.fill = GridBagConstraints.NONE;
    panelGC.weightx = 0;
    panelGC.weighty = 0;
    panelGC.anchor = GridBagConstraints.SOUTHEAST;
    panel.add(createBasketControlButtonsPanel(), panelGC);

    return panel;
  }