Home »
Code Examples »
Scala Code Examples
Scala - Passing an anonymous function to SwingUtilities.invokeLater Code Example
The code for Passing an anonymous function to SwingUtilities.invokeLater
SwingUtilities.invokeLater(() => {
// your gui-updating code here, such as:
for (c <- newsControllers) c.updateContent()
})