摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package utils; import java.awt.*; import java.awt.image.*; import java.util.*; public class VerImage... 阅读全文
posted @ 2009-03-21 22:38 angushine 阅读(1149) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package utils; import java.awt.Image; import java.awt.image.BufferedImage; import java.awt.image.Ren... 阅读全文
posted @ 2009-03-21 22:34 angushine 阅读(236) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package bll; import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedState... 阅读全文
posted @ 2009-03-21 22:28 angushine 阅读(692) 评论(0) 推荐(0) 编辑
摘要: 方法一: 在工程src目录下建立一个log4j.properties文件,该文件会自动拷贝到/WEB-INF/classes下,文件内容如下: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->### set log levels ### log4j.... 阅读全文
posted @ 2009-03-21 22:23 angushine 阅读(1665) 评论(0) 推荐(0) 编辑
摘要: 请注意,当使用 runnable 接口时,您不能直接创建所需类的对象并运行它;必须从 Thread 类的一个实例内部运行它。许多程序员更喜欢 runnable 接口,因为从 Thread 类继承会强加类层次。代码示例如下: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlight... 阅读全文
posted @ 2009-03-21 22:17 angushine 阅读(163) 评论(0) 推荐(0) 编辑
摘要: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->package job; import java.io.FileWriter; import java.io.IOException; import java.util.Date; import jav... 阅读全文
posted @ 2009-03-21 22:16 angushine 阅读(130) 评论(0) 推荐(0) 编辑