...You just guess pieces of sound that the program randomly plays to you. One can make her own music pieces to learn, using JFugue (http://www.jfugue.org/) syntax and convenient text editor.
Base libraries:
GUI: Thinlet (http://sourceforge.net/projects/thinlet)
Sound: JFugue2ME (http://sourceforge.net/projects/jfugue2me/)
Data management: BinGear (http://sourceforge.net/projects/bingear)
Thanks to www.iconirchive.com for images.