FileDocCategorySizeDatePackage
PaymentMIDlet.javaAPI DocExample989Sat Jan 05 11:47:18 GMT 2002None

PaymentMIDlet

public class PaymentMIDlet extends MIDlet

Fields Summary
private Display
display
List
options
Constructors Summary
public PaymentMIDlet()


      
       options = new List("Method of Payment", Choice.EXCLUSIVE); 
    
Methods Summary
public voiddestroyApp(boolean unconditional)
Destroy must cleanup everything not handled by the garbage collector. In this case there is nothing to cleanup.

    
public voidpauseApp()
Pause is a no-op since there are no background activities or record stores that need to be closed.

    
public voidstartApp()

        display = Display.getDisplay(this);
        options.append("Visa", null);
        options.append("MasterCard", null);
        options.append("Amex", null);
        display.setCurrent(options);