i am making a GWT framework similar to Swing framework. in GWT, i have one method in which i am making a anonymous class in method. but problem is when this method executes, execution control does not go to anonymous class instead it skips over it. after this method executes completely, control transfers to anonymous class. and this thing is working perfectly fine in Swing. hope u guys understand my problem. thnk you for have a look at this..