public static void limpaCampos(Container container) {
        for (Component component : container.getComponents()) {

            if (component instanceof JTextField)
                limpaTextField((JTextField) component);
            else if (component instanceof JComboBox)
                limpaComboBox((JComboBox) component);
            else if (component instanceof JCheckBox)
                limpaCheckBox((JCheckBox) component);
            else if (component instanceof JPanel)
                limpaCampos((JPanel) component);
        }
    }