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

📄 j-j2me-5-4.shtml

📁 这是一本介绍J2ME 编程的书籍,里面有具体的实现过程讲解,是很好的入门书籍
💻 SHTML
📖 第 1 页 / 共 2 页
字号:
        var topnextover=new Image(60,15);
        var topnextout=new Image(60,15);
        var bottomnextover=new Image(60,15);
        var bottomnextout=new Image(60,15);
        var topnextsectionover=new Image(108,15);
        var topnextsectionout=new Image(108,15);
        var bottomnextsectionover=new Image(108,15);
        var bottomnextsectionout=new Image(108,15);
      
    menu1over.src="imagemaster/himenu1.jpg"; 
menu1out.src="imagemaster/menu1.jpg"; 
menu2over.src="imagemaster/himenu2.jpg"; 
menu2out.src="imagemaster/menu2.jpg"; 
menu3over.src="imagemaster/himenu3.jpg"; 
menu3out.src="imagemaster/menu3.jpg"; 
menu4over.src="imagemaster/himenu4.jpg"; 
menu4out.src="imagemaster/menu4.jpg"; 
menu5over.src="imagemaster/himenu5.jpg"; 
menu5out.src="imagemaster/menu5.jpg"; 
menu6over.src="imagemaster/himenu6.jpg"; 
menu6out.src="imagemaster/menu6.jpg"; 
menu7over.src="imagemaster/himenu7.jpg"; 
menu7out.src="imagemaster/menu7.jpg"; 
menu8over.src="imagemaster/himenu8.jpg"; 
menu8out.src="imagemaster/menu8.jpg"; 
menu9over.src="imagemaster/himenu9.jpg"; 
menu9out.src="imagemaster/menu9.jpg"; 
menu10over.src="imagemaster/himenu10.jpg"; 
menu10out.src="imagemaster/menu10.jpg"; 
menu11over.src="imagemaster/himenu11.jpg"; 
menu11out.src="imagemaster/menu11.jpg"; 
menu12over.src="imagemaster/himenu12.jpg"; 
menu12out.src="imagemaster/menu12.jpg"; 

        var mainblurb="主菜单";
        var sectionblurb="章节菜单";
        var feedbackblurb="给出此教程的反馈意见";
        var previousblurb="上一屏";
        var nextblurb="下一屏";
        var nextsectionblurb="下一章";

        topmainover.src="../i/h-main.gif";
        topmainout.src="../i/main.gif";
        bottommainover.src="../i/h-main.gif";
        bottommainout.src="../i/main.gif";
        topsectionover.src="../i/h-section.gif";
        topsectionout.src="../i/section.gif";      
        bottomsectionover.src="../i/h-section.gif";
        bottomsectionout.src="../i/section.gif";      
        topfeedbackover.src="../i/h-feedback.gif";
        topfeedbackout.src="../i/feedback.gif";
        bottomfeedbackover.src="../i/h-feedback.gif";
        bottomfeedbackout.src="../i/feedback.gif";
        toppreviousover.src="../i/h-previous.gif";
        toppreviousout.src="../i/previous.gif";
        bottompreviousover.src="../i/h-previous.gif";
        bottompreviousout.src="../i/previous.gif";
        topnextover.src="../i/h-next.gif";
        topnextout.src="../i/next.gif";
        bottomnextover.src="../i/h-next.gif";
        bottomnextout.src="../i/next.gif";
        topnextsectionout.src="../i/nextsection.gif";
        topnextsectionover.src="../i/h-nextsection.gif";
        bottomnextsectionout.src="../i/nextsection.gif";
        bottomnextsectionover.src="../i/h-nextsection.gif";
      }
      function iOut(image)
      {
        if (browser=="N3")document[image].src=eval(image + "out.src");
      }
      function iOver(image)
      {
        if (browser=="N3")document[image].src=eval(image + "over.src");
      }
     // --></script><a href="#navskip"><img border="0" alt="跳至主目录" src="../i/c.gif" width="1" height="1"></a><!--#include virtual="/developerWorks/inc/tuto-inc/tuto-header.inc" --><!--#include virtual="/developerWorks/inc/tuto-inc/tuto-java-header.inc" --><br x="7"><img src="imagemaster/masthead.jpg" alt="J2ME:循序渐进" width="500" height="40"></td>
  <td width="*" valign="bottom" align="right"><a border="0" href="../tutorial.zip"><img alt="下载教程 zip 文件" border="0" src="../i/icon-zip.gif" width="38" height="26"></a><a href=../tutorial_eng/index.shtml target=_blank><img alt="英文原文" border="0" src="../i/icon-source.gif" width="43" height="26"></a></td></tr><tr><td height="2" colspan="2"><img height="2" width="1" src="../i/c.gif"></td></tr></table><TABLE border="0" cellpadding="0" cellspacing="0" width="100%"><TR><TD width="150" height="1" bgcolor="#000000" colspan="6"><IMG alt="" height="1" width="150" src="../i/c.gif"></TD></TR><TR><TD background="../i/sw-gold.gif"><a border="0" href="index.shtml" onMouseOver="iOver('topmain'); iOver('bottommain'); self.status=mainblurb; return true;" onMouseOut="iOut('topmain'); iOut('bottommain'); self.status=''; return true;"><img alt="主菜单" border="0" src="../i/main.gif" name="topmain" width="77" height="15"></a></TD><TD background="../i/sw-gold.gif"><a border="0" onMouseOver="iOver('topsection'); iOver('bottomsection'); self.status=sectionblurb; return true;" onMouseOut="iOut('topsection'); iOut('bottomsection'); self.status=''; return true;" href="index5.shtml"><img alt="章节菜单" border="0" src="../i/section.gif" name="topsection" width="98" height="15"></a></TD><TD background="../i/sw-gold.gif"><a border="0" onMouseOver="iOver('topfeedback'); iOver('bottomfeedback'); self.status=feedbackblurb; return true;" onMouseOut="iOut('topfeedback'); iOut('bottomfeedback'); self.status=''; return true;" href="j-j2me-12-3.shtml"><img alt="给出此教程的反馈意见" border="0" src="../i/feedback.gif" name="topfeedback" width="80" height="15"></a></TD><TD width="100%" background="../i/sw-gold.gif"><img src="../i/c.gif" width="1" height="1"></TD><TD background="../i/sw-gold.gif"><a border="0" onMouseOver="iOver('topprevious'); iOver('bottomprevious'); self.status=previousblurb; return true;" onMouseOut="iOut('topprevious'); iOut('bottomprevious'); self.status=''; return true;" href="j-j2me-5-3.shtml"><img alt="上一屏" border="0" src="../i/previous.gif" name="topprevious" width="77" height="15"></a></TD><TD background="../i/sw-gold.gif"><img border="0" src="../i/xnext.gif" width="60" height="15"></TD></TR><TR><TD width="100%" colspan="5"></TD><TD width="108" height="1" bgcolor="#000000" align="right"><IMG alt="" height="1" width="108" src="../i/c.gif"></TD></TR><TR><TD colspan="5"></TD><TD align="right"><a border="0" onMouseOver="iOver('topnextsection'); iOver('bottomnextsection'); self.status=nextsectionblurb; return true;" onMouseOut="iOut('topnextsection'); iOut('bottomnextsection'); self.status=''; return true;" href="j-j2me-6-1.shtml"><img alt="下一章" src="../i/nextsection.gif" border="0" name="topnextsection" width="108" height="15"></a></TD></TR></TABLE><table bgcolor="ffffff" cellspacing="0" cellpadding="2" border="0" height="400" width="100%"><tr valign="bottom"><a name="navskip"></a><td height="25" colspan="4"><img border="0" height="25" width="562" src="imagemaster/titlebar5.jpg" alt="第五章:J2ME 简表"></td></tr><tr><td bgcolor="ffffff" width="15">&nbsp;</td><td bgcolor="ffffff" width="12">&nbsp;</td><td valign="top" align="left" bgcolor="ffffff" width="*"><p><br x="7"><table cellspacing="0" cellpadding="0" border="0"><tr><td width="90%"><b><font size="4" face="Verdana, Arial, Helvetica">MIDP  
              取代 KJava</font></b></td><td width="200" align="right"><font size="1" face="Verdana, Arial, Helvetica"><nobr>第 4 页(共 4 页)</nobr></td></tr></table><br x="7"><br x="7"></p><font size="2" face="Verdana, Arial, Helvetica"><p>正如我们在前面的章节中提及的,KJava  
        是 Sun  
        公司所拥有的一个 API。它不作为一种完整的、功能齐全的简表,而是作为一种示范,示范简表如何与  
        CLDC 一起工作。根据  
        CLDC 发行说明  
       (其中包含 CLDC 下载版本):</p><blockquote><p>在软件包 <code style="font-family: Courier New, Courier, monospace; font-size: 12">com.sun.kjava  
       </code> 中提供的 GUI 类不是连接限制设备配置 CLDC 的一部分。Java 2 平台袖珍版的正式 GUI 类,将通过 Java Community Process 分别定义并被包含进 J2ME 简表中。</p></blockquote><p>不管这个事实存在与否,KJava 简表已经被早期的采用者广泛使用了。在 2001 年 JavaOne 的开发商会议上,Sun 公司宣称早期 Palm 操作系统的 MIDP 可用性(MID 简表的最初发行版焦点主要集中在无线电话上)。 Palm 操作系统 MIDP 的规格是由 Java Community Process (JCP) 定义的。因此,它是独立于供应商的。当前众多限制中的一个 -- 它将随时间消失 -- 就是 Palm 操作系统的 MIDP 需要最新的 Palm 操作系统,3.5 版。</p><p>
        在我们写这个教程的同时, Palm 操作系统的 MIDP 的规范仍然在随着 JCP 不断发展,其细节也会随时改变。尽管目前还无法确定其发行日期,但是规范一旦出台,将必然减少对 KJava 的需求。</p><br x="7"></font></td></tr></table><TABLE border="0" cellpadding="0" cellspacing="0" width="100%"><TR><TD align="right" colspan="6"><a border="0" onMouseOver="iOver('topnextsection'); iOver('bottomnextsection'); self.status=nextsectionblurb; return true;" onMouseOut="iOut('topnextsection'); iOut('bottomnextsection'); self.status=''; return true;" href="j-j2me-6-1.shtml"><img alt="下一章" src="../i/nextsection.gif" border="0" name="bottomnextsection" width="108" height="15"></a></TD></TR><TR><TD width="100%" colspan="5"></TD><TD width="108" height="1" bgcolor="#000000" align="right"><IMG alt="" height="1" width="108" src="../i/c.gif"></TD></TR><TR><TD background="../i/sw-gold.gif"><a border="0" href="index.shtml" onMouseOver="iOver('topmain'); iOver('bottommain'); self.status=mainblurb; return true;" onMouseOut="iOut('topmain'); iOut('bottommain'); self.status=''; return true;"><img alt="主菜单" border="0" src="../i/main.gif" name="bottommain" width="77" height="15"></a></TD><TD background="../i/sw-gold.gif"><a border="0" onMouseOver="iOver('topsection'); iOver('bottomsection'); self.status=sectionblurb; return true;" onMouseOut="iOut('topsection'); iOut('bottomsection'); self.status=''; return true;" href="index5.shtml"><img alt="章节菜单" border="0" src="../i/section.gif" name="bottomsection" width="98" height="15"></a></TD><TD background="../i/sw-gold.gif"><a border="0" onMouseOver="iOver('topfeedback'); iOver('bottomfeedback'); self.status=feedbackblurb; return true;" onMouseOut="iOut('topfeedback'); iOut('bottomfeedback'); self.status=''; return true;" href="j-j2me-12-3.shtml"><img alt="给出此教程的反馈意见" border="0" src="../i/feedback.gif" name="bottomfeedback" width="80" height="15"></a></TD><TD width="100%" background="../i/sw-gold.gif"><img src="../i/c.gif" width="1" height="1"></TD><TD background="../i/sw-gold.gif"><a border="0" onMouseOver="iOver('topprevious'); iOver('bottomprevious'); self.status=previousblurb; return true;" onMouseOut="iOut('topprevious'); iOut('bottomprevious'); self.status=''; return true;" href="j-j2me-5-3.shtml"><img alt="上一屏" border="0" src="../i/previous.gif" name="bottomprevious" width="77" height="15"></a></TD><TD background="../i/sw-gold.gif"><img border="0" src="../i/xnext.gif" width="60" height="15"></TD></TR><TR><TD width="150" height="1" bgcolor="#000000" colspan="6"><IMG alt="" height="1" width="150" src="../i/c.gif"></TD></TR></TABLE><!--#include virtual="/developerWorks/inc/tuto-inc/tuto-footer.inc" --></body></html>

⌨️ 快捷键说明

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