Basics
Guides
API Reference
Basics
Guides
API Reference
[12:7] extends: FxObj
Wraps JavaFX TextInputDialog, a dialog that prompts the user to enter a string and returns the entered text. An optional default value pre-fills the input field when the dialog opens. Title, header text, and content text can be set to provide context. Call showAndWait() to block until the user confirms or cancels, then inspect the returned value for the entered text.
TextInputDialog (string DefaultValue = "")
Creates a new TextInputDialog with an optional default value.
DefaultValue is a string with the initial text.setTitle (string Title)
Sets the dialog title.
Title is a string with the title.this object for chainingsetHeaderText (string Text)
Sets the header text.
Text is a string with the header.this object for chainingsetContentText (string Text)
Sets the content text.
Text is a string with the content.this object for chainingshowAndWait ()
Shows the dialog and waits for the user to close it.
The result of the dialog.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.