![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Java新手
liput
这个作者很懒,什么都没留下…
展开
-
Java Tutorial,学到了一点
一直很奇怪为什么Eclipse中的Visual Editor在进行代码生成时,用的方法是新建一个线程类来调用界面显示函数。今天在查看Java Tutorial时,也看到了这个: 1public static void main(String[] args) { 2 //Schedule a job for the event-dispatching thread: 3 ...2007-03-17 00:28:00 · 76 阅读 · 0 评论 -
Java中的事件监听
继续在看Java Tutorial,不过已经到了GUI了,呵呵!~在"Introduction to Event Listeners"中,看到了JAVA的事件监听机制。实现事件监听机制,需要有如下三件事情: 1、In the declaration for the event handler class, one line of code specifies that ...2007-03-17 02:50:00 · 146 阅读 · 0 评论 -
JAVA Applet生命周期
还是在看Java Tutorial,到了"Applets"。下面就列出一些看到的重点吧。 An applet is a special kind of Java program that a browser enabled with Java technology can download from the internet and run. An applet ...2007-03-17 10:48:00 · 307 阅读 · 0 评论 -
一个Java问题贴子
[问题引出]:public class Parent{ public void test() {} public Parent() { test(); } public static void main(String [] args) { new Child(); }}class Child extends Parent{ private int i...2007-04-13 09:08:00 · 73 阅读 · 0 评论 -
Eclipse常用插件
Eclipse常用插件介绍[转至CowNew培训视频]数据库管理 SQLExplorer可视化GUI界面开发SWT-Designer(高级功能收费)反编译工具Jode http://www.technoetic.com/eclipse/updateJ2EE开发Lomboz、MyEclipse(收费)XML编写查看XMLBuddy...2007-05-02 01:01:00 · 95 阅读 · 0 评论 -
JSP taglib中的一个小问题
今天写了个JSP的自定义标签的小练习,照着书上的程序写完所有的源码以后,一进行调试,发现出现很多稀奇古怪的事。如: 类型无法解析(class type can't be resolved.) 找不到tag类处理器(can't load tag class handler)等。好晕的。后来通过检查,发现在classes目录下面没有产生标记处理器类的class文件,一直以为Eclipse ...2007-07-02 21:47:00 · 169 阅读 · 0 评论 -
JDBC驱动下载
SQL Server 2000 Driver for JDBC Service Pack 3 Download-Site: http://www.microsoft.com/downloads/details.aspx?familyid=07287B11-0502-461A-B138-2AA54BFDC03A&displaylang=enSystem Requ...2007-09-11 19:01:00 · 833 阅读 · 0 评论 -
Java Web的中文问题
摘自王俊标编著的《精通Java Web开发-基于Struts EJB Hibernate JBuilder》一书:1、页面请求 采用Filter过滤器方式: web.xml片段 1 …… 2 <!-- filter 配置 --> ...2008-03-20 09:43:00 · 96 阅读 · 0 评论 -
你的SimpleDateFormat起作用了吗?
通过SimpleDateFormat格式化日期输出是一种常见的用法,如下:SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");System.out.println(sdf.format(new Date()));如果上述代码正常工作,它将显示当前的日期年月日时分秒格式。但是有时候它并没有如我们预期的那样,而显示的时间...2008-04-29 20:52:00 · 248 阅读 · 0 评论