Midi input keyboard wiget

What is the best way to get a patcher set up in juce with midi input and a keyboard widget displaying the midi input as a graphic display like you would see on many vst Synths