Java:ÔÚRCPÖÐʵÏÖÓÃÍÐק´ò¿ªEditor
¹¤×÷̨´°¿ÚµÄEditorÇøÓòĬÈÏÊÇÏÔʾµÄ£¬¶øÇÒËüÖ§³ÖÍÏק²Ù×÷¡£ÔÚEclipseÀïÃ棬°ÑÒ»¸öÎļþÍϵ½EditorÇøÓò£¬¾Í»á×Ô¶¯´ò¿ª¸ÃÎļþµÄ
Editor.¸ÃÌØÐÔÊÇÔÚIWorkbenchWindowConfigurer ÖÐÉèÖá£
ÔÚPassWord GateÖУ¬µ±Í϶¯Password Gate ViewÖеÄÒ»¸öGroup »òÕß
Serviceµ½EditorÇøÓò£¬»áÔÚEditorÏÔʾ¸ÃÏîµÄÊôÐÔ¡£
ҪʵÏÖ´ËÌØÐÔ£¬ÓÐËIJ¿·ÖÊDZØÐëµÄ¡£
1 ʵÏÖ±ØÒªµÄTransferÀàÐÍ£¬¶øÇÒ¶¨ÒåEditorÒªÖ§³ÖÄÄЩÀàÐÍ¡£ÔÚPassword
GateÖУ¬TransferÊÇLocalSelectionTransfer.TransferÓÃÀ´½øÐÐÊý¾ÝµÄÐòÁл¯£¬Ëü¿ÉÒÔÖ§³ÖÔÚͬһ¸ö³ÌÐò£¬»ò²»Í¬
³ÌÐò¼äÍÏק¡£
2 ÒòΪÔÚÍÏק´«µÝµÄ¹ý³ÌÖÐEditor Input ҪʵÏÖÐòÁл¯£¬ËùÒÔҪʵÏÖIPersistableElement½Ó¿Ú¡£
3 ¼ÓÈëÒ»¸öÊÍ·ÅÊÊÅäÆ÷£¬µ±Ò»¸öÔªËر»ÈÓµ½EditorÇøÓò£¬Ëü¿ÉÒÔÖªµÀÈçºÎ½øÐвÙ×÷£¬Æäʵ¾ÍÊÇ´ò¿ª¸ÃÔªËصÄEditor.
4 ʹPassword ViewÄܹ»½øÐÐÍϲÙ×÷£¬ËüÒªÌṩ¹©ÍϵÄÔªËØ¡£
ÏÂÃæ½øÐдúÂëʵÏÖ¡£
ÔÚRCPµÄWorkbenchWindowAdvisor. preWindowOpenÖж¨ÒåÒªÇóEditor
AreaÖ§³ÖµÄÍÏÈë¶ÔÏóµÄÀàÐÍ£¬ÒÔ¼°´ò¿ªÏàÓ¦EditorµÄʼþ¡£
ApplicationWorkbenchWindowAdvisor.preWindowOpen£¨£©
01 public void preWindowOpen() {
02 ......
03 configurer.addEditorAreaTransfer(LocalSelectionTransfer.getInstance());
04 configurer.configureEditorAreaDropListener(new EditorAreaDropAdapter(
05 configurer.getWindow()));
06 }
Row 03¶¨ÒåÁËEditor AreaÖ§³ÖµÄTransferΪLocalSelectionTransfer£¬
LocalSelectionTransferΪ×Ô¼ºÊµÏֵĴ«Êä½éÖÊÀà¡£Row 04¶¨ÒåÁ˶ÔÍÏÈëEditor
AreaµÄ¶ÔÏóµÄ´¦Àí·½·¨¡£EditorAreaDropAdapterʵÏÖÁËDropTargetListener½Ó¿Ú
Ïà¹ØÎĵµ£º
JavaºÍ.NET»¥²Ù×÷£º¸Ã·ÅÆúWeb ServiceÂð?
ͨ¹ýWeb Service»ìºÏ.NETºÍJava¼¼ÊõÍùÍùºÜÈÝÒ×£¬µ«Web Service²¢·ÇÊÇ.NETºÍJava»¥²Ù×÷µÄÍòÁ鵤¡£Web ServiceÔÚ¼¯³É¶ÀÁ¢µÄ¿çÍøÂçͨÐŵÄ×é¼þʱ·Ç³£ÓÐÓã¬ÔÚ¼òµ¥µÄµ÷ÓÃ/·µ»ØÇé¾°ÖУ¬Éæ¼°µÄÊý¾ÝÀàÐÍÊýÁ¿·Ç³£ÓÐÏÞ£¬ÇÒWeb ServiceÊÇ»ùÓÚ±ê×¼µÄ£¬»ìºÏ.NETºÍJava¼¼Êõͨ³£ÏԵúܼòµ¥£¬Òò´ ......
JAVA¿ª·¢Õß×ȥµÄ20¸öÓ¢ÎÄÍøÕ¾
1.[http://www.javaalmanac.com] – Java¿ª·¢ÕßÄê¼øÒ»ÊéµÄÔÚÏß°æ±¾. ÒªÏë¿ìËٲ鵽ijÖÖJava¼¼ÇɵÄÓ÷¨¼°Ê¾Àý´úÂë, ÕâÊÇÒ»¸ö²»´íµÄÈ¥´¦.
2.[http://www.onjava.com] – O’ReillyµÄJavaÍøÕ¾. ÿÖܶ¼ÓÐÐÂÎÄÕÂ.
3.[http://java.sun.com] – ¹Ù·½µÄJava¿ª·¢ÕßÍøÕ¾ &nda ......
Java.sql°üÖÐµÄ java.sql.Driver, jdbc.sql.ConnectionµÈÌṩ¸ø³ÌÐò¿ª·¢ÈËԱͳһµÄ¿ª·¢½Ó¿Ú£¬Êý¾Ý¿âÌṩÉÌÌṩÏàÓ¦µÄʵÏÖ£¬¶Ô³ÌÐò¿ª·¢ÈËÔ±À´½²Ö»ÒªÖªµÀÕâЩ½Ó¿Ú¶¼ÓÐÄÄЩ·½·¨¾Í¿ÉÒÔÁË¡£µ«ÎÒÃÇ¿ÉÒÔÉîÈëһЩ¿´¿´µ½µ×ÕâÀïÃ涼×öÁËÄÇЩÊ£¬ ͬʱҲ¿ÉÒÔѧϰÆäÖеıà³Ìģʽ(ÈçInterfaceģʽµÈ)¡£
¡¡¡¡1¡¢ Class.forName(String cl ......
ÎÊÌâ
ÔÚǰһС½Ú£¬½éÉÜÁËÔÚ¶àÏ̱߳à³ÌÖÐʹÓÃͬ²½»úÖƵÄÖØÒªÐÔ£¬²¢Ñ§»áÁËÈçºÎʵÏÖͬ²½µÄ·½·¨À´ÕýÈ·µØ·ÃÎʹ²Ïí×ÊÔ´¡£ÕâЩÏß³ÌÖ®¼äµÄ¹ØϵÊÇƽµÈµÄ£¬±Ë´ËÖ®¼ä²¢²»´æÔÚÈκÎÒÀÀµ£¬ËüÃǸ÷×Ô¾ºÕùCPU×ÊÔ´£¬»¥²»ÏàÈ㬲¢ÇÒ»¹ÎÞÌõ¼þµØ×èÖ¹ÆäËûÏ̶߳Թ²Ïí×ÊÔ´µÄÒì²½·ÃÎÊ¡£È»¶ø£¬Ò²ÓкܶàÏÖʵÎÊÌâÒªÇó²»½öҪͬ²½µÄ·ÃÎÊͬһ¹²Ïí×ÊÔ´£¬¶øÇ ......
package com.yzy;
import java.util.regex.*;
public class Test {
/**
* @param args
*/
public static void main(String[] args) {
Pattern p=Pattern.compile("^[a-z]+");
Matcher m=p.matcher("a233"); //true
//Matcher m=p.matcher("2233") ......