Developing mobile AWT applications | Swing support | JSP Applications
As programming model for non-browser applications, the SAP Mobile Infrastructure
supports applications based on the Abstract Windowing Toolkit (AWT) or Swing.
This chapter gives an overview of AWT and MI's support of it.
Click here, to go directly into development
of an AWT application. For questions about Swing, click here.
The Abstract Windowing Toolkit is a user interface (UI) programming model for Java-based UIs. It features
All classes for creating AWT user interfaces and painting graphics and images are contained in package java.awt that comes with the Java Virtual Machine. It is possible to create AWT applications for MI. Such applications are normal AWT applications, but need to conform to certain standards set by MI to allow MI to manage these applications.
![]() |
We expect readers to have a sound understanding
of AWT before reading the next chapter. For further information on AWT and its programming, please consult java.sun.com/products/jdk/awt/. For an AWT example program, consult http://java.sun.com/products/jdk/1.1/docs/relnotes/demos.html. |
MI offers an AWT 'MI home page' which is an AWT application itself, that has the same features as the browser based home page on http://localhost:4444/. MI for AWT also offers a menu for starting applications, an info page, a my settings page, a page for setting the connection quality etc. as shown below:
|
|
MI Home |
My Settings |
![]() |
|
MI Info |
![]() |
With the standard installation procedure of MI, only one MI instance can be installed per device. See FAQ to find out, how MI for JSP and MI for AWT can be installed on the same PC or Notebook. |