author | haftmann |
Wed, 21 Jan 2009 23:40:23 +0100 | |
changeset 29609 | a010aab5bed0 |
parent 29202 | 2454172eddae |
child 29649 | 8b0c1397868e |
permissions | -rw-r--r-- |
/* Title: Pure/General/swing.scala Author: Makarius Swing utilities. */ package isabelle import javax.swing.SwingUtilities object Swing { def now(body: => Unit) = SwingUtilities.invokeAndWait(new Runnable { def run = body }) def later(body: => Unit) = SwingUtilities.invokeLater(new Runnable { def run = body }) }