Why this is happening?

Dear Friends,

I m developing an application. I need some help.

I want to handle the keyPressed events while the Socket Connection which is running as a background process in different Thread.

I can handle the key events but after the working of the Thread.

Currently i can't handle the key events while the Thread is working.

Is there any solution?

Thanks in advance

Ajit

[422 byte] By [smart_aju2007a] at [2007-11-26 18:00:40]
# 1
You should provide more information and sample code of the two threads to let us see any problem.Maybe its a synchronization problem, you lock an object in the keyPressed method which the other Thread has previously locked.
jcseijopa at 2007-7-9 5:30:00 > top of Java-index,Java Mobility Forums,Java ME Technologies...