X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;ds=sidebyside;f=MooKeyboard.java;h=11f45fce02f35f580548b8cd337cf5ec606de678;hb=d73e1c8df077db484214af17450e10454767eec6;hp=90ed18fd4acf3d582b7569f08f16c23b25fc4ebc;hpb=e49990e17bff158ad638a16ba4aa616673b94627;p=moosique.git diff --git a/MooKeyboard.java b/MooKeyboard.java index 90ed18f..11f45fc 100644 --- a/MooKeyboard.java +++ b/MooKeyboard.java @@ -47,7 +47,7 @@ public class MooKeyboard extends KeyAdapter { * Sets the octave of the lower part of the keyboard (default = 4) * @param n the octave to start at */ - public void setOctave(int n) { + public static void setOctave(int n) { startNote = n * 12; }