ʲôÊÇJava Plug in
ʲôÊÇJava Plug-in
¡¡¡¡Java-plug-in,Ò²¾ÍÊÇÎÒÃÇͨ³£ËµµÄAppletÓëJWS(Java Web Start),´Ó¼¼ÊõÉÏÀ´½²,ËûÃǶ¼Á¥ÊôÓëRIA(Rich Internet Application)Java Plug-inµÄ´æÔÚ£¬Ê¹µÃÔÚä¯ÀÀÆ÷ÖÐÔËÐÐJava³ÌÐò³ÉΪ¿ÉÄÜ£¬Java Plug-inÔÚä¯ÀÀÆ÷ÖÐ×÷Ϊ²å¼þ´æÔÚ£¬ËüÀ©Õ¹ÁËä¯ÀÀÆ÷µÄ¹¦ÄÜ£¬Ò²¾ÍÊÇ˵ÔÚä¯ÀÀÆ÷ÖУ¬ÎÒÃÇ¿ÉÒÔ×öµÄ¸ü¶à£¬¸üºÃ¡£
¡¡¡¡ÏÖ´æJava°æ±¾¿ÉÒÔÖ§³ÖºÜ¶àµÄÖ÷Á÷·þÎñÆ÷£¬±È½Ï³£ÓõÄÊÇInternet ExplorerÓëNetscape¡¢¼°FireFox£¬ÕâЩä¯ÀÀÆ÷£¬JavaÒѾ¸øÓèÁ˺ܺõÄÖ§³Ö¡£Èç¹ûÎÒÃÇÖйúÍøËÙÔÙ¿ìÒ»µã£¬ÎÒÃǾͲ»»áÒòΪ°²×°Java Plug-in¶øµÈ´ýºÜ³¤µÄʱ¼äÁË£¬µ±È»£¬ÕâÖ»ÊǸöЦ»°¡£
ÈçºÎʹÓÃJava Plug-in
¡¡ ÎÒÃÇʹÓÃJava Plug-in,¿ÉÒÔͨ¹ýÔÚhtmlÒ³ÃæÖÐǶÈë<applet>±êÇ©£¬Ê¹ÓÃJWS¼¼Êõ£¬»òÔÚ¶¯Ì¬Ò³ÃæÖÐʹÓÃ<jsp:plugin>±êÇ©¡£ÏêϸµÄ½âÊÍÇë¿´ÏÂÃæµÄ½éÉÜ¡£
ʹÓÃ<applet>±êÇ©
¡¡¡¡½«appletǶÈëµ½ÍøÒ³ÖУ¬×îÔçµÄʹÓ÷½·¨¾ÍÊÇʹÓÃ<applet>±êÇ©£¬µ«w3c(World Wide Web Consortium )²¢²»ÍƼöÕâÖÖ×ö·¨£¬Òѽ«´Ë±êÇ©ÁÐÈë²»ÍƼöʹÓõÄÃûµ¥ÖÐÁË£¬µ«w3cµÄÎĵµÖÐÌá¼°²»ÍƼöʹÓÃ<applet>Ҳ˵µÄ²»ÔõôÃ÷ÁË£¬¶øSun¹«Ë¾ÔòÍƼöʹÓÃ<applet>,ÒòΪËü¿ÉÒÔ¿çä¯ÀÀÆ÷¡£ÔÚÕâÀÎÒÃÇÒ²×ðÖØw3cµÄÍƼöʹÓã¬ÄǾÍÊÇÔÚInternetÖÐʹÓÃ<OBJECT>»ò<EMBED>±êÇ©¡£
×¢Ò⣺SunÍƼöÔÚÆóÒµÄÚ²¿Íø(Intranet)ÖУ¬ÍƼöʹÓÃ<applet>±êÇ©¡£
ÖÁÓÚ<applet>¡¢<OBJECT>¡¢<EMBED>¡¢<jsp:plugin>µÄÏêϸʹÓ÷½·¨£¬Çë¿´ÏÂÒ»±éÎÄÕ£º
ÔÚÍøÒ³ÖÐʹÓÃAppletµÄ±êÇ©Ïê½â
Ïà¹ØÎĵµ£º
Web ServiceµÄ·Ï»°¾Í²»ËµÁË¡£¾Í˵ÔõôʹÓðɡ£
1.ÐèÒªjava»·¾³ µ½http:.//java.sun.com/J2SE ¿ÉÒÔÏÂÔØ Java Development Kit
2.ÐèÒªGoogle APIµÄJarÎļþ£¬Googleapi.jar¡£¿ÉÒÔµ½http://www.google.com/apisÏÂÔØ¡£Ìî¼Ó½øCLASSPATH.
3.ÉêÇëGoogle·ÃÎÊÕʺţ¬Ä¿Ç°GoogleÖ§³ÖÃâ·ÑÉêÇëµÄ·½Ê½£¬Óû§ÐèҪʹÓÃÒ»¸öem ......
½ñÌìѧϰÁËapplet²¼¾ÖÎÊÌ⣺
°´Å¥¡¢±êÇ©ÊÇÔõÑù¼ÓÈëµ½applet³ÌÐò(ÈÝÆ÷)µ±ÖÐÈ¥µÄÄØ£¿
ÐèÒªÓõ½²¼¾ÖÈÝÆ÷¹ÜÀíÆ÷(LayoutManager)£ºËüÓÃÓÚÐÖúÈÝÆ÷È·¶¨¼ÓÈëµÄ×é¼þ(°´Å¥µÈ)Ó¦¸Ã·ÅÖõÄλÖÃ
awtÌṩÁË4Öг£ÓõIJ¼¾ÖÈÝÆ÷¹ÜÀíÆ÷
>>FlowLayout
>>BorderLayout
>>GridLayout
>>CardLayout
appletĬÈÏÊ ......
¹Ø¼ü×Ö: java·ÖÒ³´úÂëʵÀý
package com.hjf.web.view;
public class PageUtil ...{
private int pageSize;//ÿҳÏÔʾµÄÌõÊý
private int recordCount;//×ܹ²µÄÌõÊý
private int currentPage;//µ±Ç°Ò³Ãæ
publi ......
ÔÚ֮ǰµÄһƪÎÄÕÂÖУ¬ÎÒ½éÉÜÁËÈçºÎʹÓÃAIR2.0ÐÂÔöµÄNativeProcessÀàÓë±¾µØ½ø³Ì½øÐн»»¥ºÍͨѶ£¬ÔÚÄǸöÀý×ÓÀïÃæÎÒÃÇʹÓÃÁËC++
µÄ´úÂ룬ʵ¼ÊÉÏÖ»ÒªÊÇ»ùÓÚÃüÁîÐеıê×¼ÊäÈëÊä³ö£¬AIR2.0µÄÓ¦ÓÃÊÇ¿ÉÒÔºÍÈκÎÓïÑÔ±àдµÄ±¾µØ½ø³Ì½øÐн»»¥µÄ¡£ÔÚ½ñÌìµÄÀý×ÓÖУ¬ÎÒÃǽ«Ñ§Ï°ÈçºÎºÍ
Java±àдµÄ±¾µØ½ø³Ì£¨.jarÎļþ£©½øÐн»»¥¡£
ÉÏһƪ ......
»ùÓÚJavaµÄmp3²¥·ÅÆ÷Ô´´úÂë
(1 folders, 2 files, 1.38 KB, 962.53 KB in total.)
Ô´Âë
(1 folders, 2 files, 1.38 KB, 961.15 KB in total.)
JavaдµÄÒ»¸öm ......