@Override
    public void paintComponent(Graphics g) {
        super.paintComponent(g);
        if (instance) {
            int x = 30;
            int y = 30;
            for (String s : map.keySet()) {
                if (!"Type".equals(s) && !"Parent".equals(s)) {
                    if (map.get(s) != null) {
                        g.drawString(s, x, y);
                        g.drawString(map.get(s).toString(), x + 80, y);
                        y += 30;
                    }
                }
            }
        }
    }