Agrega varios objetos Polygon en el mismo marco JPanel

Así que tengo una clase de DrawStar que dibuja una estrella usando Polígono así:

public void paintComponent(Graphics g) {
    Graphics2D g2 = (Graphics2D) g;
    int[] cX = new int[] {x, x+5, x+20, x+8, x+16, x, x-16, x-8, x-20, x-5, x};
    int[] cY = new int[] {y, y+14, y+14, y+22, y+39, y+29, y+39, y+22, y+14, y+14, y};
    Polygon pol = new Polygon(cX, cY, 11);
    g2.setColor(this.color);
    g2.draw(pol);
    g2.fillPolygon(pol);
}

Luego, en mi clase principal, creo un marco JPanel para dibujar las estrellas:

    ...
    JFrame starsframe = new JFrame();
    starsframe.setTitle("Random stars...");
    starsframe.setSize(600, 400);
    starsframe.setLocationRelativeTo(null);
    starsframe.setVisible(true);
    starsframe.setResizable(false);
    starsframe.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

    DrawStar star1 = new DrawStar(300, 200, CreateColor(color));
    starsframe.add(star1);
    DrawStar star2 = new DrawStar(400, 300, CreateColor(color));
    starsframe.add(star2);
    ...

Sin embargo, solo funciona con una estrella. Si agrego un segundo (como el anterior), no se dibuja ninguno (CreateColor es una función que implemento para el color estrella). ¿Cómo puedo agregarlos a lo largo del marco? Y una cosa más, incluso si configuro el color de fondo del marco en Negro, se vuelve gris después de dibujar la estrella.

¡Gracias!

Respuestas a la pregunta(1)

Su respuesta a la pregunta