Re: Swing/AWT concurrency
Thorsten via Concurrency-interest <[email protected]> Wed, 11 Aug 2021 09:25:55 +0200
| Newsgroups | gmane.comp.java.jsr.166-concurrency |
|---|---|
| Message-ID | <[email protected]> |
Hello, Am 11/08/2021 um 04:17 schrieb Brian S O'Neill via Concurrency-interest: > > I've not looked at JavaFX. Is it a rewrite, or is it layered on top of > AWT just like Swing? Is it single-threaded from the user's > perspective, or does it suffer all the same problems by trying to be > multi-threaded? JavaFX is single-Threaded, Platform.runLater(). Swing is also single-Threaded, SwingUtilities.invokeLater(). They can also be put on the same thread. I cannot comment on how threading was supposed to be handled in pure AWT, but swing renders this question kinda obsolete since 1998, thats more than 20 years... Best regards, Thorsten