java课程设计日历源码

时间:2013-06-07 09:38:44
【文件属性】:

文件名称:java课程设计日历源码

文件大小:8KB

文件格式:JAVA

更新时间:2013-06-07 09:38:44

java课程设计 日历 源码 java程序设计

// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html // Decompiler options: packimports(3) fieldsfirst ansi // Source File Name: MyCalendar.java package fancy; import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.util.Calendar; import javax.swing.*; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import javax.swing.table.*; public class MyCalendar extends JApplet { public static class CalendarTable extends JTable { private Calendar calendar; public void changeSelection(int i, int j, boolean flag, boolean flag1) { super.changeSelection(i, j, flag, flag1); if(i == 0) return; Object obj = getValueAt(i, j); if(obj != null) calendar.set(5, ((Integer)obj).intValue()); } public CalendarTable(TableModel tablemodel, Calendar calendar1) { super(tablemodel); calendar = calendar1; } } ............. ............. ............. .............


网友评论

  • 测试没有错误,很实用。
  • 运行时有异常抛出,使用的函数有的是已经废弃不用的了