⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manager.java

📁 用于移动设备上的java虚拟机源代码
💻 JAVA
字号:
/* * @(#)Manager.java	1.71 02/09/11 @(#) * * Copyright (c) 2001-2002 Sun Microsystems, Inc.  All rights reserved. * PROPRIETARY/CONFIDENTIAL * Use is subject to license terms. */package com.sun.midp.dev;import javax.microedition.io.*;import java.util.*;import java.io.*;import javax.microedition.midlet.*;import javax.microedition.lcdui.*;import javax.microedition.rms.*;import com.sun.midp.lcdui.DisplayManagerFactory;import com.sun.midp.lcdui.Resource;import com.sun.midp.midlet.*;import com.sun.midp.midletsuite.*;import com.sun.midp.security.*;import com.sun.midp.main.Configuration;import javax.microedition.io.*;import com.sun.midp.io.j2me.storage.*;import com.sun.midp.io.j2me.push.*;/** * The Graphical MIDlet suite manager. * <p> * Starts with a selector that provides a list of MIDlet suites and * a set of commands to perform. It displays the MIDlet names for a suite * under the MIDlet suite name, except if there is only one suite then * instead of display the suite name, MIDlet-1 name and icon are used. * <p> * The commands are:</p> * <ul> * <li><b>Install</b>: Let the user install a suite from a list suites * obtained using an HTML URL given by the user. This list is derived by * extracting the links with hrefs that are in quotes and end with ".jad" from * the HTML page. An href in an extracted link is assumed to be an absolute * URL for a MIDP application descriptor.</li> * <li><b>Launch</b>: Launch the suite the user selected. * <li><b>Remove</b>: Remove the suite (with confirmation) the user selected. * </li> * <li><b>Update</b>: Update the suite the user selected.</li> * <li><b>Info</b>: Show the user general information of the selected suite. * <li><b>Settings</b>: Let the user change the manager's settings. * </ul> */public class Manager extends MIDlet implements CommandListener {    /** Translated small copyright string. */    private static final String SMALL_COPYRIGHT = Resource.getString(	"Copyright (c) 2000-2002 Sun Microsystems, Inc. All rights reserved.");    /** Translated long copyright string. */    private static final String COPYRIGHT = Resource.getString(	"Copyright (c) 2000-2002 Sun Microsystems, Inc. All rights reserved.\n"      + "Use is subject to license terms.\n"      + "Third-party software, including font technology, is copyrighted "      + "and licensed from Sun suppliers.  Sun, Sun Microsystems, the Sun "      + "logo, J2ME, the Java Coffee Cup logo, and  Java are trademarks "      + "or registered trademarks of Sun Microsystems, Inc. in the U.S. "      + "and other countries.\n"      + "Federal Acquisitions: Commercial Software - Government Users "      + "Subject to Standard License Terms and Conditions."      + "\n\n"        + "Copyright (c) 2002 Sun Microsystems, Inc. Tous droits r閟erv閟.\n"      + "Distribu

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -