View Single Post
Old 05-07-2010, 04:30 PM   #8
Tumaini
Junior Member
Tumaini began at the beginning.
 
Posts: 8
Karma: 10
Join Date: May 2010
Device: Bebook One (Hanlin v3)
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!
Tumaini is offline   Reply With Quote