MinuetFigureListener.java
1    package mmw;
2    import composer.SComposer;
3    public class MinuetFigureListener {
4        public static void main(String[] args) {
5            SComposer bach = new SComposer();
6            bach.text();
7            System.out.println("bach.mms_31_JSB_M1..."); bach.mms_31_JSB_M1(); space(bach);
8            System.out.println("bach.mms_33_JSB_M2..."); bach.mms_33_JSB_M2(); space(bach);
9            System.out.println("bach.mms_33_JSB_M3..."); bach.mms_33_JSB_M3(); space(bach);
10           System.out.println("bach.mms_33_JSB_M4..."); bach.mms_33_JSB_M4(); space(bach);
11           System.out.println("bach.mms_33_JSB_M5..."); bach.mms_33_JSB_M5(); space(bach);
12           System.out.println("bach.mms_34_JSB_M6..."); bach.mms_34_JSB_M6(); space(bach);
13           System.out.println("bach.mms_34_JSB_M7..."); bach.mms_34_JSB_M7(); space(bach);
14           System.out.println("bach.mms_34_JSB_M8..."); bach.mms_34_JSB_M8(); space(bach);
15           System.out.println("bach.mms_35_JSB_M9..."); bach.mms_35_JSB_M9(); space(bach);
16           System.out.println("bach.mms_35_JSB_M10..."); bach.mms_35_JSB_M10(); space(bach);
17           System.out.println("bach.mms_35_JSB_M11..."); bach.mms_35_JSB_M11(); space(bach);
18           System.out.println("bach.mms_35_JSB_M12..."); bach.mms_35_JSB_M12(); space(bach);
19           System.out.println("bach.mms_35_JSB_M13..."); bach.mms_35_JSB_M13(); space(bach);
20           System.out.println("bach.mms_36_JSB_M14..."); bach.mms_36_JSB_M14(); space(bach);
21           System.out.println("bach.mms_36_JSB_M15..."); bach.mms_36_JSB_M15(); space(bach);
22           bach.untext();
23       }
24       private static void space(SComposer bach) {
25           bach.untext(); bach.rest(); bach.text();
26       }
27   
28   }
29