Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÓÃJAVAʵÏÖÁË´øÓи´Ñ¡¿òµÄÊ÷Ŀ¼

JDK°æ±¾
        JDK1.4.x
    ¹¦ÄÜ
        ʵÏÖÁË´øÓи´Ñ¡¿òµÄ×ÊÔ´¹ÜÀíÆ÷Ê÷Ŀ¼£¬»¹ÓÐÐèÒª¸Ä½øµÄµØ·½£¬ÎÒÔÚÒÔºó¸üУ¬Èç¹ûÄÇλÅóÓÑÓкõĽ¨Ò黶ӭÌá³ö
   
    »¶Ó­´ó¼ÒÌáÒâ¼û£¬½»Á÷
   
    ´úÂëÈçÏÂ
   
import javax.swing.tree.*;
import javax.swing.filechooser.*;
import javax.swing.event.*;
import java.awt.Cursor;
import java.awt.Component;
import java.awt.Font;
import java.io.*;
import java.awt.*;
import javax.swing.*;
import java.util.*;
import java.awt.event.MouseListener;
import java.awt.event.MouseEvent;
/**
 * Title: ϵͳ¼¶Ê÷Ŀ¼
 * Description: 
 * Copyright: Copyright (c) 2004
 * Company: 
 * @author cuijiang contact cj0063@sina.com or cuij7718@yahoo.com.cn
 * @version 1.0
 */
public class AgileSuperJTreeBasic
    extends JTree
    implements TreeExpansionListener, TreeSelectionListener, MouseListener {
  protected DefaultTreeModel treeModel;
  protected FileSystemView fileSystemView; //½¨Á¢ÎļþϵͳÊÓÀà¶ÔÏó
  protected FileNode root;
  public AgileSuperJTreeBasic() {
    Font myFont = new Font("ËÎÌå", 11, 12);
    fileSystemView = FileSystemView.getFileSystemView();
    root = new FileNode(fileSystemView.getRoots()[0]);
    root.explore();
    treeModel = new DefaultTreeModel(root);
    this.setModel(treeModel); //É趨Ê÷Ðβ˵¥
    this.addTreeExpansionListener(this); //´ò¿ª/¹Ø±Õ½Úµãʼþ
    this.addTreeSelectionListener(this); //Ñ¡ÔñµÄʼþ
    this.setCellRenderer(new MyTreeCellRenderer()); //Éú³Éͼ±ê
    this.setFont(myFont);
    this.setRootVisible(true);
    this.setRowHeight(18);
 


Ïà¹ØÎĵµ£º

java µ÷ÓÃÃüÁî ±¸·ÝmysqlÊý¾Ý¿â

 ´úÂëÈçÏ£º
  1  String command  =   " cmd /c C:/Program Files/MySQL/MySQL Server 5.0/bin>mysqldump -h localhost -u root -p aijia > E:/aijia.dmp " ;
  2      try    {
  3     Process process& ......

JavaÖеÄÇ¿´óÎäÆ÷

¡¡¡¡Ëùν¶ÔÏóÐòÁл¯¾ÍÊǽ«¶ÔÏóµÄ״̬ת»»³É×Ö½ÚÁ÷£¬ÒÔºó¿ÉÒÔͨ¹ýÕâЩֵÔÙÉú³ÉÏàͬ״̬µÄ¶ÔÏó¡£Õâ¸ö¹ý³ÌÒ²¿ÉÒÔͨ¹ýÍøÂçʵÏÖ£¬¿ÉÒÔÏÈÔÚWindows»úÆ÷ÉÏ´´½¨Ò»¸ö¶ÔÏ󣬶ÔÆäÐòÁл¯£¬È»ºóͨ¹ýÍøÂç·¢¸øһ̨Unix»úÆ÷£¬È»ºóÔÚÄÇÀï׼ȷÎÞÎóµØÖØГװÅ䔡£ÊDz»ÊǺÜÉñÆæ¡£
¡¡¡¡Ò²ÐíÄã»á˵£¬Ö»Á˽âÒ»µãµã£¬µ«´ÓÀ´Ã»ÓнӴ¥¹ý£ ......

javaС³ÌÐò£¨2£©

¡¾ÎÄÕ±êÌâ¡¿javaС³ÌÐò£¨2£©
¡¾ÎÄÕÂ×÷Õß¡¿Ôø½¡Éú
¡¾×÷ÕßÓÊÏä¡¿zengjiansheng1@126.com
¡¾×÷ÕßQQ¡¿190678908
¡¾×÷ÕßÉùÃ÷¡¿±¾ÈËˮƽÓÐÏÞ£¬Ê§ÎóÖ®´¦£¬¾´Çë¸÷λָ³ö¡£±¾ÈËÒÔǰдµÄһЩС³ÌÐò£¬·ÖÏíÒ»ÏÂÏ£Íû¶Ô¸÷λѧϰjavaÓаïÖú ^-^
***************************************************************************** ......

javaÐĵã¡

1.    Êý×éÓÐûÓÐlength()Õâ¸ö·½·¨? StringÓÐûÓÐlength()Õâ¸ö·½·¨£¿
        ´ð£ºÊý×éûÓÐlength()Õâ¸ö·½·¨£¬ÓÐlengthµÄÊôÐÔ¡£
        StringÓÐlength()Õâ¸ö·½·¨¡£
2.     String s = new String("xyz");´ ......

ÎҵĵÚÒ»¸öFreeMarkerÄ£°åÉú³Éjava´úÂëµÄÀý×Ó

µÚÒ»²½.н¨Ò»¸öÄ£°åÎļþÒÔ.ftl½áβ¡£
IDAO.ftl
 package com.media.dao;
import java.util.List;
import com.media.bean.${model_name};
import com.media.exceptions.DAOException;
/**
* ${model_name_cn}½Ó¿Ú
*
* @author ${author}
* @link ${link}
*
* @version $Revision: 1.00 $ $Date: ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ