SwingMessageDialogs
object SwingMessageDialogs
Standard Swing message/choice dialogs. All operations and callbacks belong to the EDT.
Functions
Link copied to clipboard
Shows a modal dialog and returns its option index, or null on dismissal.
Link copied to clipboard
fun showModeless(parent: Component, request: SwingDialogRequest, decide: (Int?) -> Unit): AutoCloseable
Shows with normal platform focus on the initial choice, without blocking the owner. Completion happens once; closing the returned handle disposes the dialog and reports dismissal.