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

📄 readme.txt

📁 Moto720 DemoCode
💻 TXT
字号:
J2ME MIDlet- Resource Support Stationary Setup Notes
----------------------------------------------------

Date: March 20, 2002

Dear Codewarrior User,

This stationery project is setup to show you how to configure your project to include resources 
in your application.

Project Settings Info:
---------------------
1) The output type for both Release and Debug targets are set to a jar file. Preverification 
is also turned on by default. Some CLDC VMs do not support debugging a jar file or debugging 
with preverification turned on. In this case, set the output type to a class folder and/or 
disable the preverify option in the 'Java Output' panel.

2) Some older versions of Sun's preverify tool prevents jar files without a manifest from 
getting preverified properly. Ensure that 'Generate Manifest' is always turned on in
the 'Java Output' panel for jar output.

3) If the name of the MIDlet class to run/debug has changed, make sure that the 'Main Class'
field in the Java Target panel is updated with the new class name. Also update the MIDlet
information in the Java Manifest-JAD panel so the manifest and jad file contain the 
correct information.


Including Resources:
--------------------
In the jar target, the resource should be merged into the jar file.  To merge the resource
into the jar file, first place the resource in the 'resources' folder.  Then add the resource
file to the project.  It may be necessary to modify the file extension setting in the file
mapping panel.  In the file mapping panel, the compiler should be set to 'Jar Importer'.  
If this is done incorrectly, CodeWarrior will not add the file to the project or will not
correctly merge the file into the output.  After the resource has been added to the project, 
enable the 'Merge Into Output' option in the Project Inspector.  This stationery includes a 
sample.png file. 


⌨️ 快捷键说明

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