private static void update() {
        if (enabled) {
            panel.removeAll();
            comps.clear();
            for (String s : strings.keySet()) {
                comps.add(new JLabel(s + ": " + strings.get(s)));
            }

            for (String s : integers.keySet()) {
                comps.add(new JLabel(s + ": " + integers.get(s)));
            }

            for (String s : doubles.keySet()) {
                comps.add(new JLabel(s + ": " + doubles.get(s)));
            }

            for (String s : booleans.keySet()) {
                comps.add(new JLabel(s + ": " + booleans.get(s)));
            }

            for (Component c : comps) {
                if (c != null) {
                    panel.add(c);
                }
            }
            panel.revalidate();
            frame.validate();
            frame.setVisible(true);
        } else {
            frame.setVisible(false);
        }
    }