javauis/tsrc/fute/lcdui/Midp_General_05/src/Midp_General_05.java
changeset 35 85266cc22c7f
parent 26 dc7c549001d5
child 40 c6043ea9b06a
child 44 0105bdca6f9c
child 47 f40128debb5d
child 49 35baca0e7a2e
--- a/javauis/tsrc/fute/lcdui/Midp_General_05/src/Midp_General_05.java	Thu May 27 12:49:31 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,72 +0,0 @@
-/*
-* Copyright (c) 2003-2010 Nokia Corporation and/or its subsidiary(-ies).
-* All rights reserved.
-* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
-* which accompanies this distribution, and is available
-* at the URL "http://www.eclipse.org/legal/epl-v10.html".
-*
-* Initial Contributors:
-* Nokia Corporation - initial contribution.
-*
-* Contributors:
-*
-* Description:
-*
-*/
-
-/**
- * import midp classes.
- */
-import javax.microedition.midlet.*;
-import javax.microedition.lcdui.*;
-
-/**
- *
- */
-
-public class Midp_General_05 extends MIDlet
-{
-
-    private Canvas canvas;
-    private Display display;
-
-    public Midp_General_05()
-    {
-        display = Display.getDisplay(this);
-        canvas = new EmptyCanvas();
-    }
-
-    /**
-     * Signals the MIDlet to start and enter the Active state.
-     */
-    protected void startApp()
-    {
-        display.setCurrent(canvas);
-    }
-
-    /**
-     *  Signals the MIDlet to terminate and enter the Destroyed state.
-     *
-     */
-    protected void destroyApp(boolean unconditional)
-    {
-    }
-
-    /**
-     *  Signals the MIDlet to stop and enter the Paused state.
-     */
-    protected void pauseApp()
-    {
-    }
-}
-
-class EmptyCanvas extends Canvas
-{
-    protected void paint(Graphics g)
-    {
-        g.setColor(0, 0, 0);
-        g.drawString("Empty Canvas", getWidth()/2, getHeight()/2, Graphics.TOP | Graphics.HCENTER);
-    }
-}
-