Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Standalone Java Application

The GUIKit` package can also be used to provide Mathematica-enriched user interfaces to standalone Java applications leveraging the fact that J/Link also works within a Java application environment. There is a sample custom application Java main class that demonstrates this within the GUIKit.jar: com.wolfram.guikit.app.GUIKitApplication. You can run any of the GUIKit` definitions you build as standalone Java applications if you add all GUIKit`-required jars to the classpath and have Mathematica installed on the machine that is running the application. Likewise, the entire standalone Java application does not have to be GUIKit`-defined only, looking at the source code in com.wolfram.guikit.app.GUIKitApplication. You can also easily runtime load GUIKit` built dialogs and panels to supplement your existing Java application.

An example command-line launching of the Java application would be something along the following lines.

java -cp "..." com.wolfram.guikit.app.GUIKitApplication "Wolfram/Example/Calculator"

There are sample Windows and Unix scripts located in the Examples/Standalone/ directory of the GUIKit` distribution that show typical complete runtime scripts using com.wolfram.guikit.app.GUIKitApplication.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: