I took this piece of code from my software. I have a panel called pnlUserInfo. Inside of it, I have another panel called pnlStatistikat, which has yet another panel inside it (just for graphics) called pnGrafika. In the first lines of code, I draw something and then I have no idea how to wrap it inside pnGrafik. (How to call this class Grafika inside of pnGrafik, so the object can be shown)

```
class Grafika extends JPanel{

private static final long serialVersionUID = 1L;

@Override
public void paintComponent(Graphics g) {
    super.paintComponent(g);
    g.setColor(Color.RED);
    g.fillArc(0, 0, 100, 100, 0, (int)pnUserInfo.tOL);
    g.setColor(Color.YELLOW);
    g.fillArc(0, 0, 100, 100, (int)pnUserInfo.tOL, (int)pnUserInfo.tOK);
    g.setColor(Color.GREEN);
    g.fillArc(0, 0, 100, 100, (int)pnUserInfo.tOK+(int)pnUserInfo.tOL, (int)pnUserInfo.tOS);
    g.setColor(Color.BLUE);
    g.fillArc(0, 0, 100, 100, (int)pnUserInfo.tOK+(int)pnUserInfo.tOL+(int)pnUserInfo.tOS, (int)pnUserInfo.tOP);
    }
}

public class pnUserInfo extends JPanel {
   public pnUserInfo() {

    final JPanel pnlStatistikat = new JPanel();
    pnlStatistikat.setBounds(0, 0, 530, 628);
    pnlProfiliKryesor.add(pnlStatistikat);
    pnlStatistikat.setBackground(myColor);
    pnlStatistikat.setLayout(null);
    pnlStatistikat.setVisible(false);

    JPanel pnGrafik = new JPanel();
    pnGrafik.setBounds(250, 30, 110, 110);
    pnGrafik.add(new Grafika());
    pnlStatistikat.add(pnGrafik);
    pnGrafik.setBackground(myColor);
    pnGrafik.setLayout(null);
    pnGrafik.setVisible(true);
 }}  

```