Question :Why should the implementation of any Swing callback (like a listener) execute quickly?
Answer :Because callbacks are invoked by the event dispatch thread which will be blocked processing other events for as long as your method takes to execute.
No comments:
Post a Comment