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

ÔËÓÃjava, jCom À´ дexcelÎļþ£¨IDispatch£©·½·¨¶þ

package sample1;
 
import java.io.File;
import jp.ne.so_net.ga2.no_ji.jcom.IDispatch;
import jp.ne.so_net.ga2.no_ji.jcom.JComException;
import jp.ne.so_net.ga2.no_ji.jcom.ReleaseManager;
/**
 * ʹÓÃjComʵÏÖдexcelÎļþµÄÁíÒ»ÖÖ·½Ê½£¨IDispatch£©
 * @author steve_wang_victor
 *
 */
public class Tt {
 
         private static ReleaseManager rm = null;
         private static IDispatch xlsApp = null;
         private static IDispatch excel = null;
         private static IDispatch workbook = null;// ¹¤×÷±¡
         private static IDispatch sheets = null;// ËùÓй¤×÷±í£¨ÊÇÒ»¸öÊý×éÐÎʽ£©
         private static IDispatch sheet = null;// µ¥¸ö¹¤×÷±í
         private static IDispatch currentSheet  = null;// µ±Ç°»î¶¯µÄ¹¤×÷±í
 
         /**
          * @param args
          */
         public static void main(String[] args) {
 
                   rm = new ReleaseManager();// ²éÕÒJCOMÄܹ»²Ù×÷µÄ×é¼þ
                   try {
                            xlsApp = new IDispatch(rm, "Excel.Application");
                           


Ïà¹ØÎĵµ£º

javaÖÐorg.apache.commons.digesterÀàÓ÷¨

xmlÎļþÄÚÈÝ£º
 <?xml version="1.0" encoding="UTF-8"?>
<channels>
<channel switchTime="20080101000101" k="1.07" n="6" s="55" channelId="0404" channelName="xxxx.xxxx.xxx.cn"/>
<channel switchTime="20080301010101" k="1.07" n="6" s="55" channelId="0405" channelName="xxx ......

ÈçºÎ×ÔѧjavaѸËÙ³ÉΪjava¸ßÊÖ

ÈçºÎ×ÔѧjavaѸËÙ³ÉΪjava¸ßÊÖ 
     
    ÒªÏëѧºÃJava£¬Ê×ÏÈÒªÖªµÀJavaµÄ´óÖ·ÖÀà¡£ÎÒÃÇÖªµÀ£¬×Ô´ÓSunÍƳöJavaÒÔÀ´£¬¾ÍÁ¦Í¼Ê¹Ö®ÎÞËù²»°ü£¬ËùÒÔJava·¢Õ¹µ½ÏÖÔÚ£¬°´Ó¦ÓÃÀ´·ÖÖ÷Òª·ÖΪÈý´ó¿é£ºJ2SE,J2MEºÍJ2EE,ÕâÒ²¾ÍÊÇSunONE(Open NetEnvironment)Ìåϵ¡£J2SE¾ÍÊÇJava2µÄ±ê× ......

java¼Òô³ÌÐò

 
±¾ÈËÍøÉÏÊÕ¼¯µÄÁ½¸öjava
¼Òô³ÌÐò,ÎÄÕ³ö´¦²»¼ÇµÃÁË.
³ÌÐò1:
 import javax.sound.sampled.*;
import javax.swing.JFrame;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;
import java.awt.Toolkit;
import javax.swing.JPanel;
import java.awt.event.ActionListener;
......

Java ÀíÂÛºÍʵ¼ù:·ºÐÍ11ÔÂ06ÈÕ[תÌù]

     Java ÀíÂÛºÍʵ¼ù: Á˽ⷺÐÍ Ê¶±ðºÍ±ÜÃâѧϰʹÓ÷ºÐ͹ý³ÌÖеÄÏÝÚå
 
      JDK 5.0 ÖÐÔö¼ÓµÄ·ºÐÍÀàÐÍ£¬ÊÇ Java ÓïÑÔÖÐÀàÐÍ°²È«µÄÒ»´ÎÖØÒª¸Ä½ø¡£µ«ÊÇ£¬¶ÔÓÚ³õ´ÎʹÓ÷ºÐÍÀàÐ͵ÄÓû§À´Ëµ£¬·ºÐ͵ÄijЩ·½Ãæ¿´ÆðÀ´¿ÉÄܲ»ÈÝÒ×Ã÷°×£¬ÉõÖÁ·Ç³£Ææ¹Ö¡£ÔÚ±¾ÔµÄ"Java Àí ......

¡¾×ª¡¿JAVA³õѧÎÊÌâ

   ×Ô¼ºÑ§Ï°JavaÒѾ­ÓÐÒ»¸öÔÂ×óÓÒÁË~~¶ÔһЩjavaÒ²ÓÐһЩ¸ÐÊÜ~~
µ±¿´µ½ÕâƪÎÄÕÂʱ£¬·¢ÏÖ»¹¿ÉÒÔ~~¾ÍתÀ´ºÍ´ó¼Ò·ÖÏíÒ»ÏÂ~~~
1 ʲôÊÇJava¡¢Java2¡¢JDK£¿JDKºóÃæµÄ1.3¡¢1.4.2°æ±¾ºÅÓÖÊÇÔõô»ØÊ£¿
´ð£ºJavaÊÇÒ»ÖÖͨÓõģ¬²¢·¢µÄ£¬Ç¿ÀàÐ͵ģ¬ÃæÏò¶ÔÏóµÄ±à³ÌÓïÑÔ
£¨Õª×ÔJava¹æ·¶µÚ¶þ°æ) JDKÊÇSun¹«Ë¾·Ö·¢µÄÃâ·ÑJa ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ