资源简介
midp-20-src-windows-i686-J2ME-MobileInformationDeviceProfile-MIDP2.0
代码片段和文件信息
/*
* @(#)About.java 1.15 02/07/31 @(#)
*
* Copyright (c) 2000-2001 Sun Microsystems Inc. All rights reserved.
* PROPRIETARY/CONFIDENTIAL
* Use is subject to license terms.
*/
package example;
import javax.microedition.lcdui.*;
/**
* Typical about box with a string and an image.
* In this case the Sun copyright and logo.
*/
public class About {
/** Copyright notice */
private static String copyright =
“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?par des licences qui en restreignent l‘utilisation.\n“
+ “Le logiciel d閠enu par des tiers et qui comprend la technologie “
+ “relative aux polices de caract鑢es est prot間?par un copyright “
+ “et licenci?par des fournisseurs de Sun. Sun Sun Microsystems “
+ “le logo Sun J2ME le logo Java Coffee Cup et Java sont des “
+ “marques de fabrique ou des marques d閜os閑s de Sun Microsystems “
+ “Inc. aux Etats-Unis et dans d‘autres pays.“;
/** the previous screen to go back to */
private Displayable previous;
/**
* Do not allow anyone to create this class
*/
private About() {};
/**
* Put up the About box and when the user click ok return
* to the previous screen.
* @param display The Display
to return to when the
* about screen is dismissed.
*/
public static void showAbout(Display display) {
Alert alert = new Alert(“About MIDP“);
alert.setTimeout(Alert.FOREVER);
if (display.numColors() > 2) {
String icon = (display.isColor()) ?
“/icons/JavaPowered-8.png“ : “/icons/JavaPowered-2.png“;
try {
Image image = Image.createImage(icon);
alert.setImage(image);
} catch (java.io.IOException x) {
// just don‘t append the image.
}
}
// Add the copyright
alert.setString(copyright);
display.setCurrent(alert);
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2002-11-07 21:24 midp2.0fcs\
目录 0 2002-11-07 21:22 midp2.0fcs\bin\
文件 1425408 2002-11-07 21:27 midp2.0fcs\bin\midp.exe
文件 147456 2002-11-07 21:27 midp2.0fcs\bin\preverify.exe
文件 697 2002-11-07 21:27 midp2.0fcs\bin\readme.txt
文件 4040 2002-11-07 21:27 midp2.0fcs\bin\j2se_test_keystore.bin
文件 12602 2002-11-07 21:27 midp2.0fcs\bin\MEKeyTool.jar
文件 16249 2002-11-07 21:27 midp2.0fcs\bin\JadTool.jar
目录 0 2002-11-07 21:22 midp2.0fcs\appdb\
文件 1382 2002-11-07 21:27 midp2.0fcs\appdb\_ack_2.png
文件 1387 2002-11-07 21:27 midp2.0fcs\appdb\_ack_8.png
文件 1364 2002-11-07 21:27 midp2.0fcs\appdb\_dt_2.png
文件 1363 2002-11-07 21:27 midp2.0fcs\appdb\_dt_8.png
文件 1327 2002-11-07 21:27 midp2.0fcs\appdb\_dukeok2.png
文件 1346 2002-11-07 21:27 midp2.0fcs\appdb\_dukeok8.png
文件 1006 2002-11-07 21:27 midp2.0fcs\appdb\_empty.png
文件 976 2002-11-07 21:27 midp2.0fcs\appdb\_home_4.png
文件 2288 2002-11-07 21:27 midp2.0fcs\appdb\_home_8.png
文件 2947 2002-11-07 21:27 midp2.0fcs\appdb\_logo_2.png
文件 5780 2002-11-07 21:27 midp2.0fcs\appdb\_logo_8.png
文件 959 2002-11-07 21:27 midp2.0fcs\appdb\_main.ks
文件 802 2002-11-07 21:27 midp2.0fcs\appdb\_policy.txt
文件 1031 2002-11-07 21:27 midp2.0fcs\appdb\_single2.png
文件 1069 2002-11-07 21:27 midp2.0fcs\appdb\_single8.png
文件 1036 2002-11-07 21:27 midp2.0fcs\appdb\_suite_2.png
文件 1066 2002-11-07 21:27 midp2.0fcs\appdb\_suite_8.png
目录 0 2002-11-07 21:22 midp2.0fcs\lib\
文件 996 2002-11-07 21:27 midp2.0fcs\lib\checkbox_off.png
文件 1025 2002-11-07 21:27 midp2.0fcs\lib\checkbox_on.png
文件 2150 2002-11-07 21:27 midp2.0fcs\lib\continuous_strip.png
文件 155 2002-11-07 21:27 midp2.0fcs\lib\date_down.png
............此处省略1846个文件信息
评论
共有 条评论