MavenDomProjectModel () { MavenDomProjectModel selectedItem = (MavenDomProjectModel)ComboBoxUtil.getSelectedValue((DefaultComboBoxModel)myMavenProjectsComboBox.getModel()); return selectedItem == null ? myMavenDomProjectModel : selectedItem; }