Possible concurrency issue in Xlet development
问题 I am involved in development of Xlet using Java 1.4 API. The docs say Xlet interface methods (those are actually xlet life-cycle methods) are called on its special thread (not the EDT thread). I checked by logging - this is true. This is a bit surprising for me, because it is different from BB/Android frameworks where life-cycle methods are called on the EDT, but it's OK so far. In the project code I see the app extensively uses Display.getInstance().callSerially(Runnable task) calls (this is