摘要: 日历的显示//此程序能够显示当前这个月的全部日期。import java.util.*;public class CalendarTest { public static void main(String[] args) { //construct d as current date GregorianCalendar d=new GregorianCalendar(); int tod... 阅读全文
posted @ 2010-04-08 11:52 月亮的影子 阅读(294) 评论(1) 推荐(0) 编辑
摘要: 随机抽取游戏 阅读全文
posted @ 2010-04-07 19:55 月亮的影子 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 文本域的变化跟踪----时钟的显示 实现的代码如下:此程序实现的功能主要是显示一个时钟,并且带有两个文本域用来输入小时和分钟。只要这两个文本域中的内容发生变化,时钟就会跟着改变。 阅读全文
posted @ 2010-04-05 17:07 月亮的影子 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 格式化的输入域//格式化的输入域import java.awt.*;import java.awt.event.*;import java.lang.reflect.*;import java.net.*;import java.text.*;import java.util.*;import javax.swing.*;import javax.swing.text.*;public class... 阅读全文
posted @ 2010-04-05 11:47 月亮的影子 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 配置Apache+php多端口多站点监听多个端口#Listen:AllowsyoutobindApachetospecificIPaddressesand/or#ports,insteadofthedefault.Seealsothe<VirtualHost>#directive.##ChangethistoListenonspecificIPaddressesasshownbelow... 阅读全文
posted @ 2010-03-29 22:31 月亮的影子 阅读(568) 评论(0) 推荐(0) 编辑