javaÀïÃæһЩÄãÒ²Ðí»¹²»ÖªµÀµÄ¶«Î÷
JavaÀïÃæµÄdnd;
½çÃæ±à³ÌÀïÃæÄÜÊìÁ·µÄÔËÓõÄÈ˲»¶à,¶ø¶ÔJavaÖеÄÍÏק֪¸ùÖªµ×µÄÈ˾͸üÉÙÁËÎÒµÄһƪ ÎÄÕÂ-- JavaÖеÄDrag and DropÏê½âÓë´úÂëʾÀý ÀïÃæÓÐÏêϸ½éÉÜ.
java.awt.MouseInfo, java.awt.PointerInfo;
ÎÒÔø¾ÏëµÃµ½Êó±êÔÚÆÁÄ»Éϵľø¶ÔλÖÃ,ÎÒÊÔ¹ýͨ¹ýÔÚMouseListenerÀïÃæµÃµ½Êó±êÔÚÒ»¸ö¿Ø¼þÀïÃæµÄÏà¶ÔλÖÃÀ´ÔËËãµÃµ½Êó±êÔÚÆÁÄ»Éϵľø¶ÔλÖÃ,Ч¹û¶¼ºÜ²»ºÃ,ºóÀ´·¢ÏÖMouseInfo,PointerInfo¿ÉÒԵõ½Êó±êµ±Ç°µÄ¾ø¶ÔλÖÃ,ÕæµÄ²»´í¡£
java.awt.Robot;
ÕâÊÇÒ»¸ö·Ç³£ÓÐÒâ˼µÄ»úÆ÷ÈËÀà,ËûÀïÃæÌṩµÄ·½·¨¿ÉÒÔÄ£Äâ¼üÅ̵İ´¼üʼþ¼´:KeyPress,KeyRelease;Êó±êµÄʼþ:mouseMove,mousePress,mouseRelease..; ËûÀïÃ滹ÓÐÒ»¸öÖØÒªµÄ¹¦ÄܾÍÊÇÄܵõ½µ±Ç°µÄScreenCapture.
FlavorListener;
FlaborListenerÆäʵÊÇʵÏÖÍÏקµÄÒ»¸öÖØÒªµÄÀà,ÎÒÕâÀï°ÑËüÁгöÀ´Ö÷ÒªÊÇÒòΪËüÖ±µ½ÄãÕýÔÚ¶ÔϵͳµÄ¼ôÇаå×öʲô,´Ó¶ø¿ÉÒÔ³ö·¢Ä³Ð©ÐÐΪ,ÂùÓÐÒâ˼.
javax.swing.SwingUtilities;
SwingµÄ¹¤¾ßÀà,ÀïÃæ×îÓÐÓÃ,×î³£Óõķ½·¨¿ÖžÍÊÇconvertPointϵÁеķ½·¨ÁË,ËûÃÇ¿ÉÒÔʵÏÖ²»Í¬component¼äµÄ×ø±êµÄת»¯,µ±ÄãÐèÒªÕâ¸ö¹¦ÄܵÄʱºò,Äã»á·¢ÏÖÕâ¸öÀàÕæµÄºÜÓÐÓá£
javax.swing.undo.*;
javaÀïÃæÖ§³Öundo/redoµÄÒ»¸ö°ü, ±¾ÈËҲûÓÐÓùý,²»¹ýÁÐÔÚÕâÀïÒÔ±¸²»¼°Ö®Ðè¡£
java.lang.System;
ËäÈ»´ó¶àÊýÖªµÀÒòΪSystem.out.println¶ø¶ÔSystemÀàÓÐËùÁ˽â,µ«ÊÇ´ó¶àÊýÈËÒ²ÖªµÀÕâ¸ö,ÆäʵSystemÀïÃ滹ÓÐÁ½¸öºÜÓÐÓõķ½·¨:
currentTimeMillis:·µ»Ømillisecond±íʾµÄµ±Ç°Ê±¼ä(¾à1970:00:00).
arraycopy: ºÅ³ÆЧÂʼ«¸ßµÄÊý×鿽±´·½·¨.
java.nio;
·Ç×èÈûµÄIO,×Ô¼ºÒ²²»ÊǺÜÁ˽â,²»ÂôŪÁË,Ö»ÊÇÏë¸æËßÄãjavaÖгýÁËjava.ioÍ⻹ÓÐÒ»¸öjava.nio.
ÀàÃûºÍÎļþÃû²»ÊDZØÐëÒªÒ»ÑùµÄ¡£
ËäÈ»²»ÊǺܳ£Ó㬵«±àÒëµ¥ÔªÄÚÍêÈ«²»´øpublicÀàÒ²ÊÇ¿ÉÄܵġ£ÔÚÕâÖÖÇé¿öÏ£¬Äã¿ÉÒÔËæÒâ¶ÔÎļþÃüÃû¡£
JavaÖеÄĬÈÏ·ÃÎÊȨÏÞÊÇ°üÂð£¿
Äã¿ÉÒÔÑ¡ÔñÔÚ½Ó¿ÚÖÐÏÔʽµØ½«·½·¨ÉùÃ÷ΪpublicµÄ£¬µ«¼´Ê¹Äã²»Õâô×ö£¬ËüÃÇÒ²ÊÇpublicµÄ(²»ÊÇ°ü)¡£
Ïà¹ØÎĵµ£º
1£®Servlet³ÌÐòµÄÈë¿ÚµãÊÇ£º£¨ £©
A init£¨£©
B main£¨£©
C service£¨£©
D doGet£¨£©
²Î¿¼´ð°¸£ºA
2. SeverletÖУ¬HttpSeverletResponseµÄʲô·½·¨ÓÃÀ´°ÑÒ»¸öHTTPÇëÇóÖض¨Ïòµ½ÁíÍâµÄURL£¿£¨ £©
A sendURL()
B redirectURL()
C sendRedirect()
D ......
Ò»¡¢Spring»ù´¡ÖªÊ¶¼°IOC_Ñ¡ÔñÌâ
1. ÏÂÃæ¹ØÓÚspringÃèÊö´íÎóµÄÊÇ£º£¨ £©
A SpringÖ§³Ö¿É²åÈëµÄÊÂÎñ¹ÜÀíÆ÷£¬Ê¹ÊÂÎñ»®·Ö¸üÇáËÉ£¬Í¬Ê±ÎÞÐè´¦Àíµ×²ãµÄÎÊÌâ¡£
B SpringÊÂÎñ¹ÜÀíµÄͨÓóéÏó²ã»¹°üÀ¨JTA²ßÂÔºÍÒ»¸öJDBC DataSource¡£
C ÓëJTA»òEJB CMTÒ»Ñù£¬SpringµÄÊÂÎñÖ§³ÖÒÀÀµÓÚJava EE»·¾³¡£
D Spr ......
£¨´ËÌù½÷Ïò£¬²ËÄñ¼¶JAVA³ÌÐòÔ±Ìṩ±ãÀû£¬ºÇºÇ£¬£¬ÈôÓÐÐÒ¸ßÊÖ³öÏÖ£¬»¹Íû¶à¶àÖ¸µã¡£Ð¡µÜÉõ»¶£¡£©
×î½üæÓÚ¿ª·¢Ò»Ì×¼à¿Øϵͳ¡£
ÐèÒª±¨¾¯ÉùÒô¡£
ÔÚÑ°Çó½â¾ö·½°¸µÄʱºò£¬³öÏÖÁ½ÖÖ·½°¸¡£
Ò»¡¢ÓÃjavax.sound.sampled.*°ü£¬½øÐÐÉùÒô´¦Àí¡£
¶þ¡¢ÓÃsun.audio.AudioPlayer°ü£¬½øÐÐÉùÒô´¦Àí¡£
µÚÒ»ÖÖ·½°¸ÓÃÆðÀ´£¬»á¾³£ÐÔ³öÏÖ¿¨Ö ......
1¡¢ Java¶ÔÏó¸³Öµ
Java´úÂë
Employee e1=
new
Employee(
"Àî"
);
//EmployeeÊÇÒ»¸ö×Ô¶¨ÒåÀà
Employee e2=e1; //¸³Öµ¶ÔÏó
e2.setName("Íõ"
);
//¸Ä±ä¶ÔÏóe2µÄÃû×Ö
System.out.println(e1.getName ......