first of all thanks you for the great forum and software I love it so much!
where the problem is:
I would like to enable users to name the clips they recorded (my code is based on the MidiRecordingDemo). (I am quite a newbie)
As a user I would like to right click on the clip an rename it
Naming a clip is simple, just call clip->setName(...). Check out the ClipComponent class (part of the MidiRecordingDemo), it has a reference to its clip as a class member.
The mouseDown handler is probably a good place to start, something like this perhaps: