@@ -0,0 +1,866 @@
+package com.yhamano.co4a5;%0A%0Aimport java.awt.image.BufferedImage;%0Aimport java.io.File;%0Aimport java.io.IOException;%0A%0Aimport javax.imageio.ImageIO;%0A%0Aimport com.yhamano.co4a5.music.Chord;%0Aimport com.yhamano.co4a5.music.Circle;%0Aimport com.yhamano.co4a5.music.Degree;%0Aimport com.yhamano.co4a5.music.Note;%0A%0Apublic class PrintChords %7B%0A%0A%09public static void main(String args%5B%5D) %7B%0A%0A%09%09File dstFile = null;%0A%09%09try %7B%0A%09%09%09dstFile = new File(args%5B0%5D);%0A%09%09%7D catch (Exception e)%7B%0A%09%09%09e.printStackTrace();%0A%09%09%09System.err.println(%22args%5B0%5D: dstenation file path.%22);%0A%09%09%09return;%0A%09%09%7D%0A%0A        Circle circleOf4ths = new Circle(Circle.FOURTH);%0A%09%09Chord c_C = new Chord(%22C%22, Note.C, new Degree%5B%5D%7BDegree.P1st, Degree.M3rd, Degree.P5th%7D);%0A%09%09BufferedImage dstImg = circleOf4ths.draw(c_C);%0A%09%09try %7B%0A%09%09%09ImageIO.write(dstImg, %22png%22, dstFile);%0A%09%09%7D catch (IOException e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%0A%09%7D%0A%0A%7D%0A

add PrintChords