The error is strangely only thrown when I access char from the KeyEvent argument in the keyPressed method in an if-statement.
If I access it in other ways, like gc.drawString(keyevent.getCh(), 50, 50), it doesn't throw this error.
It could very well be that the classes.jar is the problem, since I'm using the one you supplied when writing the code. I'm not quite sure how to access the root of the reader from Windows over USB and I haven't installed a Linux OS on this machine yet (though I think it'll be easier to do in Linux).
I've been using a normal Java SE 1.4 for these tests, but this has been the only problem yet. Was planning on switching to ME soon, but haven't gotten around to it yet, due to limited time to dedicate to the matter.
Thanks again for all your help!
|