private void addClass() {
        ClassChooserDialog chooser = new ClassChooserDialog(App.getCurrentFrame());
        chooser.show();
        Class selectedClass = chooser.getSelectedClass();
        if (selectedClass != null) {
            ProjectAdapter project = App.getProject();
            project.addClass(selectedClass.getName());
            ProjectUpdatedAppEvent event = new ProjectUpdatedAppEvent();
            event.publish(ProjectUpdatedAppEvent.UpdateType_ChangeClasses);
        }
    }