Previous Topic

Next Topic

Book Contents

Book Index

Overview - Simple Editor Application

Included in the MathFlow SDK is a sample SimpleEditor application, located at

<path-to-mathflow-sdk>/java/samples/com/yourcompany/samplecode/editor/SimpleEditorDemoApplication.java

There is a bat file to run the demo application:

<path-to-mathflow-sdk>/java/samples/simple_editor.bat

This sample application illustrates how to include the MathFlow SDK SimpleEditor in your own application. In this case, the SimpleEditorDialog class is used to create a modal pop-up MathML editor:

simpleapp

This sample application does the following:

  • Read MathML from a file
  • Write MathML to a file
  • Send MathML to the SimpleEditor
  • Retrieve MathML from the SimpleEditor
  • Retrieve an image of the MathML equation from the SimpleEditor
  • Display the current MathML
  • Display an image of the MathML equation from the SimpleEditor once OK has been clicked in the editor
  • Display an about box

Previous Topic

Next Topic

Book Contents

Book Index


[Design Science Home]
Copyright © 1996-2016 Design Science, Inc. All rights reserved.