Programming for Palm OS/SuperWaba

< Programming for Palm OS

Download the SuperWaba SDKEdit

You can download it from here:

If it requires you to log in, either create an account (free) or use an account from

Unpacking the SDKEdit

If you're running Linux, you can rename the .exe to .rar and use unrar to unpack the SDK.

unrar x GPL_SuperWabaSDK.rar

Setting Up EclipseEdit

Create a new Java Project in Eclipse "from existing source", with the directory: $SUPERWABA/src/java/

Add an External Archive to the Build Path: $SUPERWABA/lib/SuperWaba.jar.

After some fiddling, my .classpath ended up like this:

<?xml version="1.0" encoding="UTF-8"?>
        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
        <classpathentry excluding="waba/|superwaba/bin/" kind="src" path=""/>
        <classpathentry kind="lib" path="/home/user/SuperWaba/lib/SuperWaba.jar"/>
        <classpathentry kind="lib" path="/home/user/SuperWaba/lib/vm/applet/Waba_only.jar"/>
        <classpathentry kind="output" path="superwaba/bin/"/>

Running the SamplesEdit

Run:Run... Java Application

  • Main class: waba.applet.Applet
  • Arguments: superwaba.samples.ui.gadgets.UIGadgets

Our First ProgramEdit

package superwaba.samples.helloworld;

import waba.ui.Label;
import waba.ui.MainWindow;

public class HelloWorld extends MainWindow {
        public HelloWorld() {
                super("HelloWorld!", TAB_ONLY_BORDER);
        public void onStart() {
                add(new Label("My Hello World Program"), CENTER, CENTER);

Run this program the same way you would one of the sample applications.