java 3d¿ª·¢
¡¾×ªÌù¡¿Java 3DÓÎÏ·¿ª·¢Ö÷Òª¼¼Êõ
×¢£º±¾Ìùת×ÔתÔØ×Ô ³¤²»´óµÄÈË µÄQQ¿Õ¼ä£¬ÌâÄ¿ÈçÌ⣡
±¾ÎÄÁ´½ÓΪ£ºhttp://user.qzone.qq.com/7965122/blog/1234685218
1£¬Java3D
×÷Ϊsun¹«Ë¾½ÏÔçÍƳöµÄÒ»Ïî3d¼¼Êõ£¬ÊÇÒ»Öָ߶ȷâ×°µÄapi£¬¹¹½¨ÔÚopenglºÍdirect3dÖ®ÉÏ£¬¿ÉÒÔ˵ÊÇ×îÓÐÃûµÄjavaµÄ3d¼¼Êõ¡£ÓÉÓÚÖÖÖÖÔÒò£¨apiÉè¼Æ£¬ÃæÏòµÄÓû§²»Ã÷È·£©£¬java3dһֱûÓа취Á÷ÐУ¬²»¾ÃÇ°java3dµÄÍŶÓÐû²¼ÔÝÍ£¶Ôjava3dй¦ÄܵĿª·¢£¬×ª¶øΪJavaFX¿ª·¢3d äÖȾÒýÇ档ͬʱsunµÄÁíÒ»¸öÏîÄ¿ project wonderlandÐû²¼½«ÆääÖȾÒýÇæÓÉJava3dתΪJMonkeyEngine¡£ÁîÈËßñÐêµÄÊÇsunµÄjava3dÔٴνøÈë³¾·â״̬£¬´óÁ¿»ùÓÚ java3dµÄ³ÌÐòºÍ½Ì³Ì¶¼ÃæÁÙÒ»¸ö·Ç³£ÞÏÞεľ³µØ£»ÁîÈ˸ßÐ˵ÄÊÇÔÚÕâÒ»ÁìÓòÖÕÓÚÓбÈsun×öµÃ¸üºÃµÄÍŶӳöÏÖÁË¡£ÒýÓñðÈ˶ԴËʵÄÆÀ¼Û£ºJava3D is dead! Long live Java "3D"!
2£¬ Lwjgl£¨http://new.lwjgl.org/index.php£©
È«ÃûΪlight weight java game library¡£×÷Ϊһ¸ö·Ç¹Ù·½µÄ¶ÔjavaÓÎÏ·µÄÈ«Ãæ½â¾ö·½°¸£¬lwjgl½«ÓÎϷͼÐΣ¨opengl£©¡¢ÒôЧ£¨openal£©¡¢¿ØÖÆÊäÈ뼯ºÏΪһ£¬ÒÔ³ÉΪjava½çµÄdirectx£¨²»ÊÇdirect3d£©¶øŬÁ¦¡£ÆäÔÚͼÐη½Ãæ²ÉÓÃÁËopenglµÄjava°ó¶¨£¬Æ亯ÊýÓëcÓïÑÔ°æµÄÍêÈ«Ïàͬ£¬ËùÒÔ¶ÔÓÚÏ°¹ßopengl±à³ÌµÄ³ÌÐòÔ±À´Ëµ±È½ÏÓѺá£Ä¿Ç°ÓдóÁ¿µÄjavaÓÎÏ·ºÍÓÎÏ·ÒýÇæÊÇ»ùÓÚlwjglµÄ£¬Ëü¿ÉÒÔ˵ÊÇjavaÓÎÏ·ÉçÇø×î¹ãΪ±»Ê¹Óõĺ¯Êý¿âÖ®Ò»¡£
3£¬Jogl£¨https://jogl.dev.java.net/£©
JoglÊÇjava¶ÔopenglµÄÒ»¸ö°ó¶¨£¬»òÕß˵ÊÇopengl½Ó¿ÚµÄjavaʵÏÖ£¬ËüÊÇÓÉsunÖ§³ÖµÄ¡£ÆäÓï·¨ÓëopenglÍêÈ«Ïàͬ£¬apiÒ²½ô¸úËæ×ÅopenglµÄ°æ±¾½øÐиüУ¬¶øNeheµÄopengl·¶Àý³ÌÐò´ó¶àÊý¶¼ÓÐjogl°æ±¾¡£È¥ÄêjoglÕýʽͨ¹ýjcpÉóºË³ÉΪ jsr231£¬ÊÇlwjglµÄÖ÷Òª¾ºÕùÕß¡£ÖµµÃÒ»ÌáµÄÊÇ£¬joglÏîÄ¿µÄÁìµ¼ÕßKen RussellÔø¾ÉùÃ÷²¢²»Ï£Íûjogl³ÉΪjreµÄÒ»²¿·Ö£¬ÒòΪËûÈÏΪÕâÑù»áʹjoglµÄ¸üÐÂÖÜÆÚÓëjreÏàͬ£¬´Ó¶ø±äµÃ¹ýÓÚ»ºÂý¡£Ken RussellÄ¿Ç°È«Á¦¹¤×÷ÔÚеÄjava plug-inµÄ¿ª·¢ÉÏ£¬¶øopenglµÄapiҲûÓнøÐиü¸Ä£¬ËùÒÔÏÖÔÚµÄjogl°æ±¾½«³ÖÐø½Ï³¤µÄÒ»¶Îʱ¼ä¡£
4£¬Joal(https://joal.dev.java.net/)
java¶ÔopenalµÄÒ»¸ö°ó¶¨£¬ÊÇjavaÒôЧµÄÒ»¸ö½â¾ö·½°¸¡£
5£¬Jinput(https://jinput.dev.java.net/)
java¶Ô·Ç±ê×¼ÊäÈëÉ豸£¨ÓÎÏ·ÊÖ±ú£¬²Ù×ݸˣ©µÄ½â¾ö·½°¸¡£
6£¬JMonkeyEngine£¨http://www.jmonkeyengine.com/£©
JMonkeyEngineÊÇÒ»¸ö¿ªÔ´javaÓÎÏ·ÒýÇ棬¶Ôµ×²ã¸ß¶È·â×°£¬¾
Ïà¹ØÎĵµ£º
½ñÌìÔÚÊýÖµ¼ÆËãʱÅöµ½Ò»¸öÎÊÌâ.³ÌÐòÈçÏÂ:
double a = (3.3-2.4)/0.1;
System.out.println(a);
Äã¿ÉÄÜÈÏΪ½á¹ûºÜ¼òµ¥,²»¾ÍÊÇ9Âï,ÊÇÊÂʵÉÏ,½á¹ûΪ:8.999999998,ΪʲôÄØ?ÎÒ·ÔÄÁËһЩ×ÊÁÏ,ÖÕÓÚÕÒ³öÁËÔÒò.
Ϊʲô¸¡µãÊý»á¶ªÊ§¾«¶È£¿
Ê®½øÖÆÊýµÄ¶þ½øÖƱíʾ¿ÉÄܲ»¹»¾«È·
¸¡µãÊý»òÊÇË«¾«¶È¸¡µ ......
¹Ø¼ü×Ö: java excel jxl.jar
jxl.jar °ü
ÏÂÔصØÖ·:
ÕæʵÏÂÔصØÖ·:
ÍøÕ¾É϶ÔËüµÄÌØÕ÷ÓÐÈçÏÂÃèÊö£º
¡ñ Ö§³ÖExcel 95-2000µÄËùÓа汾
¡ñ Éú³ÉExcel 2000±ê×¼¸ñʽ
¡ñ Ö§³Ö×ÖÌå¡¢Êý×Ö¡¢ÈÕÆÚ²Ù×÷
¡ñ Äܹ»ÐÞÊε¥Ôª¸ñÊôÐÔ
¡ñ Ö§³ÖͼÏñºÍͼ±í
Ó¦¸Ã˵ÒÔÉϹ¦ÄÜÒѾÄܹ»´óÖÂÂú×ãÎÒÃǵÄÐèÒª¡£×î¹Ø¼üµÄÊÇÕâÌ×APIÊÇ´¿J ......
×÷ΪJava³ÌÐòÔ±À´Ëµ£¬×îÍ´¿àµÄÊÂÇéĪ¹ýÓÚ¿ÉÒÔÑ¡ÔñµÄ·¶Î§Ì«¹ã£¬¿ÉÒÔ¶ÁµÄÊéÌ«¶à£¬ÍùÍùÈÝÒ×ÎÞËùÊÊ´Ó¡£ÎÒÏë¾ÍÎÒ×Ô¼º¶Á¹ýµÄ¼¼ÊõÊé¼®ÖÐÌôÑ¡³öÀ´Ò»Ð©£¬°´ÕÕѧϰµÄÏȺó˳Ðò£¬ÍƼö¸ø´ó¼Ò£¬ÌرðÊÇÄÇЩÏë²»¶ÏÌá¸ß×Ô¼º¼¼ÊõˮƽµÄJava³ÌÐòÔ±ÃÇ¡£
Ò»¡¢Java±à³ÌÈëÃÅÀà
¶ÔÓÚûÓÐJava±à³Ì¾ÑéµÄ³ÌÐòÔ±ÒªÈëÃÅ£¬Ëæ±ã¶ÁʲôÈëÃÅÊé¼®¶¼Ò»Ñù£¬Õâ ......
(1) ÀàÃûÊ××ÖĸӦ¸Ã´óд¡£×ֶΡ¢·½·¨ÒÔ¼°¶ÔÏ󣨾ä±ú£©µÄÊ××ÖĸӦСд¡£¶ÔÓÚËùÓбêʶ·û£¬ÆäÖаüº¬µÄËùÓе¥´Ê¶¼Ó¦½ô¿¿ÔÚÒ»Æ𣬶øÇÒ´óдÖм䵥´ÊµÄÊ××Öĸ¡£ÀýÈ磺
ThisIsAClassName
thisIsMethodOrFieldName
ÈôÔÚ¶¨ÒåÖгöÏÖÁ˳£Êý³õʼ»¯×Ö·û£¬Ôò´óдstatic final»ù±¾ÀàÐͱêʶ·ûÖеÄËùÓÐ×Öĸ¡£ÕâÑù±ã¿É±êÖ¾³öËüÃÇÊôÓÚ±àÒëÆÚµ ......
javaÖеÄʼþ»úÖƵIJÎÓëÕßÓÐ3ÖÖ½ÇÉ«£º
1.event object£ºÊ¼þ״̬¶ÔÏó£¬ÓÃÓÚlistenerµÄÏàÓ¦µÄ·½·¨Ö®ÖУ¬×÷Ϊ²ÎÊý£¬Ò»°ã´æÔÚÓëlisternerµÄ·½·¨Ö®ÖÐ
2.event source£º¾ßÌåµÄʼþÔ´£¬±ÈÈç˵£¬Äãµã»÷Ò»¸öbutton£¬ÄÇôbutton¾ÍÊÇevent source£¬ÒªÏëʹbutton¶ÔijЩʼþ½øÐÐÏìÓ¦£¬Äã¾ÍÐèҪע²áÌض¨µÄlistener¡£
3.event listener ......