This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
comSourceLevel.setEditable(false);
sourceLevel = SourceLevelQuery.getSourceLevel(project.getProjectDirectory());
comSourceLevel.setModel(new DefaultComboBoxModel(new String[] {
"1.3", "1.4", "1.5", "1.6" //NOI18N
"1.3", "1.4", "1.5", "1.6", "1.7" //NOI18N
}));
comSourceLevel.setSelectedItem(sourceLevel);