I am trying to display an image in my application...

```
    picture = new JLabel("No file selected");
    picture.setFont(picture.getFont().deriveFont(Font.ITALIC));
    picture.setHorizontalAlignment(JLabel.CENTER);

    scrollPane.setViewportView(picture);

    ImageIcon icon = new ImageIcon("map.jpg");
    picture.setIcon(icon);
    if (picture.getIcon() != null)                   // to see if the label picture has Icon
        picture.setText("HERE IS ICON");

```

When I run that code, only the "HERE IS ICON" text displayed.
Sorry if this question sounds so dumb, but I really have no clue of why the image icon is not displayed :(