Main.java

/*
 * Copyright © 2011 Nokia Corporation. All rights reserved.
 * Nokia and Nokia Connecting People are registered trademarks of Nokia Corporation.
 * Oracle and Java are trademarks or registered trademarks of Oracle and/or its
 * affiliates. Other product and company names mentioned herein may be trademarks
 * or trade names of their respective owners.
 * See LICENSE.TXT for license information.
 */

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.nokia.example.frameanimdemo;

import javax.microedition.lcdui.Display;
import javax.microedition.midlet.*;

/**
 * @author tkor
 */
public class Main extends MIDlet {

    private Display display;
    private ScrollableView kinectview;

    public void startApp() {
        if (display == null) {
            display = display.getDisplay(this);
            kinectview = new ScrollableView();
            display.setCurrent(kinectview);
        }
    }

    public void pauseApp() {
    }

    public void destroyApp(boolean unconditional) {
    }
}