package org.drools.solver.examples.app;

import javax.swing.JOptionPane;

import org.drools.solver.examples.nqueens.app.NQueensApp;
import org.drools.solver.examples.lessonschedule.app.LessonScheduleApp;
import org.drools.solver.examples.travelingtournament.app.smart.SmartTravelingTournamentApp;
import org.drools.solver.examples.itc2007.examination.app.ExaminationApp;
import org.drools.solver.examples.itc2007.curriculumcourse.app.CurriculumCourseApp;

/**
 * @author Geoffrey De Smet
 */
public class ExamplesApp {

    public static void main(String[] args) {
        String[] options = {
                "NQueens",
                "LessonSchedule",
                "TravelingTournament",
                "ITC2007 Examination",
                "ITC2007 CurriculumCourse"
        };
        int choice = JOptionPane.showOptionDialog(null, "Which example do you want to see?", "Choose an example",
                JOptionPane.DEFAULT_OPTION, JOptionPane.INFORMATION_MESSAGE, null, options, options[0]);
        switch (choice) {
            case 0 :
                new NQueensApp().init();
                break;
            case 1 :
                new LessonScheduleApp().init();
                break;
            case 2 :
                new SmartTravelingTournamentApp().init();
                break;
            case 3 :
                new ExaminationApp().init();
                break;
            case 4 :
                new CurriculumCourseApp().init();
                break;
            default :
                throw new IllegalArgumentException("Unknown example choice");
        }
    }

}

@@ -447,16 +447,82 @@
 urseApp;
+%0Aimport org.drools.solver.examples.manners2009.app.Manners2009App;
 %0A%0A/**%0A *
@@ -834,16 +834,53 @@
 mCourse%22
+,%0A                %22Miss Manners 2009%22
 %0A       
@@ -1582,32 +1582,121 @@
          break;%0A
+            case 5 :%0A                new Manners2009App().init();%0A                break;%0A
             defa

add it in ExamplesApp