From: Kevin D. <kev...@nt...> - 2012-04-15 21:15:00
|
I know that I brought up an issue about the handleOneIncomingReply() a little while back and why it uses the swing.invokeandwait(). I now have another question/issue surrounding it, a bit of code that I'm working on for a RailCom Reader is based upon the AbstractMRTrafficController for processing messages. The next stage of the testing is to allow reading of CV values on the main, this works using the simple cv programmer, and when in the tabbed programming screen for individual CVs or if you do a "Read changes on sheet". However if I try to do a "Read All" on sheet then the swing thread gets blocked and the reply messages from the reader gets stuck in the handleOneIncomingReply(). What occurs to the swing thread when a "Read All On Sheet" is performed and appears to lock it and the rest of the program? Regards Kevin |