`
tyl
  • 浏览: 51499 次
  • 性别: Icon_minigender_2
  • 来自: 西安
文章分类
社区版块
存档分类
最新评论
文章列表
//比较乱,没有系统的整理。 Module Module1    Public acadApp As Autodesk.AutoCAD.Interop.AcadApplication    Public successTempFilePath = "c:\\GASignSuccess.log"    Public isOpenTempFilePath = "c:\\isAutocadOpen.log"    Public autocadObjectString = "AutoCAD.Application.17"     Sub M ...
Module Module1    Sub Main(ByVal Args() As String)        If (Args.Length = 7) Then            Dim excelApp As Microsoft.Office.Interop.Excel.Application            Dim excelBook As Microsoft.Office.Interop.Excel.Workbook            Dim excelsheet As Microsoft.Office.Interop.Excel.Worksheet '定义工作表类 ...
import java.util.regex.Matcher;import java.util.regex.Pattern;public class Test { public Test() { } public static void main(String[] args) {  String release = "tcm release ,pre_released";  //  \\*/(?!\\*),表示必须匹配*/但不包括*/*.   //      字符.:代表所有的 ...
//网上找到,忘记网址了import java.io.File;import java.io.FileInputStream;import java.io.FileNotFoundException;import java.io.FileOutputStream;import java.io.IOException;import java.io.InputStream; /** *  * <p> * Title: 文件处理工具类 * </p> * <p> * Description:实现文件的简单处理,复制文件、目录等 * </p> * < ...
  import java.util.Comparator;public class MyComparator implements Comparator<Object> { private int count = 0; /**  * compare:排序  * @param @return 设定文件  * @return String 对象类型  * @throws  * @since CodingExample Ver 1.1  */    //例子:对字符串:id$$$page进行排序,先根据id排,id相同用page排序。  public int compare(Ob ...
import java.util.*;import java.awt.*;import javax.swing.*;import java.awt.event.*; public class Clock1 extends JFrame implements Runnable { private static final long serialVersionUID = 1L;  public Clock1() {  enableEvents(AWTEvent.WINDOW_EVENT_MASK);  try {   jbInit();  }  catch (Exception e) {   e ...
import java.io.File;import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.IOException;import org.apache.tools.zip.ZipEntry;import org.apache.tools.zip.ZipOutputStream;import work.tyl.common.CopyUtils; public class TestTrueZip {  public static void main(String[] args) throws ...
import java.text.ParseException;import java.text.SimpleDateFormat;import java.util.Calendar; /** * @author Administrator */public class OperationTime {  /**  *   */ public OperationTime() { // TODO Auto-generated constructor stub }  /**  * @param args  */ public static void main(String[] args) {   ...
  try {    //创建Excel文件:   WritableWorkbook writeWorkbook = Workbook.createWorkbook(new File("e:/test.xls"));     WritableSheet  sheet = writeWorkbook.createSheet("test", 0);    try {    writeWorkbook.write();    writeWorkbook.close();   }   catch (WriteException e) {    e.printSta ...
import java.awt.Color;import java.awt.Graphics;import java.awt.Image;import java.awt.image.BufferedImage;import java.io.File;import java.io.FileOutputStream;import java.io.IOException;import javax.imageio.ImageIO;import jxl.Workbook;import jxl.write.WritableImage;import jxl.write.WritableSheet;import ...
Option Explicit Public Declare Function ChangeDisplaySettings Lib "user32.dll" Alias "ChangeDisplaySettingsA" (ByRef lpDevMode As DEVMODE, ByVal dwFlags As Long) As LongPublic Declare Function EnumDisplaySettings Lib "user32.dll" Alias "EnumDisplaySettingsA" ( ...
源地址:http://blog.renren.com/GetEntry.do?id=442761175&owner=253682217   1. 口语  www.icoolen.com 我认为是最好的,所以放在第一位,适合用闲暇时间英语,看电影/美剧学英语,还有歌曲,漫画,稍稍有难度的词都有解释,网站设计欧美风格,很酷,很娱乐。         网站推荐的练习口语方法超级棒:         “口语是说出来的,跟读模仿是最行之有效的方法之一        美剧/电影中的对话都是生活常用语,是练习口语最好的材料。通过这种跟读模仿,既能了解美国文化(习语表达与文化背景), 又能熟悉语 ...
//以前在网上找到的,别人的成果 import java.io.FileOutputStream;import java.io.IOException;import org.jfree.chart.ChartFactory;import org.jfree.chart.ChartUtilities;import org.jfree.chart.JFreeChart;import org.jfree.chart.plot.PlotOrientation;import org.jfree.data.category.CategoryDatas ...
import java.awt.BorderLayout;import java.awt.Dimension;import java.awt.Toolkit; import javax.swing.JFrame;import javax.swing.JPanel;import java.awt.*;import javax.swing.JLabel;import javax.swing.JList;import javax.swing.JButton;import javax.swing.DefaultListModel; import java.awt.datatransfer.Clipb ...
//以前在网上找到的。   import java.awt.BorderLayout;   import java.awt.Color;   import java.awt.Component;     import javax.swing.JFrame;   import javax.swing.JScrollPane;   import javax.swing.JTable;   import javax.swing.table.DefaultTableCellRenderer;   import javax.swing.table.TableCellRenderer;     clas ...
Global site tag (gtag.js) - Google Analytics