´«ÖDz¥¿ÍµÄJAVA SE¸ß¼¶ÊÓƵ3 GUI ×Ôѧ±Ê¼Ç
GUI£ºGraphical User Interface
JDKÖУºAWTºÍSwing
GUI×é¼þ·ÖΪÁ½´óÀࣺ»ù±¾×é¼þºÍÈÝÆ÷¡£
»ù±¾×é¼þ¼Ì³Ð×Ôjava.awt.Component»òÆä×ÓÀà
ÈÝÆ÷¼Ì³Ð×Ôjava.awt.Container»òÆä×ÓÀà
³ÌÐòGUI²¿·ÖÓÉAWTÏ̹߳ÜÀí¡£
ʼþ´¦Àí»úÖÆ£º
ʼþ£ºÓû§×é¼þµÄÒ»¸ö²Ù×÷
ʼþÔ´£º·¢ÉúʼþµÄ×é¼þ
ʼþ´¦ÀíÆ÷£ºÄ³¸öjavaÀàÖиºÔð´¦ÀíʼþµÄ³ÉÔ±·½·¨¡£
Ïà¹ØÎĵµ£º
stack ºÍ heep ¶¼ÊÇÄÚ´æµÄÒ»²¿·Ö
stack ¿Õ¼äС£¬ËٶȱȽϿ죬 ÓÃÀ´·Å¶ÔÏóµÄÒýÓÃ
heap ´ó£¬Ò»°ãËùÓд´½¨µÄ¶ÔÏ󶼷ÅÔÚÕâÀï¡£
Õ»(stack):ÊÇÒ»¸öÏȽøºó³öµÄÊý¾Ý½á¹¹,ͨ³£ÓÃÓÚ±£´æ·½·¨(º¯Êý)ÖеIJÎÊý,¾Ö²¿±äÁ¿.
ÔÚjavaÖÐ,ËùÓлù±¾ÀàÐͺÍÒýÓÃÀàÐͶ¼ÔÚÕ»Öд洢.Õ»ÖÐÊý¾ÝµÄÉú´æ¿Õ¼äÒ»°ãÔÚµ±Ç°scopesÄÚ(¾ÍÊÇÓÉ{...}À¨ÆðÀ´µÄÇøÓò) ......
ʹÓÃant.jar°ü£¨1.6°æ±¾£©£¬Íê³ÉtarµÄ´ò°ü¹¦ÄÜ£¬Ö±½ÓÌù´úÂë
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Li ......
JNBridgeÌṩÁË¿çÔ½JavaÓë.NET´úÂëµÄ·Ö²¼Ê½ÊÂÎñÖ§³Ö
×÷Õß Jonathan Allen ÒëÕß ÕÅÁú ·¢²¼ÓÚ 2009Äê12ÔÂ28ÈÕ ÉÏÎç5ʱ5·Ö
ÉçÇø .NET, Java Ö÷Ìâ »¥²Ù×÷, ÊÂÎñ´¦Àí ±êÇ© JNBridge
ƾ½èJNBridge¼¼Êõ£¬JavaºÍ.NET´úÂëÎÞÐè½»²æ±àÒëÆ÷¾Í¿ÉÒÔʵÏÖ¶ÔÏó¹²Ïí¡£ËùÓÐJava´úÂëÔËÐÐÔÚJVMÉÏ£¬¶ø.NET´úÂëÔòÔËÐÐÔÚCLRÉÏ¡£Ôڸ÷½°¸Ï£¬JVM ......
Ôü×Ò»ØÊÕµÄã£ÂÛ
Ëùν“³ÉÒ²ÏôºÎ°ÜÏôºÎ”¡£JavaµÄÔü×Ò»ØÊÕȷȷʵʵ´øµ½Á˺ܶàºÃ´¦£¬Îª¿ª·¢´ø»ØÁË·½±ã¡£µ«ÊÇÔÚһЩ¸ßÐÔÄÜ¡¢¸ß²¢·¢µÄÇé¿öÏ£¬Ôü×Ò»ØÊÕÈ·±äΪÁËǯÖÆJavaʹÓõÄÆ¿¾±¡£µ±Ç°JDKµÄÔü×Ò»ØÊÕËã·¨£¬Ê¼ÖÕû·¨½â¾öÔü×Ò»ØÊÕʱµÄÔÝÍ£ÎÊÌ⣬ÓÉÓÚÕâ¸öÔÝÍ£ÑÏÖØÓ°ÏìÁ˳ÌÐòµÄºôӦʱ¼ä£¬´Ù³É¶ÂÈû»ò»ý¾Û¡£ÕâÒ²ÊǺóÐøJDK ......
ÔËÐÐʱ°ó¶¨Ò²½Ð¶¯Ì¬°ó¶¨£¬ËüÊÇÒ»ÖÖµ÷ÓöÔÏó·½·¨µÄ»úÖÆ¡£Javaµ÷ÓöÔÏó·½·¨Ê±£¬Ò»°ã²ÉÓÃÔËÐÐʱ°ó¶¨»úÖÆ¡£
1£®JavaµÄ·½·¨µ÷Óùý³Ì
±àÒëÆ÷²é¿´¶ÔÏóµÄÉùÃ÷ÀàÐͺͷ½·¨Ãû£¨¶ÔÏó±äÁ¿µÄÉùÃ÷ÀàÐÍ£©¡£Í¨¹ýÉùÃ÷ÀàÐÍÕÒµ½·½·¨ÁÐ±í¡£
±àÒëÆ÷²é¿´µ÷Ó÷½·¨Ê±ÌṩµÄ²ÎÊýÀàÐÍ¡£
Èç¹û·½·¨ÊÇprivate¡¢static¡¢final»òÕß¹¹ÔìÆ÷£¬±àÒëÆ ......