java - How does SwingUtilies.invokeLater(new Runnable()) really work? -



java - How does SwingUtilies.invokeLater(new Runnable()) really work? -

as far know method swingutilies.invokelater(new runnable()) used forcefulness edt jobs defined in runnable - object , how 1 can imagine this? run() method in runnable- object used execute java stuff in new thread, not here, because here runnable- object invokes edt?

runnable interface single method run(). having access runnable object can phone call method. threads this. edt this. executors this. programme can so. convention. other software can utilize different convention, say, executorservice can phone call callable objects.

internally, edt has own run method which, in loop, extracts runnable objects queue , calls run() method.

java multithreading

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -