JLink`
JLink`

DoModal

DoModal[]

does not return until the Java side sends an expression of the form EvaluatePacket[EndModal[args]].

Details and Options

  • To use DoModal, you first need to load J/Link using Needs["JLink`"].
  • DoModal returns EndModal[args].
  • Use DoModal to have a program wait until some Java user-interface action signals that it can proceed.
  • Typically, this would be used to implement a modal dialog box that needs to return a result to the Wolfram Language when it is dismissed.
Wolfram Research (2007), DoModal, Wolfram Language function, https://reference.wolfram.com/language/JLink/ref/DoModal.html.

Text

Wolfram Research (2007), DoModal, Wolfram Language function, https://reference.wolfram.com/language/JLink/ref/DoModal.html.

CMS

Wolfram Language. 2007. "DoModal." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/JLink/ref/DoModal.html.

APA

Wolfram Language. (2007). DoModal. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/JLink/ref/DoModal.html

BibTeX

@misc{reference.wolfram_2024_domodal, author="Wolfram Research", title="{DoModal}", year="2007", howpublished="\url{https://reference.wolfram.com/language/JLink/ref/DoModal.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_domodal, organization={Wolfram Research}, title={DoModal}, year={2007}, url={https://reference.wolfram.com/language/JLink/ref/DoModal.html}, note=[Accessed: 21-November-2024 ]}