public void renderScene(Location[] locations)
  {
    JLabel Header = new JLabel(player.getLoc().toString());
    Header.setForeground(Color.GREEN);
    Header.setBounds(0, 0, 400, 100);
    this.add(Header);
    for (int j = 0; j < locations.length; j++)
    {
      Location loc = locations[j];
      JLabel p;
      if (loc.getClass() != Ring.class && loc.getClass() != Cluster.class)
      {
        p = new JLabel(new ImageIcon(loc.GetPic(DEFAULT_SIZE)));
        p.setBackground(Color.BLACK);
        p.setOpaque(false);
        int length = loc.GetPic().getWidth();
        p.setBounds((int) (loc.GetX() + SHIFT - (length / 3)),
            (int) (loc.GetY() + SHIFT - (length / 3)), length, length);
        this.add(p);
      }
      if (loc.getClass() == Cluster.class)
      {
        int length = 100;
        p = new JLabel(new ImageIcon(PictureAlbum.getScaledSquareImage(
            loc.GetPic(), length)));
        p.setBackground(Color.BLACK);
        p.setOpaque(false);
        p.setBounds((int) (loc.GetX() + SHIFT), (int) (loc.GetY() + SHIFT),
            length, length);
        this.add(p);
      }
    }
    for (int j = 0; j < locations.length; j++) // Rings need to be rendered
    // after planets
    {
      Location loc = locations[j];
      JLabel p;
      if (loc.getClass() == Ring.class)
      {
        int length = 250 + (j * 60);
        p = new JLabel(new ImageIcon(PictureAlbum.getScaledSquareImage(
            loc.GetPic(), length)));
        p.setBackground(Color.BLACK);
        p.setOpaque(false);
        p.setBounds((int) (SHIFT - (length / 2)), (int) (SHIFT - (length / 2)),
            length, length);
        this.add(p);
      }
    }
    if (player.getLoc().getClass() == Cluster.class)
    {
      JLabel singularity = new JLabel(new ImageIcon(player.getLoc()
          .GetCenterImage()));
      singularity.setBounds(SHIFT - 64, SHIFT - 64, 128, 128);
      this.add(singularity);
    }
    if (locations[0].getParent().whatAmI() == 3)
    {

      JLabel center = new JLabel(new ImageIcon(locations[0].GetCenterImage()));
      center.setBounds(SHIFT - (locations[0].GetCenterImage().getWidth() / 2),
          SHIFT - (locations[0].GetCenterImage().getHeight() / 2), locations[0]
              .GetCenterImage().getWidth(), locations[0].GetCenterImage()
              .getHeight());
      this.add(center);
    } else if (player.getLoc().getClass() == Galaxy.class)
    {
      JLabel center = new JLabel(new ImageIcon(
          PictureAlbum.getScaledSquareImage(player.getLoc().GetCenterImage(),
              DEFAULT_WINDOW_SIZE)));
      center.setBounds(0, 0, DEFAULT_WINDOW_SIZE, DEFAULT_WINDOW_SIZE);
      this.add(center);
    } else
    {
      JLabel center = new JLabel(new ImageIcon(
          PictureAlbum.getScaledSquareImage(locations[0].GetCenterImage(),
              DEFAULT_WINDOW_SIZE)));
      center.setBounds(0, 0, DEFAULT_WINDOW_SIZE, DEFAULT_WINDOW_SIZE);
      this.add(center);
    }

    JLabel bg = new JLabel(new ImageIcon(PictureAlbum.getScaledSquareImage(
        player.getLoc().GetBGImage(), DEFAULT_WINDOW_SIZE)));
    bg.setBounds(0, 0, DEFAULT_WINDOW_SIZE, DEFAULT_WINDOW_SIZE);
    this.add(bg);
  }