private static void setOpaque(JComponent jc, boolean opaque) {
        if (jc instanceof JTextField) {
            return;
        }

        jc.setOpaque(false);
        if (jc instanceof JSpinner) {
            return;
        }

        for (int a = 0; a < jc.getComponentCount(); a++) {
            JComponent child = (JComponent) jc.getComponent(a);
            setOpaque(child, opaque);
        }
    }