Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Java Interface >

DoModal

DoModal[]
does not return until the Java side sends an expression of the form EvaluatePacket[EndModal[args]].
  • To use DoModal, you first need to load J/Link using Needs["JLink`"].
  • 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 Mathematica when it is dismissed.
© 2013 Wolfram Research, Inc. Japanese
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team