Description | API | Development Configuration | Deployment Configuration | FAQ
This application type is used to utilize STK's analysis engine and embed its visualization controls (3D Globe, 2D Map, Gfx Analysis) into your existing or new SWT-based GUI application. Note that the visualization and analysis computations in the STK Engine occur within your Java application process and run on the SWT UI Event Thread.
The API to develop/run/deploy an STK Custom Application based on SWT UI window framework based on the STK Java API includes the following lists of libraries/packages/javadocs include:
JAR libraries:
JNI native libraries:
Packages:
Documentation
To use these samples:
Use the above listed JAR and JNI native libraries as input to the following development environment configurations:
Use the samples listed above as reference for implementing an AWT/Swing Custom Application.
Deployment instructions for a STK Custom Application.
Platform | Path |
---|---|
Windows 32bit | C:\Program Files\AGI\STK 11\bin |
Windows 64bit | C:\Program Files\AGI\STK 11\bin |
Windows 32bit on 64bit | C:\Program Files (x86)\AGI\STK 11\bin |
Linux 32/64 | <STK_INSTALL_DIR>/bin |
A set of frequently asked questions/issues and their answers/solutions.
agi.core.swt.AgSwt_JNI.initialize_SwtDelegate();
agi.stkengine.AgStkCustomApplication_JNI.initialize(true);
agi.core.swt.AgSwt_JNI.initialize_SwtComponents();
Note: this is the reverse order of the preceding initialize.
agi.core.swt.AgSwt_JNI.uninitialize_SwtComponents();
agi.stkengine.AgStkCustomApplication_JNI.uninitialize();
agi.core.swt.AgSwt_JNI.uninitialize_SwtDelegate();
agi.stkobjects.jar
AgJNIStkObjects.dll/libagjnistkobjects.so
agi.stkobjects.astrogator.jar
AgJNIStkGator.dll/libagjnistkgator.so
agi.stkvgt.jar
AgJNIStkVGT.dll/libagjnistkvgt.so
agi.stkgraphics.jar
AgJNIStkGraphics.dll/libagjnistkgraphics.so
agi.core.swt.AgSwt_JNI.initialize_SwtDelegate();
agi.core.AgCore_JNI.initialize();
agi.stkutil.AgStkutil_JNI.initialize();
agi.stkx.AgStkx_JNI.initialize();
//agi.stkobjects.AgStkobjects_JNI.initialize();
//agi.stkobjects.astrogator.AgStkgator_JNI.initialize();
//agi.stkvgt.AgCrdn_JNI.initialize();
//agi.stkgraphics.AgStkGraphics_JNI.initialize();
agi.core.swt.AgSwt_JNI.initialize_SwtComponents();
Note: this is the reverse order of the preceding initialize.
agi.core.awt.AgSwt_JNI.uninitialize_SwtComponents();
//agi.stkgraphics.AgStkGraphics_JNI.uninitialize();
//agi.stkvgt.AgCrdn_JNI.uninitialize();
//agi.stkobjects.astrogator.AgStkgator_JNI.uninitialize();
//agi.stkobjects.AgStkobjects_JNI.uninitialize();
agi.stkx.AgStkx_JNI.uninitialize();
agi.stkutil.AgStkutil_JNI.uninitialize();
agi.core.AgCore_JNI.uninitialize();
agi.core.swt.AgSwt_JNI.uninitialize_SwtDelegate();
STK Programming Interface 11.0.1