Check if the .Net framework provides any way of setting system-wide keyboard hooks. I somehow doubt it, but it might be possible.

In any case, unless the question concerns language details, J# questions probably have a better chance of being answered in the C# or some other .Net-related forum.