Examples of HistogramFrame


Examples of jm.gui.histogram.HistogramFrame

        fd.show();
        String fileName = fd.getFile();
        if (fileName != null) {
            Score score = new Score();
            jm.util.Read.midi(score, fd.getDirectory() + fileName);
            HistogramFrame hf = new HistogramFrame(score);
        }
    }
View Full Code Here

Examples of jm.gui.histogram.HistogramFrame

     * @param type  the note attribute to be displayed, 0 = pitch etc.
     * @param xPos  the horizonal position for the window to be displayed
     * @param yPos  the vertical position for the window to be displayed
     */
    public static void histogram(Score score, int dataType, int xPos, int yPos) {
        new HistogramFrame(score, dataType, xPos, yPos);
        /**
         Histogram h = new Histogram(score, dataType, xPos, yPos);
         Frame f = new Frame(h.getTitle());
         f.setLocation(h.getXPos(), h.getYPos());
         f.setSize(400, 127 * 4 + 50);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.