javauis/tsrc/fute/lcdui/Midp_General/src/EmptyForm.java
branchRCL_3
changeset 83 26b2b12093af
parent 77 7cee158cb8cd
child 84 0553e2305d00
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
     1 /*
       
     2 * Copyright (c) 2003-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 import javax.microedition.lcdui.*;
       
    23 
       
    24 /**
       
    25  * This is the main class for the empty Form.
       
    26  */
       
    27 
       
    28 public class EmptyForm extends Form
       
    29 {
       
    30 
       
    31     /**
       
    32      *  The constructor creates and displays the Form.
       
    33      *
       
    34      *@param  parent  is the parent midlet.
       
    35      */
       
    36     public EmptyForm(MIDlet parent)
       
    37     {
       
    38         super(parent.getClass().getName());
       
    39         Display.getDisplay(parent).setCurrent(this);
       
    40     }
       
    41 }