SwingIdeEffectHandler

class SwingIdeEffectHandler(controller: GuiController, scope: CoroutineScope, parent: () -> Component?, onExit: () -> Unit, ioDispatcher: CoroutineDispatcher = Dispatchers.IO)

Executes platform effects. The shared controller never imports AWT, Swing, java.io, or java.nio.

Constructors

Link copied to clipboard
constructor(controller: GuiController, scope: CoroutineScope, parent: () -> Component?, onExit: () -> Unit, ioDispatcher: CoroutineDispatcher = Dispatchers.IO)

Functions

Link copied to clipboard
fun handle(effect: GuiEffect)