GUIKit Example: PrimeFinder
GUIKit Example: PrimeFinder
The functionality provided by GUIKit has been superseded by the interface construction and controls functions native to the built-in Wolfram Language.
Needs["GUIKit`"]PrimeFinder[] := GUIRunModal["Wolfram/Example/PrimeFinder"];PrimeFinderModeless[] := GUIRun["Wolfram/Example/PrimeFinder"];def = Block[{$Path = $GUIPath},
Get["Wolfram/Example/PrimeFinder.m"]]Example
This example displays a dialog for finding prime numbers and alerting the user when any entered expression evaluates to a prime number. The modal version also shows how results can be returned to the Wolfram Language when the dialog is finished. In this example, a sorted list of all prime numbers visited during the session is returned.
PrimeFinder[]This dialog can also be run in a modeless session as well, with multiple copies running independently.
PrimeFinderModeless[];