javauis/tsrc/fute/lcdui/Midp_Graphics_01/src/Midp_Graphics_01.java
changeset 78 71ad690e91f5
equal deleted inserted replaced
72:1f0034e370aa 78:71ad690e91f5
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 /**
       
    19  * import midp classes.
       
    20  */
       
    21 import javax.microedition.midlet.*;
       
    22 
       
    23 /**
       
    24  * This is the main class for Canvas tests.
       
    25  */
       
    26 
       
    27 public class Midp_Graphics_01 extends MIDlet
       
    28 {
       
    29 
       
    30     /**
       
    31      * Signals the MIDlet to start and enter the Active state.
       
    32      */
       
    33     protected void startApp()
       
    34     {
       
    35         new CanvasTests_01(this);
       
    36     }
       
    37 
       
    38     /**
       
    39      *  Signals the MIDlet to terminate and enter the Destroyed state.
       
    40      *
       
    41      */
       
    42     protected void destroyApp(boolean unconditional)
       
    43     {
       
    44         System.out.println("destroyApp is called");
       
    45     }
       
    46 
       
    47     /**
       
    48      *  Signals the MIDlet to stop and enter the Paused state.
       
    49      */
       
    50     protected void pauseApp()
       
    51     {
       
    52     }
       
    53 }