用java制作日历的方法

时间:2011-10-29 02:57:00
【文件属性】:

文件名称:用java制作日历的方法

文件大小:9KB

文件格式:RAR

更新时间:2011-10-29 02:57:00

java 日历

用JAVA制作日历的源代码 import java.awt.*; import java.awt.event.*; import java.util.*; import javax.swing.*; import javax.swing.event.*; import javax.swing.table.*; public class MyCalendar extends JApplet { public static final String WEEK_SUN = "SUN"; public static final String WEEK_MON = "MON"; public static final String WEEK_TUE = "TUE"; public static final String WEEK_WED = "WED"; public static final String WEEK_THU = "THU"; public static final String WEEK_FRI = "FRI"; public static final String WEEK_SAT = "SAT"; public static final Color background = Color.white; public static final Color foreground = Color.black; public static final Color headerBackground = Color.blue; public static final Color headerForeground = Color.white; public static final Color selectedBackground = Color.blue; public static final Color selectedForeground = Color.white;.......


【文件预览】:
JAVA日历
----JAVA日历5.txt(6KB)
----JAVA日历4.txt(1KB)
----JAVA日历3.txt(4KB)
----JAVA日历1.txt(7KB)
----JAVA日历2.txt(8KB)

网友评论

  • 是很好用 可是这个界面不太漂亮啊
  • 我把这些日历直接移植到自己的小程序里去了,真的很好用……