title: Displaying a JLabel in front of another JLabel
body: <pre><code> Game(){
      JFrame frame = new JFrame("Display Image");
      JPanel panel = (JPanel)frame.getContentPane();
      frame.setSize(1000,625);
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
      JLabel label = new JLabel();
      label.setIcon(new ImageIcon("C:/Users/Ragnar/Desktop/GameBoard.png"));
      panel.add(label);
      frame.setLocationRelativeTo(null);
      frame.pack();
      frame.setVisible(true);
  }
  </code></pre>
  
  <p>So i have this constructor ,and i want to add some new JLabels with Images,but i want them to be displayed on top of first image which is the image of the first jLabel label.Can anyone guide me how to achieve this please?I tryed to add them as usually but they are displayed behind the label.</p>