question: private void updateDialog ( final File directory ) { final InstallationState cppState = CBinExportInstallationChecker . getState ( directory ) ; m_cppStateLabel . setText ( getText ( cppState ) ) ; m_cppButton . setEnabled ( cppState == InstallationState . NotInstalled ) ; }
target:  Updates the components of the dialog after the user changed the current directory.