Coding Your Custom JPanel
If you started your project by cloning a project that included a custom JPanel, you can update the JPanel from that project. Alternatively, you create the JPanel from the beginning on your own.
JPanel Requirements
You must name the class that contains your JPanel code MyJPanel.java.
Your MyJPanel.java class must extend
com.softwareag.mobile.core.ProjectJPanelHandler and any associated libraries that it needs for compilation.
Methods that Mobile Designer Provides for the JPanel
The com.softwareag.mobile.core.ProjectJPanelHandler class, which your project’s MyJPanel.java class must extend, contains methods you can use in your JPanel. For more information about the ProjectJPanelHandler, see the webMethods Mobile Designer Java API Reference.
Sample JPanel Code
You can also find an example that demonstrates how to use the ProjectJPanelHandler in the Device Profiler sample project provided with Mobile Designer.