Prevent User From Entering Characters in a Text Field ,Allow Swiping with Magnetic Stripe Readers (MSR) only
<p>Prevent User From Entering Characters in a Text Field ,Allow Swiping with Magnetic Stripe Readers (MSR) only</p>

<p>The  MSR acts as much as like a keyboard,  instead of  typing manually  from keyboard  the MSR is typing in the text field .
So the challenge is  how to differentiate the MSR and Keyboard.</p>

<p>How can I crack that in java SWING.
Thanks in Advance</p>