public void changeActiveAndFocusFirst(boolean flag) throws Exception {
        if (getPnlUtama() == null) {
            throw new Exception("Anda harus menspesifikasikan kontainer utama. Bisa panel atau apa saja");
        }
        Component[] cmp = getPnlUtama().getComponents();
        for (int i = 0; i < cmp.length; i++) {
            if (!(cmp[i] instanceof JLabel)) {
                cmp[i].setEnabled(flag);
                //System.out.println(cmp[i].getName());
                if (cmp[i] instanceof JTextFieldEx || cmp[i] instanceof JCombBoxEx) {
                    if (cmp[i] instanceof JTextFieldEx && ((JTextFieldEx) cmp[i]).isFocusFirst()) {
                        ((JTextFieldEx) cmp[i]).requestFocus();
                    }
                    if (cmp[i] instanceof JCombBoxEx && ((JCombBoxEx) cmp[i]).isFocusFirst()) {
                        ((JCombBoxEx) cmp[i]).requestFocus();
                    }

                }
            }
        }
    }