private void removeClass() {
        ClassRemoveDialog chooser = new ClassRemoveDialog(App.getCurrentFrame());
        chooser.show();

        ProjectAdapter project = App.getProject();
        ArrayList classes = chooser.getClassesAffected();
        if (!classes.isEmpty()) {
            for (int i = 0; i <= classes.size() - 1; ++i) {
                project.removeClass((String) classes.get(i));
            }
        }
        ProjectUpdatedAppEvent event = new ProjectUpdatedAppEvent();
        event.publish(ProjectUpdatedAppEvent.UpdateType_ChangeClasses);
    }