diff --git "a/JAVA\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html" "b/JAVA\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
index 19d82a4bfb097622a5f3e93b41775ba0dae2d38c..b73c34be664e20b5b9c9b84e0090d4d90e0fd967 100644
--- "a/JAVA\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
+++ "b/JAVA\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
@@ -1,3 +1,246 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:488eabbbb815e902895944f2ccaddd6ed44af1362f7c5f7682e2cefb19274dfd
-size 15091
+ Java私塾祝你学业有成,早日实现心中梦想!Java私塾网址:http://javass.cn
+
+
+ Java私塾创立于2006年,七年来,帮助数千人实现了高薪就业,成就了他们的梦想,让他们拥有了美好的未来!
+
+ 并逐渐形成了自己独特的教学方法、教学理念和教育哲学。
+
+ 由于Java私塾一直非常低调,从不做广告和推广,完全依靠口碑生存和发展,所以很多朋友并不了解或是熟悉Java私塾。
+
+
+ 这里只想告诉你这么几个事实:
+
+ 1:Java私塾的老师的实力是最强的——保证你能学到真本领
+
+ 2:Java私塾的实际就业质量是最好的——轻松解决你的高薪就业的问题
+
+ 3:Java私塾的口碑是最好的——保证每一个在Java私塾学习的人都能有一个美好的前程
+
+
+ 多的不说了,因为在你们看来,谁家都说自己好,用事实说话吧!
+
+ 这些视频都是课堂实录的,老师讲得如何,听了你就知道了!你可以听到很多Java私塾独到的知识剖析、思路引导、学习方法......
+
+ 当然,更多的还是需要到现场来体会,老师对学员思路的引导,老师和学生的互动,老师对方法的示范,老师的旁征博引等等,这些都只有在现场才能感受到。
+
+
+ 完全现场实录,唯一的遗憾是声音不是太好,请海涵!
+
+
+ ********************************************************************
+
+
+Java学习路线图,请按照顺序学习,循序渐进
+
+ ********************************************************************
+
+
+
+
+
+ | 初级入门 到 Java基本开发 阶段(必会) |
+
+
+ | 1:Java视频培训教程初级课程(光盘里面有) |
+ 2:Java视频培训教程中级课程(光盘里面有) |
+
+
+ | 3:Java视频培训教程高级理论部分(光盘里面有) |
+ 4:Java视频培训教程高级项目部分(光盘里面有) |
+
+
+ | Java Web开发 阶段(必会) |
+
+
+ | 1:Web开发基础-XHTML(光盘里面有) |
+ 2:Web开发基础-CSS(光盘里面有) |
+
+
+ | 3:Web开发基础-XML(光盘里面有) |
+ 4:Web开发基础-Javascript(光盘里面有) |
+
+
+ | 5:Oracle数据库和Sql开发(光盘里面有) |
+ 6:J2EE入门经典(光盘里面有) |
+
+
+ | 7:Java Web开发(光盘里面有) |
+ 8:Java Web开发实战项目,《中国移动科技综合管理系统》请点击 |
+
+
+ | Java 框架开发 阶段(每个层次最少必会一个框架) |
+
+
+ | Web框架-Struts2(必会),请点击查看课程 |
+ Web框架-Spring MVC(主流),请点击查看课程 |
+
+
+ | JavaEE框架-Spring3(必会),请点击查看课程 |
+ 数据层ORM框架-Hibernate4(必会),请点击查看课程 |
+
+
+ | 数据层ORM框架-Spring Data JPA(主流),请点击查看课程 |
+ 数据层ORM框架-MyBatis(主流),该课程正在制作中,尽请期待 |
+
+
+ | Web前端技术-Ajax+JSON(必会),请点击查看课程 |
+ Web前端框架-Jquery(必会),请点击查看课程 |
+
+
+ | Web前端框架-Extjs(主流),该课程正在制作中,尽请期待 |
+ Web前端框架-Node.js(最新流行),该课程正在制作中,尽请期待 |
+
+
+ | Oracle数据库开发技术-PL/SQL(主流),请点击查看课程 |
+ 最棒的Java权限框架-Shiro(最新流行),请点击查看课程 |
+
+
+ | 工作流开发技术-JBPM4(主流),请点击查看课程 |
+ SSH+JBPM综合实战项目-某集团OA(强烈推荐),请点击查看课程 |
+
+
+ | Java方面还有很多很多的框架,可以上班用到再学,但是每个层次最少必会一个框架,这样不但能保证现在你能够上手开发实际的项目,在以后学新东西也会快很多。私塾在线会陆续推出更多精品课程,尽请期待!!! |
+
+
+ | Java开发实用技术,多数都是上班工作的人经常用到的(强烈建议大家每类至少会一个) |
+
+
+ | 项目管理和Make工具-Ant(老牌主流),请点击查看课程 |
+ 项目管理和Make工具-Maven(当前流行主流),请点击查看课程 |
+
+
+ | 单元测试工具-JUnit(绝对主流,开发人员必会),请点击查看课程 |
+ 日志工具- Log4j 和 Slf4j(绝对主流,开发人员必会),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Struts2注解(主流),请点击查看课程 |
+ 使用注解零配置提高开发速度-Spring3注解(主流),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Hibernate3注解(主流),请点击查看课程 |
+ 源代码版本管理工具-SVN(主流),该课程正在制作中,尽请期待 |
+
+
+ | 源代码版本管理工具-Git(主流),该课程正在制作中,尽请期待 |
+
+ 上还会用到很多其他的实用工具,可以用到再学,比如
+ 设计用到的工具、性能监控和调优工具、操作数据库的工具
+ 等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+ | JavaEE 应用服务器技术(最少必会一个) |
+
+
+ | 开源主流-Tomcat(必会),这个在JavaWeb开发课程中已经有了 |
+ 开源主流-JBoss(主流),该课程正在制作中,尽请期待 |
+
+
+ | 商用主流-Weblogic(绝对主流),请点击查看课程 |
+ 商用主流-WebSphere(主流),该课程正在制作中,尽请期待 |
+
+
+ |
+ 上还还可能会用到很多其他的应用服务器,可以用到再学,比如GoldFish等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+
+ | 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目 |
+
+
+
+ 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目。
+
+ 现在正在制作一个 完整的、实际项目的课程,从零开始做,一直到可交付的完整过程,预计要用时4个月到半年以上,尽请期待!
+ |
+
+
+
+ | 移动编程方向,有了前面的基础,就可以选择发展方向了 |
+
+
+ | Android开发方向-独家Android4就业经典(主流),请点击查看课程 |
+ Android开发方向-Android4项目实战--五子棋,请点击查看课程 |
+
+
+ | Android开发方向-Android4项目实战--freevoice(局域网对讲机),请点击查看课程 |
+ 更多Android开发系列课程正在制作中,尽请期待!!! |
+
+
+
+ |
+ IOS开发方向(主流),IOS开发系列课程正在制作中,尽请期待!!!
+ |
+
+
+ | 热门前沿技术,走在其他开发人员的前列,你就会更有竞争力,会更值钱! |
+
+
+ | 移动编程-HTML5开发(热门),请点击查看课程 |
+ 移动编程-HTML5项目实战(热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-Hadoop初级部分(最热门),请点击查看课程 |
+ 云计算开发系列-Hadoop中高级部分(最热门),请点击查看课程 |
+
+
+ | 云计算开发系列-Hive开发(最热门),请点击查看课程 |
+ 云计算开发系列-HBase开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-ZooKeeper开发(最热门),课程正在制作中,尽请期待! |
+ 云计算开发系列-Pig开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-综合应用项目实战(最热门),更多课程正在制作中,尽请期待!!! |
+
+
+ | 针对有经验的同志,技术深化提升,成为技术大牛! |
+
+
+ | 系统设计系列精品课程 |
+
+
+ | 跟着CC学设计系列精品课程-研磨设计模式(必会),请点击查看课程 |
+ 跟着CC学设计系列精品课程-设计模式高级实战项目,请点击查看课程,该课程已经开始进行企业级高端培训,尽请关注! |
+
+
+ | 跟着CC学设计系列精品课程-研磨企业级系统设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统设计方法学,教你如何进行系统的架构设计、模块设计、API设计、类设计、方法设计等,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-企业级应用系统架构设计项目实战,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-企业级应用系统设计方法学项目实战,课程正在制作中,尽请期待! |
+
+
+ | 数据库开发系列精品课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-海量数据库和高级SQL优化视频教程,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-Oracle性能优化,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-数据库基本原理和数据库设计实战,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握SQL开发,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握PL/SQL开发,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-千万级数据库开发设计综合实战项目,课程正在制作中,尽请期待! |
+
+
+
+
+
+
+
+
+
+
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
index 19d82a4bfb097622a5f3e93b41775ba0dae2d38c..b73c34be664e20b5b9c9b84e0090d4d90e0fd967 100644
--- "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
+++ "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
@@ -1,3 +1,246 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:488eabbbb815e902895944f2ccaddd6ed44af1362f7c5f7682e2cefb19274dfd
-size 15091
+ Java私塾祝你学业有成,早日实现心中梦想!Java私塾网址:http://javass.cn
+
+
+ Java私塾创立于2006年,七年来,帮助数千人实现了高薪就业,成就了他们的梦想,让他们拥有了美好的未来!
+
+ 并逐渐形成了自己独特的教学方法、教学理念和教育哲学。
+
+ 由于Java私塾一直非常低调,从不做广告和推广,完全依靠口碑生存和发展,所以很多朋友并不了解或是熟悉Java私塾。
+
+
+ 这里只想告诉你这么几个事实:
+
+ 1:Java私塾的老师的实力是最强的——保证你能学到真本领
+
+ 2:Java私塾的实际就业质量是最好的——轻松解决你的高薪就业的问题
+
+ 3:Java私塾的口碑是最好的——保证每一个在Java私塾学习的人都能有一个美好的前程
+
+
+ 多的不说了,因为在你们看来,谁家都说自己好,用事实说话吧!
+
+ 这些视频都是课堂实录的,老师讲得如何,听了你就知道了!你可以听到很多Java私塾独到的知识剖析、思路引导、学习方法......
+
+ 当然,更多的还是需要到现场来体会,老师对学员思路的引导,老师和学生的互动,老师对方法的示范,老师的旁征博引等等,这些都只有在现场才能感受到。
+
+
+ 完全现场实录,唯一的遗憾是声音不是太好,请海涵!
+
+
+ ********************************************************************
+
+
+Java学习路线图,请按照顺序学习,循序渐进
+
+ ********************************************************************
+
+
+
+
+
+ | 初级入门 到 Java基本开发 阶段(必会) |
+
+
+ | 1:Java视频培训教程初级课程(光盘里面有) |
+ 2:Java视频培训教程中级课程(光盘里面有) |
+
+
+ | 3:Java视频培训教程高级理论部分(光盘里面有) |
+ 4:Java视频培训教程高级项目部分(光盘里面有) |
+
+
+ | Java Web开发 阶段(必会) |
+
+
+ | 1:Web开发基础-XHTML(光盘里面有) |
+ 2:Web开发基础-CSS(光盘里面有) |
+
+
+ | 3:Web开发基础-XML(光盘里面有) |
+ 4:Web开发基础-Javascript(光盘里面有) |
+
+
+ | 5:Oracle数据库和Sql开发(光盘里面有) |
+ 6:J2EE入门经典(光盘里面有) |
+
+
+ | 7:Java Web开发(光盘里面有) |
+ 8:Java Web开发实战项目,《中国移动科技综合管理系统》请点击 |
+
+
+ | Java 框架开发 阶段(每个层次最少必会一个框架) |
+
+
+ | Web框架-Struts2(必会),请点击查看课程 |
+ Web框架-Spring MVC(主流),请点击查看课程 |
+
+
+ | JavaEE框架-Spring3(必会),请点击查看课程 |
+ 数据层ORM框架-Hibernate4(必会),请点击查看课程 |
+
+
+ | 数据层ORM框架-Spring Data JPA(主流),请点击查看课程 |
+ 数据层ORM框架-MyBatis(主流),该课程正在制作中,尽请期待 |
+
+
+ | Web前端技术-Ajax+JSON(必会),请点击查看课程 |
+ Web前端框架-Jquery(必会),请点击查看课程 |
+
+
+ | Web前端框架-Extjs(主流),该课程正在制作中,尽请期待 |
+ Web前端框架-Node.js(最新流行),该课程正在制作中,尽请期待 |
+
+
+ | Oracle数据库开发技术-PL/SQL(主流),请点击查看课程 |
+ 最棒的Java权限框架-Shiro(最新流行),请点击查看课程 |
+
+
+ | 工作流开发技术-JBPM4(主流),请点击查看课程 |
+ SSH+JBPM综合实战项目-某集团OA(强烈推荐),请点击查看课程 |
+
+
+ | Java方面还有很多很多的框架,可以上班用到再学,但是每个层次最少必会一个框架,这样不但能保证现在你能够上手开发实际的项目,在以后学新东西也会快很多。私塾在线会陆续推出更多精品课程,尽请期待!!! |
+
+
+ | Java开发实用技术,多数都是上班工作的人经常用到的(强烈建议大家每类至少会一个) |
+
+
+ | 项目管理和Make工具-Ant(老牌主流),请点击查看课程 |
+ 项目管理和Make工具-Maven(当前流行主流),请点击查看课程 |
+
+
+ | 单元测试工具-JUnit(绝对主流,开发人员必会),请点击查看课程 |
+ 日志工具- Log4j 和 Slf4j(绝对主流,开发人员必会),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Struts2注解(主流),请点击查看课程 |
+ 使用注解零配置提高开发速度-Spring3注解(主流),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Hibernate3注解(主流),请点击查看课程 |
+ 源代码版本管理工具-SVN(主流),该课程正在制作中,尽请期待 |
+
+
+ | 源代码版本管理工具-Git(主流),该课程正在制作中,尽请期待 |
+
+ 上还会用到很多其他的实用工具,可以用到再学,比如
+ 设计用到的工具、性能监控和调优工具、操作数据库的工具
+ 等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+ | JavaEE 应用服务器技术(最少必会一个) |
+
+
+ | 开源主流-Tomcat(必会),这个在JavaWeb开发课程中已经有了 |
+ 开源主流-JBoss(主流),该课程正在制作中,尽请期待 |
+
+
+ | 商用主流-Weblogic(绝对主流),请点击查看课程 |
+ 商用主流-WebSphere(主流),该课程正在制作中,尽请期待 |
+
+
+ |
+ 上还还可能会用到很多其他的应用服务器,可以用到再学,比如GoldFish等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+
+ | 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目 |
+
+
+
+ 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目。
+
+ 现在正在制作一个 完整的、实际项目的课程,从零开始做,一直到可交付的完整过程,预计要用时4个月到半年以上,尽请期待!
+ |
+
+
+
+ | 移动编程方向,有了前面的基础,就可以选择发展方向了 |
+
+
+ | Android开发方向-独家Android4就业经典(主流),请点击查看课程 |
+ Android开发方向-Android4项目实战--五子棋,请点击查看课程 |
+
+
+ | Android开发方向-Android4项目实战--freevoice(局域网对讲机),请点击查看课程 |
+ 更多Android开发系列课程正在制作中,尽请期待!!! |
+
+
+
+ |
+ IOS开发方向(主流),IOS开发系列课程正在制作中,尽请期待!!!
+ |
+
+
+ | 热门前沿技术,走在其他开发人员的前列,你就会更有竞争力,会更值钱! |
+
+
+ | 移动编程-HTML5开发(热门),请点击查看课程 |
+ 移动编程-HTML5项目实战(热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-Hadoop初级部分(最热门),请点击查看课程 |
+ 云计算开发系列-Hadoop中高级部分(最热门),请点击查看课程 |
+
+
+ | 云计算开发系列-Hive开发(最热门),请点击查看课程 |
+ 云计算开发系列-HBase开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-ZooKeeper开发(最热门),课程正在制作中,尽请期待! |
+ 云计算开发系列-Pig开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-综合应用项目实战(最热门),更多课程正在制作中,尽请期待!!! |
+
+
+ | 针对有经验的同志,技术深化提升,成为技术大牛! |
+
+
+ | 系统设计系列精品课程 |
+
+
+ | 跟着CC学设计系列精品课程-研磨设计模式(必会),请点击查看课程 |
+ 跟着CC学设计系列精品课程-设计模式高级实战项目,请点击查看课程,该课程已经开始进行企业级高端培训,尽请关注! |
+
+
+ | 跟着CC学设计系列精品课程-研磨企业级系统设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统设计方法学,教你如何进行系统的架构设计、模块设计、API设计、类设计、方法设计等,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-企业级应用系统架构设计项目实战,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-企业级应用系统设计方法学项目实战,课程正在制作中,尽请期待! |
+
+
+ | 数据库开发系列精品课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-海量数据库和高级SQL优化视频教程,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-Oracle性能优化,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-数据库基本原理和数据库设计实战,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握SQL开发,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握PL/SQL开发,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-千万级数据库开发设计综合实战项目,课程正在制作中,尽请期待! |
+
+
+
+
+
+
+
+
+
+
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar"
index 34b00e7d5a559ddcf5da2c1c29b3b4d9928f5e26..a0080cf1b1eb174bbf9afc535671bcf60179286b 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\351\241\271\347\233\256\357\274\210\346\250\241\346\213\237\351\223\266\350\241\214\347\263\273\347\273\237\357\274\211\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\351\241\271\347\233\256\357\274\210\346\250\241\346\213\237\351\223\266\350\241\214\347\263\273\347\273\237\357\274\211\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
index 19d82a4bfb097622a5f3e93b41775ba0dae2d38c..b73c34be664e20b5b9c9b84e0090d4d90e0fd967 100644
--- "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\351\241\271\347\233\256\357\274\210\346\250\241\346\213\237\351\223\266\350\241\214\347\263\273\347\273\237\357\274\211\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
+++ "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\351\241\271\347\233\256\357\274\210\346\250\241\346\213\237\351\223\266\350\241\214\347\263\273\347\273\237\357\274\211\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
@@ -1,3 +1,246 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:488eabbbb815e902895944f2ccaddd6ed44af1362f7c5f7682e2cefb19274dfd
-size 15091
+ Java私塾祝你学业有成,早日实现心中梦想!Java私塾网址:http://javass.cn
+
+
+ Java私塾创立于2006年,七年来,帮助数千人实现了高薪就业,成就了他们的梦想,让他们拥有了美好的未来!
+
+ 并逐渐形成了自己独特的教学方法、教学理念和教育哲学。
+
+ 由于Java私塾一直非常低调,从不做广告和推广,完全依靠口碑生存和发展,所以很多朋友并不了解或是熟悉Java私塾。
+
+
+ 这里只想告诉你这么几个事实:
+
+ 1:Java私塾的老师的实力是最强的——保证你能学到真本领
+
+ 2:Java私塾的实际就业质量是最好的——轻松解决你的高薪就业的问题
+
+ 3:Java私塾的口碑是最好的——保证每一个在Java私塾学习的人都能有一个美好的前程
+
+
+ 多的不说了,因为在你们看来,谁家都说自己好,用事实说话吧!
+
+ 这些视频都是课堂实录的,老师讲得如何,听了你就知道了!你可以听到很多Java私塾独到的知识剖析、思路引导、学习方法......
+
+ 当然,更多的还是需要到现场来体会,老师对学员思路的引导,老师和学生的互动,老师对方法的示范,老师的旁征博引等等,这些都只有在现场才能感受到。
+
+
+ 完全现场实录,唯一的遗憾是声音不是太好,请海涵!
+
+
+ ********************************************************************
+
+
+Java学习路线图,请按照顺序学习,循序渐进
+
+ ********************************************************************
+
+
+
+
+
+ | 初级入门 到 Java基本开发 阶段(必会) |
+
+
+ | 1:Java视频培训教程初级课程(光盘里面有) |
+ 2:Java视频培训教程中级课程(光盘里面有) |
+
+
+ | 3:Java视频培训教程高级理论部分(光盘里面有) |
+ 4:Java视频培训教程高级项目部分(光盘里面有) |
+
+
+ | Java Web开发 阶段(必会) |
+
+
+ | 1:Web开发基础-XHTML(光盘里面有) |
+ 2:Web开发基础-CSS(光盘里面有) |
+
+
+ | 3:Web开发基础-XML(光盘里面有) |
+ 4:Web开发基础-Javascript(光盘里面有) |
+
+
+ | 5:Oracle数据库和Sql开发(光盘里面有) |
+ 6:J2EE入门经典(光盘里面有) |
+
+
+ | 7:Java Web开发(光盘里面有) |
+ 8:Java Web开发实战项目,《中国移动科技综合管理系统》请点击 |
+
+
+ | Java 框架开发 阶段(每个层次最少必会一个框架) |
+
+
+ | Web框架-Struts2(必会),请点击查看课程 |
+ Web框架-Spring MVC(主流),请点击查看课程 |
+
+
+ | JavaEE框架-Spring3(必会),请点击查看课程 |
+ 数据层ORM框架-Hibernate4(必会),请点击查看课程 |
+
+
+ | 数据层ORM框架-Spring Data JPA(主流),请点击查看课程 |
+ 数据层ORM框架-MyBatis(主流),该课程正在制作中,尽请期待 |
+
+
+ | Web前端技术-Ajax+JSON(必会),请点击查看课程 |
+ Web前端框架-Jquery(必会),请点击查看课程 |
+
+
+ | Web前端框架-Extjs(主流),该课程正在制作中,尽请期待 |
+ Web前端框架-Node.js(最新流行),该课程正在制作中,尽请期待 |
+
+
+ | Oracle数据库开发技术-PL/SQL(主流),请点击查看课程 |
+ 最棒的Java权限框架-Shiro(最新流行),请点击查看课程 |
+
+
+ | 工作流开发技术-JBPM4(主流),请点击查看课程 |
+ SSH+JBPM综合实战项目-某集团OA(强烈推荐),请点击查看课程 |
+
+
+ | Java方面还有很多很多的框架,可以上班用到再学,但是每个层次最少必会一个框架,这样不但能保证现在你能够上手开发实际的项目,在以后学新东西也会快很多。私塾在线会陆续推出更多精品课程,尽请期待!!! |
+
+
+ | Java开发实用技术,多数都是上班工作的人经常用到的(强烈建议大家每类至少会一个) |
+
+
+ | 项目管理和Make工具-Ant(老牌主流),请点击查看课程 |
+ 项目管理和Make工具-Maven(当前流行主流),请点击查看课程 |
+
+
+ | 单元测试工具-JUnit(绝对主流,开发人员必会),请点击查看课程 |
+ 日志工具- Log4j 和 Slf4j(绝对主流,开发人员必会),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Struts2注解(主流),请点击查看课程 |
+ 使用注解零配置提高开发速度-Spring3注解(主流),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Hibernate3注解(主流),请点击查看课程 |
+ 源代码版本管理工具-SVN(主流),该课程正在制作中,尽请期待 |
+
+
+ | 源代码版本管理工具-Git(主流),该课程正在制作中,尽请期待 |
+
+ 上还会用到很多其他的实用工具,可以用到再学,比如
+ 设计用到的工具、性能监控和调优工具、操作数据库的工具
+ 等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+ | JavaEE 应用服务器技术(最少必会一个) |
+
+
+ | 开源主流-Tomcat(必会),这个在JavaWeb开发课程中已经有了 |
+ 开源主流-JBoss(主流),该课程正在制作中,尽请期待 |
+
+
+ | 商用主流-Weblogic(绝对主流),请点击查看课程 |
+ 商用主流-WebSphere(主流),该课程正在制作中,尽请期待 |
+
+
+ |
+ 上还还可能会用到很多其他的应用服务器,可以用到再学,比如GoldFish等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+
+ | 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目 |
+
+
+
+ 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目。
+
+ 现在正在制作一个 完整的、实际项目的课程,从零开始做,一直到可交付的完整过程,预计要用时4个月到半年以上,尽请期待!
+ |
+
+
+
+ | 移动编程方向,有了前面的基础,就可以选择发展方向了 |
+
+
+ | Android开发方向-独家Android4就业经典(主流),请点击查看课程 |
+ Android开发方向-Android4项目实战--五子棋,请点击查看课程 |
+
+
+ | Android开发方向-Android4项目实战--freevoice(局域网对讲机),请点击查看课程 |
+ 更多Android开发系列课程正在制作中,尽请期待!!! |
+
+
+
+ |
+ IOS开发方向(主流),IOS开发系列课程正在制作中,尽请期待!!!
+ |
+
+
+ | 热门前沿技术,走在其他开发人员的前列,你就会更有竞争力,会更值钱! |
+
+
+ | 移动编程-HTML5开发(热门),请点击查看课程 |
+ 移动编程-HTML5项目实战(热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-Hadoop初级部分(最热门),请点击查看课程 |
+ 云计算开发系列-Hadoop中高级部分(最热门),请点击查看课程 |
+
+
+ | 云计算开发系列-Hive开发(最热门),请点击查看课程 |
+ 云计算开发系列-HBase开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-ZooKeeper开发(最热门),课程正在制作中,尽请期待! |
+ 云计算开发系列-Pig开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-综合应用项目实战(最热门),更多课程正在制作中,尽请期待!!! |
+
+
+ | 针对有经验的同志,技术深化提升,成为技术大牛! |
+
+
+ | 系统设计系列精品课程 |
+
+
+ | 跟着CC学设计系列精品课程-研磨设计模式(必会),请点击查看课程 |
+ 跟着CC学设计系列精品课程-设计模式高级实战项目,请点击查看课程,该课程已经开始进行企业级高端培训,尽请关注! |
+
+
+ | 跟着CC学设计系列精品课程-研磨企业级系统设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统设计方法学,教你如何进行系统的架构设计、模块设计、API设计、类设计、方法设计等,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-企业级应用系统架构设计项目实战,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-企业级应用系统设计方法学项目实战,课程正在制作中,尽请期待! |
+
+
+ | 数据库开发系列精品课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-海量数据库和高级SQL优化视频教程,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-Oracle性能优化,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-数据库基本原理和数据库设计实战,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握SQL开发,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握PL/SQL开发,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-千万级数据库开发设计综合实战项目,课程正在制作中,尽请期待! |
+
+
+
+
+
+
+
+
+
+
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\351\241\271\347\233\256\357\274\210\346\250\241\346\213\237\351\223\266\350\241\214\347\263\273\347\273\237\357\274\211\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT.rar" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\351\241\271\347\233\256\357\274\210\346\250\241\346\213\237\351\223\266\350\241\214\347\263\273\347\273\237\357\274\211\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT.rar"
index 51bde16af6e86d93de1323e24a0a9b681e49ef7d..e36dbe5610a9400c60309028d97dc88be09fe653 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\351\241\271\347\233\256\357\274\210\346\250\241\346\213\237\351\223\266\350\241\214\347\263\273\347\273\237\357\274\211\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT.rar" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\351\241\271\347\233\256\357\274\210\346\250\241\346\213\237\351\223\266\350\241\214\347\263\273\347\273\237\357\274\211\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT.rar" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\351\241\271\347\233\256\357\274\210\346\250\241\346\213\237\351\223\266\350\241\214\347\263\273\347\273\237\357\274\211\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\351\241\271\347\233\256\357\274\210\346\250\241\346\213\237\351\223\266\350\241\214\347\263\273\347\273\237\357\274\211\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar"
index a7a884c02182bd4a4561df8b51009c4749f1338c..146b71efa17807b02e5d5726f9a97b89c459a6fa 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\351\241\271\347\233\256\357\274\210\346\250\241\346\213\237\351\223\266\350\241\214\347\263\273\347\273\237\357\274\211\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\345\210\235\347\272\247\351\241\271\347\233\256\357\274\210\346\250\241\346\213\237\351\223\266\350\241\214\347\263\273\347\273\237\357\274\211\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
index 19d82a4bfb097622a5f3e93b41775ba0dae2d38c..b73c34be664e20b5b9c9b84e0090d4d90e0fd967 100644
--- "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
+++ "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
@@ -1,3 +1,246 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:488eabbbb815e902895944f2ccaddd6ed44af1362f7c5f7682e2cefb19274dfd
-size 15091
+ Java私塾祝你学业有成,早日实现心中梦想!Java私塾网址:http://javass.cn
+
+
+ Java私塾创立于2006年,七年来,帮助数千人实现了高薪就业,成就了他们的梦想,让他们拥有了美好的未来!
+
+ 并逐渐形成了自己独特的教学方法、教学理念和教育哲学。
+
+ 由于Java私塾一直非常低调,从不做广告和推广,完全依靠口碑生存和发展,所以很多朋友并不了解或是熟悉Java私塾。
+
+
+ 这里只想告诉你这么几个事实:
+
+ 1:Java私塾的老师的实力是最强的——保证你能学到真本领
+
+ 2:Java私塾的实际就业质量是最好的——轻松解决你的高薪就业的问题
+
+ 3:Java私塾的口碑是最好的——保证每一个在Java私塾学习的人都能有一个美好的前程
+
+
+ 多的不说了,因为在你们看来,谁家都说自己好,用事实说话吧!
+
+ 这些视频都是课堂实录的,老师讲得如何,听了你就知道了!你可以听到很多Java私塾独到的知识剖析、思路引导、学习方法......
+
+ 当然,更多的还是需要到现场来体会,老师对学员思路的引导,老师和学生的互动,老师对方法的示范,老师的旁征博引等等,这些都只有在现场才能感受到。
+
+
+ 完全现场实录,唯一的遗憾是声音不是太好,请海涵!
+
+
+ ********************************************************************
+
+
+Java学习路线图,请按照顺序学习,循序渐进
+
+ ********************************************************************
+
+
+
+
+
+ | 初级入门 到 Java基本开发 阶段(必会) |
+
+
+ | 1:Java视频培训教程初级课程(光盘里面有) |
+ 2:Java视频培训教程中级课程(光盘里面有) |
+
+
+ | 3:Java视频培训教程高级理论部分(光盘里面有) |
+ 4:Java视频培训教程高级项目部分(光盘里面有) |
+
+
+ | Java Web开发 阶段(必会) |
+
+
+ | 1:Web开发基础-XHTML(光盘里面有) |
+ 2:Web开发基础-CSS(光盘里面有) |
+
+
+ | 3:Web开发基础-XML(光盘里面有) |
+ 4:Web开发基础-Javascript(光盘里面有) |
+
+
+ | 5:Oracle数据库和Sql开发(光盘里面有) |
+ 6:J2EE入门经典(光盘里面有) |
+
+
+ | 7:Java Web开发(光盘里面有) |
+ 8:Java Web开发实战项目,《中国移动科技综合管理系统》请点击 |
+
+
+ | Java 框架开发 阶段(每个层次最少必会一个框架) |
+
+
+ | Web框架-Struts2(必会),请点击查看课程 |
+ Web框架-Spring MVC(主流),请点击查看课程 |
+
+
+ | JavaEE框架-Spring3(必会),请点击查看课程 |
+ 数据层ORM框架-Hibernate4(必会),请点击查看课程 |
+
+
+ | 数据层ORM框架-Spring Data JPA(主流),请点击查看课程 |
+ 数据层ORM框架-MyBatis(主流),该课程正在制作中,尽请期待 |
+
+
+ | Web前端技术-Ajax+JSON(必会),请点击查看课程 |
+ Web前端框架-Jquery(必会),请点击查看课程 |
+
+
+ | Web前端框架-Extjs(主流),该课程正在制作中,尽请期待 |
+ Web前端框架-Node.js(最新流行),该课程正在制作中,尽请期待 |
+
+
+ | Oracle数据库开发技术-PL/SQL(主流),请点击查看课程 |
+ 最棒的Java权限框架-Shiro(最新流行),请点击查看课程 |
+
+
+ | 工作流开发技术-JBPM4(主流),请点击查看课程 |
+ SSH+JBPM综合实战项目-某集团OA(强烈推荐),请点击查看课程 |
+
+
+ | Java方面还有很多很多的框架,可以上班用到再学,但是每个层次最少必会一个框架,这样不但能保证现在你能够上手开发实际的项目,在以后学新东西也会快很多。私塾在线会陆续推出更多精品课程,尽请期待!!! |
+
+
+ | Java开发实用技术,多数都是上班工作的人经常用到的(强烈建议大家每类至少会一个) |
+
+
+ | 项目管理和Make工具-Ant(老牌主流),请点击查看课程 |
+ 项目管理和Make工具-Maven(当前流行主流),请点击查看课程 |
+
+
+ | 单元测试工具-JUnit(绝对主流,开发人员必会),请点击查看课程 |
+ 日志工具- Log4j 和 Slf4j(绝对主流,开发人员必会),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Struts2注解(主流),请点击查看课程 |
+ 使用注解零配置提高开发速度-Spring3注解(主流),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Hibernate3注解(主流),请点击查看课程 |
+ 源代码版本管理工具-SVN(主流),该课程正在制作中,尽请期待 |
+
+
+ | 源代码版本管理工具-Git(主流),该课程正在制作中,尽请期待 |
+
+ 上还会用到很多其他的实用工具,可以用到再学,比如
+ 设计用到的工具、性能监控和调优工具、操作数据库的工具
+ 等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+ | JavaEE 应用服务器技术(最少必会一个) |
+
+
+ | 开源主流-Tomcat(必会),这个在JavaWeb开发课程中已经有了 |
+ 开源主流-JBoss(主流),该课程正在制作中,尽请期待 |
+
+
+ | 商用主流-Weblogic(绝对主流),请点击查看课程 |
+ 商用主流-WebSphere(主流),该课程正在制作中,尽请期待 |
+
+
+ |
+ 上还还可能会用到很多其他的应用服务器,可以用到再学,比如GoldFish等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+
+ | 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目 |
+
+
+
+ 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目。
+
+ 现在正在制作一个 完整的、实际项目的课程,从零开始做,一直到可交付的完整过程,预计要用时4个月到半年以上,尽请期待!
+ |
+
+
+
+ | 移动编程方向,有了前面的基础,就可以选择发展方向了 |
+
+
+ | Android开发方向-独家Android4就业经典(主流),请点击查看课程 |
+ Android开发方向-Android4项目实战--五子棋,请点击查看课程 |
+
+
+ | Android开发方向-Android4项目实战--freevoice(局域网对讲机),请点击查看课程 |
+ 更多Android开发系列课程正在制作中,尽请期待!!! |
+
+
+
+ |
+ IOS开发方向(主流),IOS开发系列课程正在制作中,尽请期待!!!
+ |
+
+
+ | 热门前沿技术,走在其他开发人员的前列,你就会更有竞争力,会更值钱! |
+
+
+ | 移动编程-HTML5开发(热门),请点击查看课程 |
+ 移动编程-HTML5项目实战(热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-Hadoop初级部分(最热门),请点击查看课程 |
+ 云计算开发系列-Hadoop中高级部分(最热门),请点击查看课程 |
+
+
+ | 云计算开发系列-Hive开发(最热门),请点击查看课程 |
+ 云计算开发系列-HBase开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-ZooKeeper开发(最热门),课程正在制作中,尽请期待! |
+ 云计算开发系列-Pig开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-综合应用项目实战(最热门),更多课程正在制作中,尽请期待!!! |
+
+
+ | 针对有经验的同志,技术深化提升,成为技术大牛! |
+
+
+ | 系统设计系列精品课程 |
+
+
+ | 跟着CC学设计系列精品课程-研磨设计模式(必会),请点击查看课程 |
+ 跟着CC学设计系列精品课程-设计模式高级实战项目,请点击查看课程,该课程已经开始进行企业级高端培训,尽请关注! |
+
+
+ | 跟着CC学设计系列精品课程-研磨企业级系统设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统设计方法学,教你如何进行系统的架构设计、模块设计、API设计、类设计、方法设计等,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-企业级应用系统架构设计项目实战,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-企业级应用系统设计方法学项目实战,课程正在制作中,尽请期待! |
+
+
+ | 数据库开发系列精品课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-海量数据库和高级SQL优化视频教程,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-Oracle性能优化,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-数据库基本原理和数据库设计实战,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握SQL开发,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握PL/SQL开发,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-千万级数据库开发设计综合实战项目,课程正在制作中,尽请期待! |
+
+
+
+
+
+
+
+
+
+
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
index 19d82a4bfb097622a5f3e93b41775ba0dae2d38c..b73c34be664e20b5b9c9b84e0090d4d90e0fd967 100644
--- "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
+++ "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
@@ -1,3 +1,246 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:488eabbbb815e902895944f2ccaddd6ed44af1362f7c5f7682e2cefb19274dfd
-size 15091
+ Java私塾祝你学业有成,早日实现心中梦想!Java私塾网址:http://javass.cn
+
+
+ Java私塾创立于2006年,七年来,帮助数千人实现了高薪就业,成就了他们的梦想,让他们拥有了美好的未来!
+
+ 并逐渐形成了自己独特的教学方法、教学理念和教育哲学。
+
+ 由于Java私塾一直非常低调,从不做广告和推广,完全依靠口碑生存和发展,所以很多朋友并不了解或是熟悉Java私塾。
+
+
+ 这里只想告诉你这么几个事实:
+
+ 1:Java私塾的老师的实力是最强的——保证你能学到真本领
+
+ 2:Java私塾的实际就业质量是最好的——轻松解决你的高薪就业的问题
+
+ 3:Java私塾的口碑是最好的——保证每一个在Java私塾学习的人都能有一个美好的前程
+
+
+ 多的不说了,因为在你们看来,谁家都说自己好,用事实说话吧!
+
+ 这些视频都是课堂实录的,老师讲得如何,听了你就知道了!你可以听到很多Java私塾独到的知识剖析、思路引导、学习方法......
+
+ 当然,更多的还是需要到现场来体会,老师对学员思路的引导,老师和学生的互动,老师对方法的示范,老师的旁征博引等等,这些都只有在现场才能感受到。
+
+
+ 完全现场实录,唯一的遗憾是声音不是太好,请海涵!
+
+
+ ********************************************************************
+
+
+Java学习路线图,请按照顺序学习,循序渐进
+
+ ********************************************************************
+
+
+
+
+
+ | 初级入门 到 Java基本开发 阶段(必会) |
+
+
+ | 1:Java视频培训教程初级课程(光盘里面有) |
+ 2:Java视频培训教程中级课程(光盘里面有) |
+
+
+ | 3:Java视频培训教程高级理论部分(光盘里面有) |
+ 4:Java视频培训教程高级项目部分(光盘里面有) |
+
+
+ | Java Web开发 阶段(必会) |
+
+
+ | 1:Web开发基础-XHTML(光盘里面有) |
+ 2:Web开发基础-CSS(光盘里面有) |
+
+
+ | 3:Web开发基础-XML(光盘里面有) |
+ 4:Web开发基础-Javascript(光盘里面有) |
+
+
+ | 5:Oracle数据库和Sql开发(光盘里面有) |
+ 6:J2EE入门经典(光盘里面有) |
+
+
+ | 7:Java Web开发(光盘里面有) |
+ 8:Java Web开发实战项目,《中国移动科技综合管理系统》请点击 |
+
+
+ | Java 框架开发 阶段(每个层次最少必会一个框架) |
+
+
+ | Web框架-Struts2(必会),请点击查看课程 |
+ Web框架-Spring MVC(主流),请点击查看课程 |
+
+
+ | JavaEE框架-Spring3(必会),请点击查看课程 |
+ 数据层ORM框架-Hibernate4(必会),请点击查看课程 |
+
+
+ | 数据层ORM框架-Spring Data JPA(主流),请点击查看课程 |
+ 数据层ORM框架-MyBatis(主流),该课程正在制作中,尽请期待 |
+
+
+ | Web前端技术-Ajax+JSON(必会),请点击查看课程 |
+ Web前端框架-Jquery(必会),请点击查看课程 |
+
+
+ | Web前端框架-Extjs(主流),该课程正在制作中,尽请期待 |
+ Web前端框架-Node.js(最新流行),该课程正在制作中,尽请期待 |
+
+
+ | Oracle数据库开发技术-PL/SQL(主流),请点击查看课程 |
+ 最棒的Java权限框架-Shiro(最新流行),请点击查看课程 |
+
+
+ | 工作流开发技术-JBPM4(主流),请点击查看课程 |
+ SSH+JBPM综合实战项目-某集团OA(强烈推荐),请点击查看课程 |
+
+
+ | Java方面还有很多很多的框架,可以上班用到再学,但是每个层次最少必会一个框架,这样不但能保证现在你能够上手开发实际的项目,在以后学新东西也会快很多。私塾在线会陆续推出更多精品课程,尽请期待!!! |
+
+
+ | Java开发实用技术,多数都是上班工作的人经常用到的(强烈建议大家每类至少会一个) |
+
+
+ | 项目管理和Make工具-Ant(老牌主流),请点击查看课程 |
+ 项目管理和Make工具-Maven(当前流行主流),请点击查看课程 |
+
+
+ | 单元测试工具-JUnit(绝对主流,开发人员必会),请点击查看课程 |
+ 日志工具- Log4j 和 Slf4j(绝对主流,开发人员必会),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Struts2注解(主流),请点击查看课程 |
+ 使用注解零配置提高开发速度-Spring3注解(主流),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Hibernate3注解(主流),请点击查看课程 |
+ 源代码版本管理工具-SVN(主流),该课程正在制作中,尽请期待 |
+
+
+ | 源代码版本管理工具-Git(主流),该课程正在制作中,尽请期待 |
+
+ 上还会用到很多其他的实用工具,可以用到再学,比如
+ 设计用到的工具、性能监控和调优工具、操作数据库的工具
+ 等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+ | JavaEE 应用服务器技术(最少必会一个) |
+
+
+ | 开源主流-Tomcat(必会),这个在JavaWeb开发课程中已经有了 |
+ 开源主流-JBoss(主流),该课程正在制作中,尽请期待 |
+
+
+ | 商用主流-Weblogic(绝对主流),请点击查看课程 |
+ 商用主流-WebSphere(主流),该课程正在制作中,尽请期待 |
+
+
+ |
+ 上还还可能会用到很多其他的应用服务器,可以用到再学,比如GoldFish等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+
+ | 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目 |
+
+
+
+ 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目。
+
+ 现在正在制作一个 完整的、实际项目的课程,从零开始做,一直到可交付的完整过程,预计要用时4个月到半年以上,尽请期待!
+ |
+
+
+
+ | 移动编程方向,有了前面的基础,就可以选择发展方向了 |
+
+
+ | Android开发方向-独家Android4就业经典(主流),请点击查看课程 |
+ Android开发方向-Android4项目实战--五子棋,请点击查看课程 |
+
+
+ | Android开发方向-Android4项目实战--freevoice(局域网对讲机),请点击查看课程 |
+ 更多Android开发系列课程正在制作中,尽请期待!!! |
+
+
+
+ |
+ IOS开发方向(主流),IOS开发系列课程正在制作中,尽请期待!!!
+ |
+
+
+ | 热门前沿技术,走在其他开发人员的前列,你就会更有竞争力,会更值钱! |
+
+
+ | 移动编程-HTML5开发(热门),请点击查看课程 |
+ 移动编程-HTML5项目实战(热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-Hadoop初级部分(最热门),请点击查看课程 |
+ 云计算开发系列-Hadoop中高级部分(最热门),请点击查看课程 |
+
+
+ | 云计算开发系列-Hive开发(最热门),请点击查看课程 |
+ 云计算开发系列-HBase开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-ZooKeeper开发(最热门),课程正在制作中,尽请期待! |
+ 云计算开发系列-Pig开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-综合应用项目实战(最热门),更多课程正在制作中,尽请期待!!! |
+
+
+ | 针对有经验的同志,技术深化提升,成为技术大牛! |
+
+
+ | 系统设计系列精品课程 |
+
+
+ | 跟着CC学设计系列精品课程-研磨设计模式(必会),请点击查看课程 |
+ 跟着CC学设计系列精品课程-设计模式高级实战项目,请点击查看课程,该课程已经开始进行企业级高端培训,尽请关注! |
+
+
+ | 跟着CC学设计系列精品课程-研磨企业级系统设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统设计方法学,教你如何进行系统的架构设计、模块设计、API设计、类设计、方法设计等,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-企业级应用系统架构设计项目实战,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-企业级应用系统设计方法学项目实战,课程正在制作中,尽请期待! |
+
+
+ | 数据库开发系列精品课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-海量数据库和高级SQL优化视频教程,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-Oracle性能优化,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-数据库基本原理和数据库设计实战,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握SQL开发,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握PL/SQL开发,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-千万级数据库开发设计综合实战项目,课程正在制作中,尽请期待! |
+
+
+
+
+
+
+
+
+
+
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20710.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20710.GIF"
index 8398e6e4480cbfaefe57670518a1804d54427719..e156e61d5d441f9db2afeca397e0493132334077 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20710.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20710.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20711.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20711.GIF"
index d94889724002b80231a62c8861b0ee70d31b4cb7..d3b8aff2240916b5282675be856b1b59fd74e768 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20711.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20711.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20712.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20712.GIF"
index 0a32d5083e8474d3059e54fa5d6c664da72667d9..85395fcd1f4fecbb4cbb536cdea9ba3fb1815570 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20712.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20712.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20713.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20713.GIF"
index a9494f6c13ca48d5716b81c98e8060889cf82995..255c39a86902b254ecbe9432994b173b53382158 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20713.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20713.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20714.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20714.GIF"
index 825ec3a287ca777d2175e80cb7a9ace43c60b30a..857f9c7e30d9bca0af3b8b0dbfc73f11a3b16d87 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20714.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20714.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20715.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20715.GIF"
index 8751adc9f4583ed84fa35e26b4ca52496c63104f..53d26facb27371267eeb58f155e27e9b4ac843e8 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20715.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20715.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20716.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20716.GIF"
index f7b53a7bdde287a9755aaf72d8ba48d6dad30cfc..ad601c4e5ae28018ba14dde0f2f4d64ea0268624 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20716.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\20716.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2072.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2072.GIF"
index 4b9717950dfe27557a5513095d01018d7ebbbf64..7caa96fa0dac2f02f6e48fab567d76ffa69af7bc 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2072.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2072.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2073.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2073.GIF"
index f272554c032c9c3f84f8115baef81b59a2b11506..f390b6593b94093e7df80ebc655e9a01868f397c 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2073.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2073.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2074.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2074.GIF"
index cb6669ffacc37c43cc3ff7851d38eaa57b95baf3..9c2cc4cc7865f3a62d28ca39f011c9d5071973b3 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2074.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2074.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2075.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2075.GIF"
index e906c4f73ba16cb124c8bdc91a14a9b9b730054b..7ea9f58c878462e33ce2659915c8242c97c82676 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2075.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2075.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2076.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2076.GIF"
index 05bf63aebf611276708c45080e6b38315676dcba..fcaf4bc2fa5440c2f1b60498aac9cdda3e10de04 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2076.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2076.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2077.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2077.GIF"
index 76ae221b2fdabf0e33f22547490744a446e9c77a..e18a56e836b8a22ec7e45983f1e21f335774cd4d 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2077.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2077.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2078.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2078.GIF"
index 029f1c748aa23399aa7f891abba9b7681193a698..543f7700f67fd570bf49be4059ea6609f5614c1b 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2078.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2078.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2079.GIF" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2079.GIF"
index 860fe39cd60f7df8cc6a8137ed7d8311318cce26..e6573c03f20a27d6acef649c2c4a62d15a4597c1 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2079.GIF" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\350\257\276\345\240\202\350\256\262\350\247\243PPT/\345\271\273\347\201\257\347\211\2079.GIF" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar"
index de0816dafa5214b06f9977990cb84f63624873ed..ee2603d3fc5b154a3b803e98f1880d1e4a2ef3e8 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\241\271\347\233\256\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\253\230\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\253\230\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
index 19d82a4bfb097622a5f3e93b41775ba0dae2d38c..b73c34be664e20b5b9c9b84e0090d4d90e0fd967 100644
--- "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\253\230\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
+++ "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\253\230\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
@@ -1,3 +1,246 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:488eabbbb815e902895944f2ccaddd6ed44af1362f7c5f7682e2cefb19274dfd
-size 15091
+ Java私塾祝你学业有成,早日实现心中梦想!Java私塾网址:http://javass.cn
+
+
+ Java私塾创立于2006年,七年来,帮助数千人实现了高薪就业,成就了他们的梦想,让他们拥有了美好的未来!
+
+ 并逐渐形成了自己独特的教学方法、教学理念和教育哲学。
+
+ 由于Java私塾一直非常低调,从不做广告和推广,完全依靠口碑生存和发展,所以很多朋友并不了解或是熟悉Java私塾。
+
+
+ 这里只想告诉你这么几个事实:
+
+ 1:Java私塾的老师的实力是最强的——保证你能学到真本领
+
+ 2:Java私塾的实际就业质量是最好的——轻松解决你的高薪就业的问题
+
+ 3:Java私塾的口碑是最好的——保证每一个在Java私塾学习的人都能有一个美好的前程
+
+
+ 多的不说了,因为在你们看来,谁家都说自己好,用事实说话吧!
+
+ 这些视频都是课堂实录的,老师讲得如何,听了你就知道了!你可以听到很多Java私塾独到的知识剖析、思路引导、学习方法......
+
+ 当然,更多的还是需要到现场来体会,老师对学员思路的引导,老师和学生的互动,老师对方法的示范,老师的旁征博引等等,这些都只有在现场才能感受到。
+
+
+ 完全现场实录,唯一的遗憾是声音不是太好,请海涵!
+
+
+ ********************************************************************
+
+
+Java学习路线图,请按照顺序学习,循序渐进
+
+ ********************************************************************
+
+
+
+
+
+ | 初级入门 到 Java基本开发 阶段(必会) |
+
+
+ | 1:Java视频培训教程初级课程(光盘里面有) |
+ 2:Java视频培训教程中级课程(光盘里面有) |
+
+
+ | 3:Java视频培训教程高级理论部分(光盘里面有) |
+ 4:Java视频培训教程高级项目部分(光盘里面有) |
+
+
+ | Java Web开发 阶段(必会) |
+
+
+ | 1:Web开发基础-XHTML(光盘里面有) |
+ 2:Web开发基础-CSS(光盘里面有) |
+
+
+ | 3:Web开发基础-XML(光盘里面有) |
+ 4:Web开发基础-Javascript(光盘里面有) |
+
+
+ | 5:Oracle数据库和Sql开发(光盘里面有) |
+ 6:J2EE入门经典(光盘里面有) |
+
+
+ | 7:Java Web开发(光盘里面有) |
+ 8:Java Web开发实战项目,《中国移动科技综合管理系统》请点击 |
+
+
+ | Java 框架开发 阶段(每个层次最少必会一个框架) |
+
+
+ | Web框架-Struts2(必会),请点击查看课程 |
+ Web框架-Spring MVC(主流),请点击查看课程 |
+
+
+ | JavaEE框架-Spring3(必会),请点击查看课程 |
+ 数据层ORM框架-Hibernate4(必会),请点击查看课程 |
+
+
+ | 数据层ORM框架-Spring Data JPA(主流),请点击查看课程 |
+ 数据层ORM框架-MyBatis(主流),该课程正在制作中,尽请期待 |
+
+
+ | Web前端技术-Ajax+JSON(必会),请点击查看课程 |
+ Web前端框架-Jquery(必会),请点击查看课程 |
+
+
+ | Web前端框架-Extjs(主流),该课程正在制作中,尽请期待 |
+ Web前端框架-Node.js(最新流行),该课程正在制作中,尽请期待 |
+
+
+ | Oracle数据库开发技术-PL/SQL(主流),请点击查看课程 |
+ 最棒的Java权限框架-Shiro(最新流行),请点击查看课程 |
+
+
+ | 工作流开发技术-JBPM4(主流),请点击查看课程 |
+ SSH+JBPM综合实战项目-某集团OA(强烈推荐),请点击查看课程 |
+
+
+ | Java方面还有很多很多的框架,可以上班用到再学,但是每个层次最少必会一个框架,这样不但能保证现在你能够上手开发实际的项目,在以后学新东西也会快很多。私塾在线会陆续推出更多精品课程,尽请期待!!! |
+
+
+ | Java开发实用技术,多数都是上班工作的人经常用到的(强烈建议大家每类至少会一个) |
+
+
+ | 项目管理和Make工具-Ant(老牌主流),请点击查看课程 |
+ 项目管理和Make工具-Maven(当前流行主流),请点击查看课程 |
+
+
+ | 单元测试工具-JUnit(绝对主流,开发人员必会),请点击查看课程 |
+ 日志工具- Log4j 和 Slf4j(绝对主流,开发人员必会),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Struts2注解(主流),请点击查看课程 |
+ 使用注解零配置提高开发速度-Spring3注解(主流),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Hibernate3注解(主流),请点击查看课程 |
+ 源代码版本管理工具-SVN(主流),该课程正在制作中,尽请期待 |
+
+
+ | 源代码版本管理工具-Git(主流),该课程正在制作中,尽请期待 |
+
+ 上还会用到很多其他的实用工具,可以用到再学,比如
+ 设计用到的工具、性能监控和调优工具、操作数据库的工具
+ 等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+ | JavaEE 应用服务器技术(最少必会一个) |
+
+
+ | 开源主流-Tomcat(必会),这个在JavaWeb开发课程中已经有了 |
+ 开源主流-JBoss(主流),该课程正在制作中,尽请期待 |
+
+
+ | 商用主流-Weblogic(绝对主流),请点击查看课程 |
+ 商用主流-WebSphere(主流),该课程正在制作中,尽请期待 |
+
+
+ |
+ 上还还可能会用到很多其他的应用服务器,可以用到再学,比如GoldFish等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+
+ | 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目 |
+
+
+
+ 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目。
+
+ 现在正在制作一个 完整的、实际项目的课程,从零开始做,一直到可交付的完整过程,预计要用时4个月到半年以上,尽请期待!
+ |
+
+
+
+ | 移动编程方向,有了前面的基础,就可以选择发展方向了 |
+
+
+ | Android开发方向-独家Android4就业经典(主流),请点击查看课程 |
+ Android开发方向-Android4项目实战--五子棋,请点击查看课程 |
+
+
+ | Android开发方向-Android4项目实战--freevoice(局域网对讲机),请点击查看课程 |
+ 更多Android开发系列课程正在制作中,尽请期待!!! |
+
+
+
+ |
+ IOS开发方向(主流),IOS开发系列课程正在制作中,尽请期待!!!
+ |
+
+
+ | 热门前沿技术,走在其他开发人员的前列,你就会更有竞争力,会更值钱! |
+
+
+ | 移动编程-HTML5开发(热门),请点击查看课程 |
+ 移动编程-HTML5项目实战(热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-Hadoop初级部分(最热门),请点击查看课程 |
+ 云计算开发系列-Hadoop中高级部分(最热门),请点击查看课程 |
+
+
+ | 云计算开发系列-Hive开发(最热门),请点击查看课程 |
+ 云计算开发系列-HBase开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-ZooKeeper开发(最热门),课程正在制作中,尽请期待! |
+ 云计算开发系列-Pig开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-综合应用项目实战(最热门),更多课程正在制作中,尽请期待!!! |
+
+
+ | 针对有经验的同志,技术深化提升,成为技术大牛! |
+
+
+ | 系统设计系列精品课程 |
+
+
+ | 跟着CC学设计系列精品课程-研磨设计模式(必会),请点击查看课程 |
+ 跟着CC学设计系列精品课程-设计模式高级实战项目,请点击查看课程,该课程已经开始进行企业级高端培训,尽请关注! |
+
+
+ | 跟着CC学设计系列精品课程-研磨企业级系统设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统设计方法学,教你如何进行系统的架构设计、模块设计、API设计、类设计、方法设计等,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-企业级应用系统架构设计项目实战,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-企业级应用系统设计方法学项目实战,课程正在制作中,尽请期待! |
+
+
+ | 数据库开发系列精品课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-海量数据库和高级SQL优化视频教程,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-Oracle性能优化,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-数据库基本原理和数据库设计实战,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握SQL开发,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握PL/SQL开发,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-千万级数据库开发设计综合实战项目,课程正在制作中,尽请期待! |
+
+
+
+
+
+
+
+
+
+
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\253\230\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\253\230\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar"
index 1700cb15e6883d5841c26708ea2c7324e7d0cd16..f9e67ce22844f2f1b2f091ac0e5092af31c6371d 100644
Binary files "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\253\230\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar" and "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276-Java\351\253\230\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213\351\205\215\345\245\227\347\232\204PPT\345\222\214\346\274\224\347\244\272\344\273\243\347\240\201/\351\232\217\345\240\202\346\274\224\347\244\272\346\272\220\344\273\243\347\240\201.rar" differ
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276\342\200\224Java\344\270\255\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276\342\200\224Java\344\270\255\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
index 19d82a4bfb097622a5f3e93b41775ba0dae2d38c..b73c34be664e20b5b9c9b84e0090d4d90e0fd967 100644
--- "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276\342\200\224Java\344\270\255\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
+++ "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276\342\200\224Java\344\270\255\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
@@ -1,3 +1,246 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:488eabbbb815e902895944f2ccaddd6ed44af1362f7c5f7682e2cefb19274dfd
-size 15091
+ Java私塾祝你学业有成,早日实现心中梦想!Java私塾网址:http://javass.cn
+
+
+ Java私塾创立于2006年,七年来,帮助数千人实现了高薪就业,成就了他们的梦想,让他们拥有了美好的未来!
+
+ 并逐渐形成了自己独特的教学方法、教学理念和教育哲学。
+
+ 由于Java私塾一直非常低调,从不做广告和推广,完全依靠口碑生存和发展,所以很多朋友并不了解或是熟悉Java私塾。
+
+
+ 这里只想告诉你这么几个事实:
+
+ 1:Java私塾的老师的实力是最强的——保证你能学到真本领
+
+ 2:Java私塾的实际就业质量是最好的——轻松解决你的高薪就业的问题
+
+ 3:Java私塾的口碑是最好的——保证每一个在Java私塾学习的人都能有一个美好的前程
+
+
+ 多的不说了,因为在你们看来,谁家都说自己好,用事实说话吧!
+
+ 这些视频都是课堂实录的,老师讲得如何,听了你就知道了!你可以听到很多Java私塾独到的知识剖析、思路引导、学习方法......
+
+ 当然,更多的还是需要到现场来体会,老师对学员思路的引导,老师和学生的互动,老师对方法的示范,老师的旁征博引等等,这些都只有在现场才能感受到。
+
+
+ 完全现场实录,唯一的遗憾是声音不是太好,请海涵!
+
+
+ ********************************************************************
+
+
+Java学习路线图,请按照顺序学习,循序渐进
+
+ ********************************************************************
+
+
+
+
+
+ | 初级入门 到 Java基本开发 阶段(必会) |
+
+
+ | 1:Java视频培训教程初级课程(光盘里面有) |
+ 2:Java视频培训教程中级课程(光盘里面有) |
+
+
+ | 3:Java视频培训教程高级理论部分(光盘里面有) |
+ 4:Java视频培训教程高级项目部分(光盘里面有) |
+
+
+ | Java Web开发 阶段(必会) |
+
+
+ | 1:Web开发基础-XHTML(光盘里面有) |
+ 2:Web开发基础-CSS(光盘里面有) |
+
+
+ | 3:Web开发基础-XML(光盘里面有) |
+ 4:Web开发基础-Javascript(光盘里面有) |
+
+
+ | 5:Oracle数据库和Sql开发(光盘里面有) |
+ 6:J2EE入门经典(光盘里面有) |
+
+
+ | 7:Java Web开发(光盘里面有) |
+ 8:Java Web开发实战项目,《中国移动科技综合管理系统》请点击 |
+
+
+ | Java 框架开发 阶段(每个层次最少必会一个框架) |
+
+
+ | Web框架-Struts2(必会),请点击查看课程 |
+ Web框架-Spring MVC(主流),请点击查看课程 |
+
+
+ | JavaEE框架-Spring3(必会),请点击查看课程 |
+ 数据层ORM框架-Hibernate4(必会),请点击查看课程 |
+
+
+ | 数据层ORM框架-Spring Data JPA(主流),请点击查看课程 |
+ 数据层ORM框架-MyBatis(主流),该课程正在制作中,尽请期待 |
+
+
+ | Web前端技术-Ajax+JSON(必会),请点击查看课程 |
+ Web前端框架-Jquery(必会),请点击查看课程 |
+
+
+ | Web前端框架-Extjs(主流),该课程正在制作中,尽请期待 |
+ Web前端框架-Node.js(最新流行),该课程正在制作中,尽请期待 |
+
+
+ | Oracle数据库开发技术-PL/SQL(主流),请点击查看课程 |
+ 最棒的Java权限框架-Shiro(最新流行),请点击查看课程 |
+
+
+ | 工作流开发技术-JBPM4(主流),请点击查看课程 |
+ SSH+JBPM综合实战项目-某集团OA(强烈推荐),请点击查看课程 |
+
+
+ | Java方面还有很多很多的框架,可以上班用到再学,但是每个层次最少必会一个框架,这样不但能保证现在你能够上手开发实际的项目,在以后学新东西也会快很多。私塾在线会陆续推出更多精品课程,尽请期待!!! |
+
+
+ | Java开发实用技术,多数都是上班工作的人经常用到的(强烈建议大家每类至少会一个) |
+
+
+ | 项目管理和Make工具-Ant(老牌主流),请点击查看课程 |
+ 项目管理和Make工具-Maven(当前流行主流),请点击查看课程 |
+
+
+ | 单元测试工具-JUnit(绝对主流,开发人员必会),请点击查看课程 |
+ 日志工具- Log4j 和 Slf4j(绝对主流,开发人员必会),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Struts2注解(主流),请点击查看课程 |
+ 使用注解零配置提高开发速度-Spring3注解(主流),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Hibernate3注解(主流),请点击查看课程 |
+ 源代码版本管理工具-SVN(主流),该课程正在制作中,尽请期待 |
+
+
+ | 源代码版本管理工具-Git(主流),该课程正在制作中,尽请期待 |
+
+ 上还会用到很多其他的实用工具,可以用到再学,比如
+ 设计用到的工具、性能监控和调优工具、操作数据库的工具
+ 等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+ | JavaEE 应用服务器技术(最少必会一个) |
+
+
+ | 开源主流-Tomcat(必会),这个在JavaWeb开发课程中已经有了 |
+ 开源主流-JBoss(主流),该课程正在制作中,尽请期待 |
+
+
+ | 商用主流-Weblogic(绝对主流),请点击查看课程 |
+ 商用主流-WebSphere(主流),该课程正在制作中,尽请期待 |
+
+
+ |
+ 上还还可能会用到很多其他的应用服务器,可以用到再学,比如GoldFish等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+
+ | 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目 |
+
+
+
+ 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目。
+
+ 现在正在制作一个 完整的、实际项目的课程,从零开始做,一直到可交付的完整过程,预计要用时4个月到半年以上,尽请期待!
+ |
+
+
+
+ | 移动编程方向,有了前面的基础,就可以选择发展方向了 |
+
+
+ | Android开发方向-独家Android4就业经典(主流),请点击查看课程 |
+ Android开发方向-Android4项目实战--五子棋,请点击查看课程 |
+
+
+ | Android开发方向-Android4项目实战--freevoice(局域网对讲机),请点击查看课程 |
+ 更多Android开发系列课程正在制作中,尽请期待!!! |
+
+
+
+ |
+ IOS开发方向(主流),IOS开发系列课程正在制作中,尽请期待!!!
+ |
+
+
+ | 热门前沿技术,走在其他开发人员的前列,你就会更有竞争力,会更值钱! |
+
+
+ | 移动编程-HTML5开发(热门),请点击查看课程 |
+ 移动编程-HTML5项目实战(热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-Hadoop初级部分(最热门),请点击查看课程 |
+ 云计算开发系列-Hadoop中高级部分(最热门),请点击查看课程 |
+
+
+ | 云计算开发系列-Hive开发(最热门),请点击查看课程 |
+ 云计算开发系列-HBase开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-ZooKeeper开发(最热门),课程正在制作中,尽请期待! |
+ 云计算开发系列-Pig开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-综合应用项目实战(最热门),更多课程正在制作中,尽请期待!!! |
+
+
+ | 针对有经验的同志,技术深化提升,成为技术大牛! |
+
+
+ | 系统设计系列精品课程 |
+
+
+ | 跟着CC学设计系列精品课程-研磨设计模式(必会),请点击查看课程 |
+ 跟着CC学设计系列精品课程-设计模式高级实战项目,请点击查看课程,该课程已经开始进行企业级高端培训,尽请关注! |
+
+
+ | 跟着CC学设计系列精品课程-研磨企业级系统设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统设计方法学,教你如何进行系统的架构设计、模块设计、API设计、类设计、方法设计等,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-企业级应用系统架构设计项目实战,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-企业级应用系统设计方法学项目实战,课程正在制作中,尽请期待! |
+
+
+ | 数据库开发系列精品课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-海量数据库和高级SQL优化视频教程,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-Oracle性能优化,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-数据库基本原理和数据库设计实战,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握SQL开发,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握PL/SQL开发,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-千万级数据库开发设计综合实战项目,课程正在制作中,尽请期待! |
+
+
+
+
+
+
+
+
+
+
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276\342\200\224Java\345\210\235\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276\342\200\224Java\345\210\235\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
index 19d82a4bfb097622a5f3e93b41775ba0dae2d38c..b73c34be664e20b5b9c9b84e0090d4d90e0fd967 100644
--- "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276\342\200\224Java\345\210\235\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
+++ "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276\342\200\224Java\345\210\235\347\272\247\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
@@ -1,3 +1,246 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:488eabbbb815e902895944f2ccaddd6ed44af1362f7c5f7682e2cefb19274dfd
-size 15091
+ Java私塾祝你学业有成,早日实现心中梦想!Java私塾网址:http://javass.cn
+
+
+ Java私塾创立于2006年,七年来,帮助数千人实现了高薪就业,成就了他们的梦想,让他们拥有了美好的未来!
+
+ 并逐渐形成了自己独特的教学方法、教学理念和教育哲学。
+
+ 由于Java私塾一直非常低调,从不做广告和推广,完全依靠口碑生存和发展,所以很多朋友并不了解或是熟悉Java私塾。
+
+
+ 这里只想告诉你这么几个事实:
+
+ 1:Java私塾的老师的实力是最强的——保证你能学到真本领
+
+ 2:Java私塾的实际就业质量是最好的——轻松解决你的高薪就业的问题
+
+ 3:Java私塾的口碑是最好的——保证每一个在Java私塾学习的人都能有一个美好的前程
+
+
+ 多的不说了,因为在你们看来,谁家都说自己好,用事实说话吧!
+
+ 这些视频都是课堂实录的,老师讲得如何,听了你就知道了!你可以听到很多Java私塾独到的知识剖析、思路引导、学习方法......
+
+ 当然,更多的还是需要到现场来体会,老师对学员思路的引导,老师和学生的互动,老师对方法的示范,老师的旁征博引等等,这些都只有在现场才能感受到。
+
+
+ 完全现场实录,唯一的遗憾是声音不是太好,请海涵!
+
+
+ ********************************************************************
+
+
+Java学习路线图,请按照顺序学习,循序渐进
+
+ ********************************************************************
+
+
+
+
+
+ | 初级入门 到 Java基本开发 阶段(必会) |
+
+
+ | 1:Java视频培训教程初级课程(光盘里面有) |
+ 2:Java视频培训教程中级课程(光盘里面有) |
+
+
+ | 3:Java视频培训教程高级理论部分(光盘里面有) |
+ 4:Java视频培训教程高级项目部分(光盘里面有) |
+
+
+ | Java Web开发 阶段(必会) |
+
+
+ | 1:Web开发基础-XHTML(光盘里面有) |
+ 2:Web开发基础-CSS(光盘里面有) |
+
+
+ | 3:Web开发基础-XML(光盘里面有) |
+ 4:Web开发基础-Javascript(光盘里面有) |
+
+
+ | 5:Oracle数据库和Sql开发(光盘里面有) |
+ 6:J2EE入门经典(光盘里面有) |
+
+
+ | 7:Java Web开发(光盘里面有) |
+ 8:Java Web开发实战项目,《中国移动科技综合管理系统》请点击 |
+
+
+ | Java 框架开发 阶段(每个层次最少必会一个框架) |
+
+
+ | Web框架-Struts2(必会),请点击查看课程 |
+ Web框架-Spring MVC(主流),请点击查看课程 |
+
+
+ | JavaEE框架-Spring3(必会),请点击查看课程 |
+ 数据层ORM框架-Hibernate4(必会),请点击查看课程 |
+
+
+ | 数据层ORM框架-Spring Data JPA(主流),请点击查看课程 |
+ 数据层ORM框架-MyBatis(主流),该课程正在制作中,尽请期待 |
+
+
+ | Web前端技术-Ajax+JSON(必会),请点击查看课程 |
+ Web前端框架-Jquery(必会),请点击查看课程 |
+
+
+ | Web前端框架-Extjs(主流),该课程正在制作中,尽请期待 |
+ Web前端框架-Node.js(最新流行),该课程正在制作中,尽请期待 |
+
+
+ | Oracle数据库开发技术-PL/SQL(主流),请点击查看课程 |
+ 最棒的Java权限框架-Shiro(最新流行),请点击查看课程 |
+
+
+ | 工作流开发技术-JBPM4(主流),请点击查看课程 |
+ SSH+JBPM综合实战项目-某集团OA(强烈推荐),请点击查看课程 |
+
+
+ | Java方面还有很多很多的框架,可以上班用到再学,但是每个层次最少必会一个框架,这样不但能保证现在你能够上手开发实际的项目,在以后学新东西也会快很多。私塾在线会陆续推出更多精品课程,尽请期待!!! |
+
+
+ | Java开发实用技术,多数都是上班工作的人经常用到的(强烈建议大家每类至少会一个) |
+
+
+ | 项目管理和Make工具-Ant(老牌主流),请点击查看课程 |
+ 项目管理和Make工具-Maven(当前流行主流),请点击查看课程 |
+
+
+ | 单元测试工具-JUnit(绝对主流,开发人员必会),请点击查看课程 |
+ 日志工具- Log4j 和 Slf4j(绝对主流,开发人员必会),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Struts2注解(主流),请点击查看课程 |
+ 使用注解零配置提高开发速度-Spring3注解(主流),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Hibernate3注解(主流),请点击查看课程 |
+ 源代码版本管理工具-SVN(主流),该课程正在制作中,尽请期待 |
+
+
+ | 源代码版本管理工具-Git(主流),该课程正在制作中,尽请期待 |
+
+ 上还会用到很多其他的实用工具,可以用到再学,比如
+ 设计用到的工具、性能监控和调优工具、操作数据库的工具
+ 等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+ | JavaEE 应用服务器技术(最少必会一个) |
+
+
+ | 开源主流-Tomcat(必会),这个在JavaWeb开发课程中已经有了 |
+ 开源主流-JBoss(主流),该课程正在制作中,尽请期待 |
+
+
+ | 商用主流-Weblogic(绝对主流),请点击查看课程 |
+ 商用主流-WebSphere(主流),该课程正在制作中,尽请期待 |
+
+
+ |
+ 上还还可能会用到很多其他的应用服务器,可以用到再学,比如GoldFish等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+
+ | 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目 |
+
+
+
+ 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目。
+
+ 现在正在制作一个 完整的、实际项目的课程,从零开始做,一直到可交付的完整过程,预计要用时4个月到半年以上,尽请期待!
+ |
+
+
+
+ | 移动编程方向,有了前面的基础,就可以选择发展方向了 |
+
+
+ | Android开发方向-独家Android4就业经典(主流),请点击查看课程 |
+ Android开发方向-Android4项目实战--五子棋,请点击查看课程 |
+
+
+ | Android开发方向-Android4项目实战--freevoice(局域网对讲机),请点击查看课程 |
+ 更多Android开发系列课程正在制作中,尽请期待!!! |
+
+
+
+ |
+ IOS开发方向(主流),IOS开发系列课程正在制作中,尽请期待!!!
+ |
+
+
+ | 热门前沿技术,走在其他开发人员的前列,你就会更有竞争力,会更值钱! |
+
+
+ | 移动编程-HTML5开发(热门),请点击查看课程 |
+ 移动编程-HTML5项目实战(热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-Hadoop初级部分(最热门),请点击查看课程 |
+ 云计算开发系列-Hadoop中高级部分(最热门),请点击查看课程 |
+
+
+ | 云计算开发系列-Hive开发(最热门),请点击查看课程 |
+ 云计算开发系列-HBase开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-ZooKeeper开发(最热门),课程正在制作中,尽请期待! |
+ 云计算开发系列-Pig开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-综合应用项目实战(最热门),更多课程正在制作中,尽请期待!!! |
+
+
+ | 针对有经验的同志,技术深化提升,成为技术大牛! |
+
+
+ | 系统设计系列精品课程 |
+
+
+ | 跟着CC学设计系列精品课程-研磨设计模式(必会),请点击查看课程 |
+ 跟着CC学设计系列精品课程-设计模式高级实战项目,请点击查看课程,该课程已经开始进行企业级高端培训,尽请关注! |
+
+
+ | 跟着CC学设计系列精品课程-研磨企业级系统设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统设计方法学,教你如何进行系统的架构设计、模块设计、API设计、类设计、方法设计等,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-企业级应用系统架构设计项目实战,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-企业级应用系统设计方法学项目实战,课程正在制作中,尽请期待! |
+
+
+ | 数据库开发系列精品课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-海量数据库和高级SQL优化视频教程,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-Oracle性能优化,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-数据库基本原理和数据库设计实战,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握SQL开发,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握PL/SQL开发,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-千万级数据库开发设计综合实战项目,课程正在制作中,尽请期待! |
+
+
+
+
+
+
+
+
+
+
diff --git "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276\342\200\224Java\351\253\230\347\272\247\347\220\206\350\256\272\351\203\250\345\210\206\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html" "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276\342\200\224Java\351\253\230\347\272\247\347\220\206\350\256\272\351\203\250\345\210\206\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
index 19d82a4bfb097622a5f3e93b41775ba0dae2d38c..b73c34be664e20b5b9c9b84e0090d4d90e0fd967 100644
--- "a/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276\342\200\224Java\351\253\230\347\272\247\347\220\206\350\256\272\351\203\250\345\210\206\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
+++ "b/JAVA\346\225\231\347\250\213/Java\347\247\201\345\241\276\342\200\224Java\351\253\230\347\272\247\347\220\206\350\256\272\351\203\250\345\210\206\350\247\206\351\242\221\346\225\231\347\250\213/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
@@ -1,3 +1,246 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:488eabbbb815e902895944f2ccaddd6ed44af1362f7c5f7682e2cefb19274dfd
-size 15091
+ Java私塾祝你学业有成,早日实现心中梦想!Java私塾网址:http://javass.cn
+
+
+ Java私塾创立于2006年,七年来,帮助数千人实现了高薪就业,成就了他们的梦想,让他们拥有了美好的未来!
+
+ 并逐渐形成了自己独特的教学方法、教学理念和教育哲学。
+
+ 由于Java私塾一直非常低调,从不做广告和推广,完全依靠口碑生存和发展,所以很多朋友并不了解或是熟悉Java私塾。
+
+
+ 这里只想告诉你这么几个事实:
+
+ 1:Java私塾的老师的实力是最强的——保证你能学到真本领
+
+ 2:Java私塾的实际就业质量是最好的——轻松解决你的高薪就业的问题
+
+ 3:Java私塾的口碑是最好的——保证每一个在Java私塾学习的人都能有一个美好的前程
+
+
+ 多的不说了,因为在你们看来,谁家都说自己好,用事实说话吧!
+
+ 这些视频都是课堂实录的,老师讲得如何,听了你就知道了!你可以听到很多Java私塾独到的知识剖析、思路引导、学习方法......
+
+ 当然,更多的还是需要到现场来体会,老师对学员思路的引导,老师和学生的互动,老师对方法的示范,老师的旁征博引等等,这些都只有在现场才能感受到。
+
+
+ 完全现场实录,唯一的遗憾是声音不是太好,请海涵!
+
+
+ ********************************************************************
+
+
+Java学习路线图,请按照顺序学习,循序渐进
+
+ ********************************************************************
+
+
+
+
+
+ | 初级入门 到 Java基本开发 阶段(必会) |
+
+
+ | 1:Java视频培训教程初级课程(光盘里面有) |
+ 2:Java视频培训教程中级课程(光盘里面有) |
+
+
+ | 3:Java视频培训教程高级理论部分(光盘里面有) |
+ 4:Java视频培训教程高级项目部分(光盘里面有) |
+
+
+ | Java Web开发 阶段(必会) |
+
+
+ | 1:Web开发基础-XHTML(光盘里面有) |
+ 2:Web开发基础-CSS(光盘里面有) |
+
+
+ | 3:Web开发基础-XML(光盘里面有) |
+ 4:Web开发基础-Javascript(光盘里面有) |
+
+
+ | 5:Oracle数据库和Sql开发(光盘里面有) |
+ 6:J2EE入门经典(光盘里面有) |
+
+
+ | 7:Java Web开发(光盘里面有) |
+ 8:Java Web开发实战项目,《中国移动科技综合管理系统》请点击 |
+
+
+ | Java 框架开发 阶段(每个层次最少必会一个框架) |
+
+
+ | Web框架-Struts2(必会),请点击查看课程 |
+ Web框架-Spring MVC(主流),请点击查看课程 |
+
+
+ | JavaEE框架-Spring3(必会),请点击查看课程 |
+ 数据层ORM框架-Hibernate4(必会),请点击查看课程 |
+
+
+ | 数据层ORM框架-Spring Data JPA(主流),请点击查看课程 |
+ 数据层ORM框架-MyBatis(主流),该课程正在制作中,尽请期待 |
+
+
+ | Web前端技术-Ajax+JSON(必会),请点击查看课程 |
+ Web前端框架-Jquery(必会),请点击查看课程 |
+
+
+ | Web前端框架-Extjs(主流),该课程正在制作中,尽请期待 |
+ Web前端框架-Node.js(最新流行),该课程正在制作中,尽请期待 |
+
+
+ | Oracle数据库开发技术-PL/SQL(主流),请点击查看课程 |
+ 最棒的Java权限框架-Shiro(最新流行),请点击查看课程 |
+
+
+ | 工作流开发技术-JBPM4(主流),请点击查看课程 |
+ SSH+JBPM综合实战项目-某集团OA(强烈推荐),请点击查看课程 |
+
+
+ | Java方面还有很多很多的框架,可以上班用到再学,但是每个层次最少必会一个框架,这样不但能保证现在你能够上手开发实际的项目,在以后学新东西也会快很多。私塾在线会陆续推出更多精品课程,尽请期待!!! |
+
+
+ | Java开发实用技术,多数都是上班工作的人经常用到的(强烈建议大家每类至少会一个) |
+
+
+ | 项目管理和Make工具-Ant(老牌主流),请点击查看课程 |
+ 项目管理和Make工具-Maven(当前流行主流),请点击查看课程 |
+
+
+ | 单元测试工具-JUnit(绝对主流,开发人员必会),请点击查看课程 |
+ 日志工具- Log4j 和 Slf4j(绝对主流,开发人员必会),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Struts2注解(主流),请点击查看课程 |
+ 使用注解零配置提高开发速度-Spring3注解(主流),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Hibernate3注解(主流),请点击查看课程 |
+ 源代码版本管理工具-SVN(主流),该课程正在制作中,尽请期待 |
+
+
+ | 源代码版本管理工具-Git(主流),该课程正在制作中,尽请期待 |
+
+ 上还会用到很多其他的实用工具,可以用到再学,比如
+ 设计用到的工具、性能监控和调优工具、操作数据库的工具
+ 等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+ | JavaEE 应用服务器技术(最少必会一个) |
+
+
+ | 开源主流-Tomcat(必会),这个在JavaWeb开发课程中已经有了 |
+ 开源主流-JBoss(主流),该课程正在制作中,尽请期待 |
+
+
+ | 商用主流-Weblogic(绝对主流),请点击查看课程 |
+ 商用主流-WebSphere(主流),该课程正在制作中,尽请期待 |
+
+
+ |
+ 上还还可能会用到很多其他的应用服务器,可以用到再学,比如GoldFish等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+
+ | 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目 |
+
+
+
+ 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目。
+
+ 现在正在制作一个 完整的、实际项目的课程,从零开始做,一直到可交付的完整过程,预计要用时4个月到半年以上,尽请期待!
+ |
+
+
+
+ | 移动编程方向,有了前面的基础,就可以选择发展方向了 |
+
+
+ | Android开发方向-独家Android4就业经典(主流),请点击查看课程 |
+ Android开发方向-Android4项目实战--五子棋,请点击查看课程 |
+
+
+ | Android开发方向-Android4项目实战--freevoice(局域网对讲机),请点击查看课程 |
+ 更多Android开发系列课程正在制作中,尽请期待!!! |
+
+
+
+ |
+ IOS开发方向(主流),IOS开发系列课程正在制作中,尽请期待!!!
+ |
+
+
+ | 热门前沿技术,走在其他开发人员的前列,你就会更有竞争力,会更值钱! |
+
+
+ | 移动编程-HTML5开发(热门),请点击查看课程 |
+ 移动编程-HTML5项目实战(热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-Hadoop初级部分(最热门),请点击查看课程 |
+ 云计算开发系列-Hadoop中高级部分(最热门),请点击查看课程 |
+
+
+ | 云计算开发系列-Hive开发(最热门),请点击查看课程 |
+ 云计算开发系列-HBase开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-ZooKeeper开发(最热门),课程正在制作中,尽请期待! |
+ 云计算开发系列-Pig开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-综合应用项目实战(最热门),更多课程正在制作中,尽请期待!!! |
+
+
+ | 针对有经验的同志,技术深化提升,成为技术大牛! |
+
+
+ | 系统设计系列精品课程 |
+
+
+ | 跟着CC学设计系列精品课程-研磨设计模式(必会),请点击查看课程 |
+ 跟着CC学设计系列精品课程-设计模式高级实战项目,请点击查看课程,该课程已经开始进行企业级高端培训,尽请关注! |
+
+
+ | 跟着CC学设计系列精品课程-研磨企业级系统设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统设计方法学,教你如何进行系统的架构设计、模块设计、API设计、类设计、方法设计等,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-企业级应用系统架构设计项目实战,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-企业级应用系统设计方法学项目实战,课程正在制作中,尽请期待! |
+
+
+ | 数据库开发系列精品课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-海量数据库和高级SQL优化视频教程,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-Oracle性能优化,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-数据库基本原理和数据库设计实战,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握SQL开发,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握PL/SQL开发,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-千万级数据库开发设计综合实战项目,课程正在制作中,尽请期待! |
+
+
+
+
+
+
+
+
+
+
diff --git "a/JAVA\346\225\231\347\250\213/\347\247\201\345\241\276\345\234\250\347\272\277\351\203\250\345\210\206\350\257\276\347\250\213\347\232\204\345\205\254\345\274\200\351\203\250\345\210\206/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html" "b/JAVA\346\225\231\347\250\213/\347\247\201\345\241\276\345\234\250\347\272\277\351\203\250\345\210\206\350\257\276\347\250\213\347\232\204\345\205\254\345\274\200\351\203\250\345\210\206/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
index 19d82a4bfb097622a5f3e93b41775ba0dae2d38c..b73c34be664e20b5b9c9b84e0090d4d90e0fd967 100644
--- "a/JAVA\346\225\231\347\250\213/\347\247\201\345\241\276\345\234\250\347\272\277\351\203\250\345\210\206\350\257\276\347\250\213\347\232\204\345\205\254\345\274\200\351\203\250\345\210\206/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
+++ "b/JAVA\346\225\231\347\250\213/\347\247\201\345\241\276\345\234\250\347\272\277\351\203\250\345\210\206\350\257\276\347\250\213\347\232\204\345\205\254\345\274\200\351\203\250\345\210\206/Java\345\255\246\344\271\240\350\267\257\347\272\277\345\233\276.html"
@@ -1,3 +1,246 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:488eabbbb815e902895944f2ccaddd6ed44af1362f7c5f7682e2cefb19274dfd
-size 15091
+ Java私塾祝你学业有成,早日实现心中梦想!Java私塾网址:http://javass.cn
+
+
+ Java私塾创立于2006年,七年来,帮助数千人实现了高薪就业,成就了他们的梦想,让他们拥有了美好的未来!
+
+ 并逐渐形成了自己独特的教学方法、教学理念和教育哲学。
+
+ 由于Java私塾一直非常低调,从不做广告和推广,完全依靠口碑生存和发展,所以很多朋友并不了解或是熟悉Java私塾。
+
+
+ 这里只想告诉你这么几个事实:
+
+ 1:Java私塾的老师的实力是最强的——保证你能学到真本领
+
+ 2:Java私塾的实际就业质量是最好的——轻松解决你的高薪就业的问题
+
+ 3:Java私塾的口碑是最好的——保证每一个在Java私塾学习的人都能有一个美好的前程
+
+
+ 多的不说了,因为在你们看来,谁家都说自己好,用事实说话吧!
+
+ 这些视频都是课堂实录的,老师讲得如何,听了你就知道了!你可以听到很多Java私塾独到的知识剖析、思路引导、学习方法......
+
+ 当然,更多的还是需要到现场来体会,老师对学员思路的引导,老师和学生的互动,老师对方法的示范,老师的旁征博引等等,这些都只有在现场才能感受到。
+
+
+ 完全现场实录,唯一的遗憾是声音不是太好,请海涵!
+
+
+ ********************************************************************
+
+
+Java学习路线图,请按照顺序学习,循序渐进
+
+ ********************************************************************
+
+
+
+
+
+ | 初级入门 到 Java基本开发 阶段(必会) |
+
+
+ | 1:Java视频培训教程初级课程(光盘里面有) |
+ 2:Java视频培训教程中级课程(光盘里面有) |
+
+
+ | 3:Java视频培训教程高级理论部分(光盘里面有) |
+ 4:Java视频培训教程高级项目部分(光盘里面有) |
+
+
+ | Java Web开发 阶段(必会) |
+
+
+ | 1:Web开发基础-XHTML(光盘里面有) |
+ 2:Web开发基础-CSS(光盘里面有) |
+
+
+ | 3:Web开发基础-XML(光盘里面有) |
+ 4:Web开发基础-Javascript(光盘里面有) |
+
+
+ | 5:Oracle数据库和Sql开发(光盘里面有) |
+ 6:J2EE入门经典(光盘里面有) |
+
+
+ | 7:Java Web开发(光盘里面有) |
+ 8:Java Web开发实战项目,《中国移动科技综合管理系统》请点击 |
+
+
+ | Java 框架开发 阶段(每个层次最少必会一个框架) |
+
+
+ | Web框架-Struts2(必会),请点击查看课程 |
+ Web框架-Spring MVC(主流),请点击查看课程 |
+
+
+ | JavaEE框架-Spring3(必会),请点击查看课程 |
+ 数据层ORM框架-Hibernate4(必会),请点击查看课程 |
+
+
+ | 数据层ORM框架-Spring Data JPA(主流),请点击查看课程 |
+ 数据层ORM框架-MyBatis(主流),该课程正在制作中,尽请期待 |
+
+
+ | Web前端技术-Ajax+JSON(必会),请点击查看课程 |
+ Web前端框架-Jquery(必会),请点击查看课程 |
+
+
+ | Web前端框架-Extjs(主流),该课程正在制作中,尽请期待 |
+ Web前端框架-Node.js(最新流行),该课程正在制作中,尽请期待 |
+
+
+ | Oracle数据库开发技术-PL/SQL(主流),请点击查看课程 |
+ 最棒的Java权限框架-Shiro(最新流行),请点击查看课程 |
+
+
+ | 工作流开发技术-JBPM4(主流),请点击查看课程 |
+ SSH+JBPM综合实战项目-某集团OA(强烈推荐),请点击查看课程 |
+
+
+ | Java方面还有很多很多的框架,可以上班用到再学,但是每个层次最少必会一个框架,这样不但能保证现在你能够上手开发实际的项目,在以后学新东西也会快很多。私塾在线会陆续推出更多精品课程,尽请期待!!! |
+
+
+ | Java开发实用技术,多数都是上班工作的人经常用到的(强烈建议大家每类至少会一个) |
+
+
+ | 项目管理和Make工具-Ant(老牌主流),请点击查看课程 |
+ 项目管理和Make工具-Maven(当前流行主流),请点击查看课程 |
+
+
+ | 单元测试工具-JUnit(绝对主流,开发人员必会),请点击查看课程 |
+ 日志工具- Log4j 和 Slf4j(绝对主流,开发人员必会),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Struts2注解(主流),请点击查看课程 |
+ 使用注解零配置提高开发速度-Spring3注解(主流),请点击查看课程 |
+
+
+ | 使用注解零配置提高开发速度-Hibernate3注解(主流),请点击查看课程 |
+ 源代码版本管理工具-SVN(主流),该课程正在制作中,尽请期待 |
+
+
+ | 源代码版本管理工具-Git(主流),该课程正在制作中,尽请期待 |
+
+ 上还会用到很多其他的实用工具,可以用到再学,比如
+ 设计用到的工具、性能监控和调优工具、操作数据库的工具
+ 等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+ | JavaEE 应用服务器技术(最少必会一个) |
+
+
+ | 开源主流-Tomcat(必会),这个在JavaWeb开发课程中已经有了 |
+ 开源主流-JBoss(主流),该课程正在制作中,尽请期待 |
+
+
+ | 商用主流-Weblogic(绝对主流),请点击查看课程 |
+ 商用主流-WebSphere(主流),该课程正在制作中,尽请期待 |
+
+
+ |
+ 上还还可能会用到很多其他的应用服务器,可以用到再学,比如GoldFish等等很多。私塾在线会陆续推出更多精品课程,尽请期待!
+ |
+
+
+
+ | 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目 |
+
+
+
+ 真实的Java企业级实际项目开发,综合前面所学的各种框架和技术来开发真实的项目。
+
+ 现在正在制作一个 完整的、实际项目的课程,从零开始做,一直到可交付的完整过程,预计要用时4个月到半年以上,尽请期待!
+ |
+
+
+
+ | 移动编程方向,有了前面的基础,就可以选择发展方向了 |
+
+
+ | Android开发方向-独家Android4就业经典(主流),请点击查看课程 |
+ Android开发方向-Android4项目实战--五子棋,请点击查看课程 |
+
+
+ | Android开发方向-Android4项目实战--freevoice(局域网对讲机),请点击查看课程 |
+ 更多Android开发系列课程正在制作中,尽请期待!!! |
+
+
+
+ |
+ IOS开发方向(主流),IOS开发系列课程正在制作中,尽请期待!!!
+ |
+
+
+ | 热门前沿技术,走在其他开发人员的前列,你就会更有竞争力,会更值钱! |
+
+
+ | 移动编程-HTML5开发(热门),请点击查看课程 |
+ 移动编程-HTML5项目实战(热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-Hadoop初级部分(最热门),请点击查看课程 |
+ 云计算开发系列-Hadoop中高级部分(最热门),请点击查看课程 |
+
+
+ | 云计算开发系列-Hive开发(最热门),请点击查看课程 |
+ 云计算开发系列-HBase开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-ZooKeeper开发(最热门),课程正在制作中,尽请期待! |
+ 云计算开发系列-Pig开发(最热门),课程正在制作中,尽请期待! |
+
+
+ | 云计算开发系列-综合应用项目实战(最热门),更多课程正在制作中,尽请期待!!! |
+
+
+ | 针对有经验的同志,技术深化提升,成为技术大牛! |
+
+
+ | 系统设计系列精品课程 |
+
+
+ | 跟着CC学设计系列精品课程-研磨设计模式(必会),请点击查看课程 |
+ 跟着CC学设计系列精品课程-设计模式高级实战项目,请点击查看课程,该课程已经开始进行企业级高端培训,尽请关注! |
+
+
+ | 跟着CC学设计系列精品课程-研磨企业级系统设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-系统架构设计模式,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-系统设计方法学,教你如何进行系统的架构设计、模块设计、API设计、类设计、方法设计等,课程正在制作中,尽请期待! |
+
+
+ | 跟着CC学设计系列精品课程-企业级应用系统架构设计项目实战,课程正在制作中,尽请期待! |
+ 跟着CC学设计系列精品课程-企业级应用系统设计方法学项目实战,课程正在制作中,尽请期待! |
+
+
+ | 数据库开发系列精品课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-海量数据库和高级SQL优化视频教程,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-Oracle性能优化,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-数据库基本原理和数据库设计实战,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握SQL开发,请点击查看课程 |
+
+
+ | 15年资深DBA教你做Oracle数据库开发系列精品课程-深入掌握PL/SQL开发,请点击查看课程 |
+ 15年资深DBA教你做Oracle数据库开发系列精品课程-千万级数据库开发设计综合实战项目,课程正在制作中,尽请期待! |
+
+
+
+
+
+
+
+
+
+
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.exslt.ui_1.1.0.v201901071922.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.exslt.ui_1.1.0.v201901071922.jar"
index 28e1a029cb1ede3255bebb0950bb0977d1a1ab27..5c0ad01064b45311b17ca6bbd27b920d38f6cd53 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.exslt.ui_1.1.0.v201901071922.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.exslt.ui_1.1.0.v201901071922.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.jaxp.debug_1.1.100.v202202230212.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.jaxp.debug_1.1.100.v202202230212.jar"
index c585fe27bbaf5f82416ad7657c3c4c0adc987d44..d1ad98bb2655264b5fe2608aa2763b5affea20fa 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.jaxp.debug_1.1.100.v202202230212.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.jaxp.debug_1.1.100.v202202230212.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.launching_1.2.0.v201901071922.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.launching_1.2.0.v201901071922.jar"
index 10762c6d95ec93d59b4fd99ad1e6fd15c1585c72..9d83eb19fb599e8f96dc309caccd553819d6de81 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.launching_1.2.0.v201901071922.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.launching_1.2.0.v201901071922.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.saxon_1.1.0.v201901071922.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.saxon_1.1.0.v201901071922.jar"
index 1e59eea36420df4f5dae6d9b8c8df3b0364d5cd0..9dd8b6695fc7347584fa23b927acb78184ad2be0 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.saxon_1.1.0.v201901071922.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.saxon_1.1.0.v201901071922.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.xalan_1.1.100.v202301080401.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.xalan_1.1.100.v202301080401.jar"
index ebeade74bdb4dcebc05fe1280a501535f14573c2..f6e601544c4256a94661f957d1cc63b3058ac905 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.xalan_1.1.100.v202301080401.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl.xalan_1.1.100.v202301080401.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl_1.2.0.v201901071922.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl_1.2.0.v201901071922.jar"
index 528b6d1fe25eb05a05026d99f9ca09c81d140f4f..adbc8542d5a634c49143f8a860ba3fe0802bd0cb 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl_1.2.0.v201901071922.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wst.xsl_1.2.0.v201901071922.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.epp.package.capabilities_1.3.0.v201902122017.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.epp.package.capabilities_1.3.0.v201902122017.jar"
index 15a7a2d5c235dba3cc2cf5bf3b46b8f31755517b..c847eb14dfebd22d9309ab739c99ed437271618d 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.epp.package.capabilities_1.3.0.v201902122017.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.epp.package.capabilities_1.3.0.v201902122017.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.javascript.capabilities_1.0.200.v201901071922.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.javascript.capabilities_1.0.200.v201901071922.jar"
index 55e5e76a5eeda435b43ea9b76aab0ee9bba2fd0c..fdad9c51006e0339da1323d814977302a902b3b3 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.javascript.capabilities_1.0.200.v201901071922.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.javascript.capabilities_1.0.200.v201901071922.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.jee.capabilities_1.0.100.v201903222024.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.jee.capabilities_1.0.100.v201903222024.jar"
index fb54762e037a9da0c80737cdf61f8d79b5752c31..bb2b5a925495e5070065fb65336e848e8b9c5788 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.jee.capabilities_1.0.100.v201903222024.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.jee.capabilities_1.0.100.v201903222024.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.web.capabilities_1.0.200.v201901071922.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.web.capabilities_1.0.200.v201901071922.jar"
index 769d0f92a95fc1e31d90e182d0e5349e636388db..df45d061afdb22512aed86286bcf4c5d6e607299 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.web.capabilities_1.0.200.v201901071922.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.web.capabilities_1.0.200.v201901071922.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.xml.capabilities_1.0.200.v201901071922.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.xml.capabilities_1.0.200.v201901071922.jar"
index 238056efc07f7193c588314626a225fe598b2824..323e0dfff701c86f0c7672a341324e4b20c1fe83 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.xml.capabilities_1.0.200.v201901071922.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.eclipse.wtp.xml.capabilities_1.0.200.v201901071922.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.glassfish.hk2.osgi-resource-locator_2.5.0.v20161103-1916.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.glassfish.hk2.osgi-resource-locator_2.5.0.v20161103-1916.jar"
index 7771a4078400e394d25ebca1b4144a670fcfd9eb..ddbc9af1923fc6802d468f51eafdb169aea08e3b 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.glassfish.hk2.osgi-resource-locator_2.5.0.v20161103-1916.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.glassfish.hk2.osgi-resource-locator_2.5.0.v20161103-1916.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.hamcrest.core_2.2.0.v20230809-1000.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.hamcrest.core_2.2.0.v20230809-1000.jar"
index a124e57c51b5eb85fd3d5088d2924e8d629e0475..0328c28f7fe21001ce399b3500abf7357f468649 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.hamcrest.core_2.2.0.v20230809-1000.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.hamcrest.core_2.2.0.v20230809-1000.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.commons_9.7.0.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.commons_9.7.0.jar"
index 1007c3399754e77df2418dd383126012e39c5932..6a7d3a1083c46f9135c70208ea18423dbd2d19eb 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.commons_9.7.0.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.commons_9.7.0.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.tree.analysis_9.7.0.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.tree.analysis_9.7.0.jar"
index b14ef1f4b9378f34f8ebdad848577069f1a34dea..b2a1194ce076ddadb30751d22f89349a396a79b5 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.tree.analysis_9.7.0.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.tree.analysis_9.7.0.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.tree_9.7.0.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.tree_9.7.0.jar"
index 189f804237830f914f63af69fb5f8e97471a23fe..bbb3ca3bd682a69bfb95d3e14feb29f3273af6be 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.tree_9.7.0.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.tree_9.7.0.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.util_9.7.0.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.util_9.7.0.jar"
index 9f8cdfb76e71c3745c52b962fb0a7d456ff88855..61bf86d993800a22f074e81a267ffb9270210518 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.util_9.7.0.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.objectweb.asm.util_9.7.0.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.opentest4j_1.3.0.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.opentest4j_1.3.0.jar"
index 04d3479c7678e4f551d2e66d6179f3077e0a819a..7ec7bc5494c68899e504ddff32a671d78edcc592 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.opentest4j_1.3.0.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.opentest4j_1.3.0.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.annotation.bundle_2.0.0.202202082230.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.annotation.bundle_2.0.0.202202082230.jar"
index ffaf79f2baa3fb99bce8584dc68f0d5bf00cc4a1..fba0eec43f029bb568ee0d97cf2e2f61bb4b13bc 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.annotation.bundle_2.0.0.202202082230.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.annotation.bundle_2.0.0.202202082230.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.annotation.versioning_1.1.2.202109301733.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.annotation.versioning_1.1.2.202109301733.jar"
index 015e5ca4ffc378eccb4c3d3308079928570f2378..bed85003cf5e6f90bb389a22b039449252f54d3f 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.annotation.versioning_1.1.2.202109301733.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.annotation.versioning_1.1.2.202109301733.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.namespace.contract_1.0.0.201505202024.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.namespace.contract_1.0.0.201505202024.jar"
index b34fb3f1b30d8063e04811b3e7f65d36fff7ad71..ef92abbb4ce28933317b13f7867f69f5608a556e 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.namespace.contract_1.0.0.201505202024.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.namespace.contract_1.0.0.201505202024.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.namespace.extender_1.0.1.201505202024.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.namespace.extender_1.0.1.201505202024.jar"
index 5b8c6bb39a40994575b27c09f00e038ffa0ca102..059db2ff508fcc3690b642a10031e5ce5b239f87 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.namespace.extender_1.0.1.201505202024.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.namespace.extender_1.0.1.201505202024.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.namespace.service_1.0.0.201505202024.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.namespace.service_1.0.0.201505202024.jar"
index 5a6fe34f1123dfa91c08dbfb9271fd262a9d23ee..6d9958c1950a8545902731f6703d421f61a632ca 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.namespace.service_1.0.0.201505202024.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.namespace.service_1.0.0.201505202024.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.cm_1.6.1.202109301733.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.cm_1.6.1.202109301733.jar"
index 619784d2d4a26cf05aa1125afba9a828b9dc00a1..2b0d522fff21d21cd9a311a2b21aa530eb1364be 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.cm_1.6.1.202109301733.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.cm_1.6.1.202109301733.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.component.annotations_1.5.1.202212101352.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.component.annotations_1.5.1.202212101352.jar"
index 52376a170241e99a759d7db6e0cc3cc950599556..dbbde03ab1d39d8ab03c138554a7ab89109689e5 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.component.annotations_1.5.1.202212101352.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.component.annotations_1.5.1.202212101352.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.component_1.5.1.202212101352.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.component_1.5.1.202212101352.jar"
index 378d14d63931cc96a0a727fd20106726d17a46ac..48e662c0d3a6ec8d05216b307f1992f996000861 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.component_1.5.1.202212101352.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.component_1.5.1.202212101352.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.coordinator_1.0.2.201505202024.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.coordinator_1.0.2.201505202024.jar"
index a35accabf712f75e114cbeefeae9f7c7e48798f0..75f8f423edabde1afeb9c750a585d54675c5bfe6 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.coordinator_1.0.2.201505202024.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.coordinator_1.0.2.201505202024.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.device_1.1.1.202109301733.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.device_1.1.1.202109301733.jar"
index 8640200a914a2dfa20d48c6cf36f5fd232e48db3..780c622a95023a11329a3b80c06c88cf82ae6b8a 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.device_1.1.1.202109301733.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.device_1.1.1.202109301733.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.event_1.4.1.202109301733.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.event_1.4.1.202109301733.jar"
index 5e5f333e8177b050c5d484f2d38ba3b653e0a926..30d54e03913a9ddcd16a10d903a40e9f516538c3 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.event_1.4.1.202109301733.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.event_1.4.1.202109301733.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.http.whiteboard_1.1.1.202109301733.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.http.whiteboard_1.1.1.202109301733.jar"
index b5bdf62590467ad52c4b82fe8dbbec38d8b29dc7..4e3b51193c153ba1be3cf0a5d9a49a32844194d5 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.http.whiteboard_1.1.1.202109301733.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.http.whiteboard_1.1.1.202109301733.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.metatype.annotations_1.4.1.202109301733.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.metatype.annotations_1.4.1.202109301733.jar"
index 507724aafd4385676dd1a39de0f525c85026435f..850c25731608298f42d2dd9b207d4cf02f6ec60b 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.metatype.annotations_1.4.1.202109301733.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.metatype.annotations_1.4.1.202109301733.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.metatype_1.4.1.202109301733.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.metatype_1.4.1.202109301733.jar"
index 5f6c03d0d07d1852a9095d7dc5af1f936d02c8f7..cd445fdc0c1bd420a73e5c1613a65ad4e45fcbfa 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.metatype_1.4.1.202109301733.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.metatype_1.4.1.202109301733.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.prefs_1.1.2.202109301733.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.prefs_1.1.2.202109301733.jar"
index c63eb08b5cc04d2c3e9e6ec196d2e7b1bc032379..51b76ccf560b4069c6ba7cfffaf5e857228a6294 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.prefs_1.1.2.202109301733.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.prefs_1.1.2.202109301733.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.provisioning_1.2.0.201505202024.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.provisioning_1.2.0.201505202024.jar"
index 24cc7dd38b5672c6673e48cc35ad906df5289d96..dbada050156731989c7f77bd6d6319f5f8322b14 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.provisioning_1.2.0.201505202024.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.provisioning_1.2.0.201505202024.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.repository_1.1.0.201505202024.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.repository_1.1.0.201505202024.jar"
index d12f1395d18335b8bea6b6368ee93e17ab45bb8f..c41d68073149a52e044b5ca98ca0e99a6ce81402 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.repository_1.1.0.201505202024.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.repository_1.1.0.201505202024.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.upnp_1.2.1.202109301733.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.upnp_1.2.1.202109301733.jar"
index f1132b7d79cb119477555690ad9eac3ce7953b6e..40e2155a8413ef263f80d6a2f2e287aa1cfb0c99 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.upnp_1.2.1.202109301733.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.upnp_1.2.1.202109301733.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.useradmin_1.1.1.202109301733.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.useradmin_1.1.1.202109301733.jar"
index e2a0c1450ea5b02d6e81c05468c53957e173ca17..bab6242194f323241186531594cb14c65ac4ccc0 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.useradmin_1.1.1.202109301733.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.useradmin_1.1.1.202109301733.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.wireadmin_1.0.2.202109301733.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.wireadmin_1.0.2.202109301733.jar"
index 806ae92585ecbb6679e7c162cf0b3a3995bc27d8..3e766c2a29f9853458a56f597519a3248a51c6ad 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.wireadmin_1.0.2.202109301733.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.service.wireadmin_1.0.2.202109301733.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.function_1.2.0.202109301733.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.function_1.2.0.202109301733.jar"
index 3cd61cab616fe9570bce4d430abb4ce5f66e2924..09af58e91f4a94e07718d88fbb12e46ba8c784d7 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.function_1.2.0.202109301733.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.function_1.2.0.202109301733.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.measurement_1.0.2.201802012109.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.measurement_1.0.2.201802012109.jar"
index b3d923fe16f658c038c99c4a2e9b6ada2e5e1d12..90f614e03f1ed33d636fc6e18febbc18b189f72b 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.measurement_1.0.2.201802012109.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.measurement_1.0.2.201802012109.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.position_1.0.1.201505202026.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.position_1.0.1.201505202026.jar"
index b07b52a1afdc3559a82b3b4ddb7f3759db6115e6..e41bda0ffe0b3130f6bb8a38abfad7a2db08e602 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.position_1.0.1.201505202026.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.position_1.0.1.201505202026.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.promise_1.3.0.202212101352.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.promise_1.3.0.202212101352.jar"
index a20aec2e683b06ae1560564dfef728db6a67ca41..1d1feadff348ef98834c82aad29010430b42a0de 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.promise_1.3.0.202212101352.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.promise_1.3.0.202212101352.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.xml_1.0.2.202109301733.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.xml_1.0.2.202109301733.jar"
index 2ca7c5f64ed17320d25d662962c0648783258879..1d196ccbfa95942639386ca19cd7114b47c2f096 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.xml_1.0.2.202109301733.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/org.osgi.util.xml_1.0.2.202109301733.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/slf4j.api_2.0.13.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/slf4j.api_2.0.13.jar"
index aabd8717f37f0a1330db5cd969392bd6cde505bc..a800cc2b50b05f1018a72f6099888afab0351eb7 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/slf4j.api_2.0.13.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/slf4j.api_2.0.13.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/slf4j.simple_2.0.13.jar" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/slf4j.simple_2.0.13.jar"
index fd3209fadfbe66b9e1e99e0b4c06d542673cd5fe..b756f92a06413366b3fb710240db81147b02f1cd 100644
Binary files "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/slf4j.simple_2.0.13.jar" and "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/plugins/slf4j.simple_2.0.13.jar" differ
diff --git "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/readme/readme_eclipse.html" "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/readme/readme_eclipse.html"
index b8b10934e9b58b55fd651441048215581be83efe..627ab745b1b84f8568cf3b5bc1776ba0e1552e04 100644
--- "a/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/readme/readme_eclipse.html"
+++ "b/Java\345\274\200\345\217\221\347\216\257\345\242\203\345\256\211\350\243\205/eclipse-jee-2024-06-R-win32-x86_64/eclipse/readme/readme_eclipse.html"
@@ -1,3 +1,1427 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:42f44aa73ef477527b4258c6769e7d768dbe6b4b50ea7fd6380a4f79bfbb79f0
-size 77458
+
+
+
+
+Eclipse Project Release Notes 4.31
+
+
+
+
+
+ Release 4.31
+
+
+ Last revised Feb 24, 2024
+
+
+
+
+ This software is OSI Certified Open Source Software.
OSI Certified is a certification mark of the Open Source Initiative.
+
+
+
+
+
+
+
+ - Eclipse Project Release Notes
+
+ - Target Operating Environments
+ - Compatibility with Previous Releases
+
+ - Compatibility of Release 4.31 with 4.30
+
+ - Known Issues
+
+ - General - Startup
+
+ - Installation/Configuration issues that can cause Eclipse to fail start
+ - Invalid characters in install directory prevents Eclipse from starting
+
+ - Platform - Ant
+
+ - Custom Ant tasks and Ant types must be separate from plug-in library JARs
+ - XDoclet support from within Eclipse
+ - Ant Editor code completion based on Ant 1.6.x
+ - Setting build loggers not supported when debugging Ant builds
+ - Renaming an External Tool builder set to run during auto-build will cause errors
+ - Slow typing/saving of the Ant editor with imports that define numerous macrodefs
+ - Ant 1.8.x reports missing libraries as build failures
+
+ - Platform - User Assistance
+
+ - Welcome page not displayed properly (Linux/Unix)
+ - Help browser tool bar buttons do not work for some documents
+ - Help documents not displayed in a browser or very slow document loading (Windows only)
+ - Working disconnected from the network (Windows only)
+ - Using Internet Explorer in offline mode (Windows only)
+
+ - Platform - UI
+
+ - Dirty state not tracked properly for OLE documents (Windows only)
+ - OLE document crashes can cause Eclipse to also crash (Windows only)
+ - Toolbars only containing contributed controls exhibit display errors on Mac/Linux
+ - Allocating enough memory and solving OutOfMemoryError
+ - Capabilities and Activities don't affect the menus and toolbars
+
+ - Platform - SWT
+
+ - Support for macOS 11 (Big Sur)
+ - Usage of swt.autoScale and GDK_SCALE flag on GTK platforms
+ - Non-uniform scaling of text vs. icons when using intermediate scaling factors on high-DPI displays
+ - Eclipse plug-in based on the SWT Browser throws exception
+ - Eclipse icon is duplicated in task-bar on Windows
+ - BIDI Segments in Text controls
+ - Block Selection functionality provided by StyledText is not BIDI aware
+
+ - Platform - Install/Update
+
+ - Manually installing features and plug-ins on a FAT file system (Windows only)
+ - Connecting to untrusted sites using https
+ - Extension location is lost if the install path changes
+
+ - Java development tools (JDT)
+
+ - Cut, copy, paste not working for linked resources in views showing Java elements
+ - Java working sets not working correctly for elements from JRE system library container
+ - Suspend on uncaught exception overrides exception breakpoint location filters
+ - Running Java programs with non-Latin-1 characters in package or class names
+ - Cannot run or debug class in a project with GB18030 characters in project name
+ - Cannot detect installed JRE with GB18030 characters in path name
+ - Cannot generate Javadoc for packages with GB18030 characters in the name
+ - Unable to debug stack overflows
+ - Evaluation limitation
+ - Missing debug attributes
+ - Using Hot Code Replace
+ - Scrapbook
+ - Debugging over slow connections
+ - Updating of inspected values
+ - Stepping over native methods that perform I/O
+ - Java indexing encounters problems when a folder is used both as a source and a class folder
+
+ - Plug-in Development Environment (PDE)
+
+ - Feature manifest editor does not preserve all comments
+ - PDE will not unzip source zips of some plug-ins
+ - Emacs key bindings do not work in manifest editor fields
+ - Export of plug-in may silently drop classes
+ - Compilation errors when exporting projects not stored outside of the workspace
+ - Headless build needs to be run from a fully qualified path
+ - Importing in Eclipse application fails if plug-in exists in host workspace
+ - Reusing a workspace after changing architectures silently breaks PDE models
+ - Missing @since tag API Tools problems on interface fields containing @noreference tag
+
+
+
+
+ - Running Eclipse
+
+ - Allocating enough memory and solving OutOfMemoryErrors
+ - Selecting a workspace
+ - Specifying the Java virtual machine
+ - Mac OS X
+ - Shared Install
+
+ - Upgrading Workspace from a Previous Release
+
+ - Users who don't use "-data"
+ - Users who do use "-data"
+ - Users who use User Libraries or classpath containers that contain JARs referencing other libraries via Class-Path in the MANIFEST.MF
+ - Dropped in bundles may not resolve after upgrade
+
+ - Interoperability with Previous Releases
+
+ - Interoperability of Release 4.31 with previous releases
+
+ - Sharing projects between heterogeneous Eclipse 4.31 and 4.30
+ - Using Eclipse 4.31 to develop plug-ins that work in Eclipse 4.30
+
+
+
+
+
+ Target Operating Environments
+
+ In order to remain current, each Eclipse Project release targets reasonably current operating environments.
+ Most of the Eclipse SDK is "pure" Java code and has no direct dependence on the underlying operating system. The chief dependence is therefore on the Java Platform itself. Portions are
+ targeted to specific classes of operating environments, requiring their source code to only reference facilities available in particular class libraries (e.g. J2ME Foundation 1.1, J2SE 1.4, Java
+ 5, etc).
+ In general, the 4.31 release of the Eclipse Project is developed on Java SE 17 VMs. As such, the Eclipse SDK as a whole is targeted at all modern, desktop Java VMs.
+
+ Appendix 1 contains a table that indicates the class library level required for each bundle.
+
+
+ There are many different implementations of the Java Platform running atop a variety of operating systems. We focus our testing on a handful of popular combinations of operating system and Java
+ Platform; these are our reference platforms. Eclipse undoubtedly runs fine in many operating environments beyond the reference platforms we test. However, since we do not systematically
+ test them we cannot vouch for them. Problems encountered when running Eclipse on a non-reference platform that cannot be recreated on any reference platform will be given lower priority than
+ problems with running Eclipse on a reference platform.
+
+
+ Eclipse 4.31 is tested and validated on a number of reference platforms. For the complete list, see Target Environments in the
+ 4.31 Plan.
+
+
+ As stated above, we expect that Eclipse works fine on other current Java VM and OS versions but we cannot flag these as reference platforms without significant community support for testing
+ them.
+
+ The Eclipse SDK is designed as the basis for internationalized products. The user interface elements provided by the Eclipse SDK components, including dialogs and error messages, are
+ externalized. The English strings are provided as the default resource bundles.
+ Latin-1, DBCS, and BiDi locales are supported by the Eclipse SDK on all reference platforms.
+ The Eclipse SDK supports GB 18030 (level 1), the Chinese code page standard, on Windows, Linux and the Macintosh.
+ German and Japanese locales are tested.
+
+
+
+ Eclipse 4.31 is compatible with Eclipse 4.30 (and all earlier 4.x and 3.x versions).
+
+
+ API Contract Compatibility: Eclipse SDK 4.31 is upwards contract-compatible with Eclipse SDK 4.30 except in those areas noted in the
+ Eclipse 4.31 Plug-in Migration Guide. Programs that use affected APIs and extension points
+ will need to be ported to Eclipse SDK 4.31 APIs. Downward contract compatibility is not supported. There is no guarantee that compliance with Eclipse SDK 4.31 APIs would ensure compliance with
+ Eclipse SDK 4.30 APIs. Refer to Evolving Java-based APIs for a discussion of the kinds of API changes that maintain contract
+ compatibility.
+
+
+ Binary (plug-in) Compatibility: Eclipse SDK 4.31 is upwards binary-compatible with Eclipse SDK 4.30 except in those areas noted in the Eclipse 4.31 Plug-in Migration Guide . Downward plug-in compatibility is not supported.
+ Plug-ins for Eclipse SDK 4.31 will not be usable in Eclipse SDK 4.30. Refer to Evolving Java-based APIs for a discussion of
+ the kinds of API changes that maintain binary compatibility.
+
+
+ Source Compatibility: Eclipse SDK 4.31 is upwards source-compatible with Eclipse SDK 4.30 except in the areas noted in the Eclipse 4.31 Plug-in Migration Guide . This means that source files written to use Eclipse
+ SDK 4.31 APIs might successfully compile and run against Eclipse SDK 4.30 APIs, although this is not guaranteed. Downward source compatibility is not supported. If source files use new Eclipse SDK
+ APIs, they will not be usable with an earlier version of the Eclipse SDK.
+
+
+ Workspace Compatibility: Eclipse SDK 4.31 is upwards workspace-compatible with earlier 3.x and 4.x versions of the Eclipse SDK unless noted. This means that workspaces and projects
+ created with Eclipse SDK 4.30, 4.29, 4.28, 4.27, 4.26, 4.25, 4.24, 4.23, 4.22, 4.21, 4.20, 4.19, 4.18, 4.17, 4.16, 4.15, 4.14, 4.13, 4.12, 4.11, 4.10, 4.9, 4.8, 4.7, 4.6, 4.5 and 4.4 can be successfully opened by Eclipse SDK 4.31 and upgraded to a 4.31 workspace. This includes both hidden metadata, which is localized to a
+ particular workspace, as well as metadata files found within a workspace project (e.g., the .project file), which may propagate between workspaces via file copying or team repositories. Individual
+ plug-ins developed for Eclipse SDK 4.31 should provide similar upwards compatibility for their hidden and visible workspace metadata created by earlier versions; 4.31 plug-in developers are
+ responsible for ensuring that their plug-ins recognize metadata from earlier versions and process it appropriately. User interface session state may be discarded when a workspace is upgraded.
+ Downward workspace compatibility is not supported. A workspace created (or opened) by a product based on Eclipse 4.31 will be unusable with a product based on an earlier version of Eclipse. Visible
+ metadata files created (or overwritten) by Eclipse 4.31 will generally be unusable with earlier versions of Eclipse.
+
+
+ Non-compliant usage of API's: All non-API methods and classes, and certainly everything in a package with "internal" in its name or x-internal in the bundle manifest entry, are
+ considered implementation details which may vary between operating environment and are subject to change without notice. Client plug-ins that directly depend on anything other than what is
+ specified in the Eclipse SDK API are inherently unsupportable and receive no guarantees about compatibility within a single release much less with earlier releases. Refer to How to Use the Eclipse API for information about how to write compliant plug-ins.
+
+
+
+ Note: Bug numbers refer to the Eclipse project bug database at http://bugs.eclipse.org/bugs/
+
+
+
+
+ Here are some common problems that can cause Eclipse not to start:
+
+
+ - As shown above, Eclipse 4.31 requires at least a Java SE 17. Perhaps an older version of the VM is being found in your path. To
+ explicitly specify which VM to run with, use the Eclipse
-vm command-line argument. (See also the Running Eclipse section below.)
+ - Eclipse must be installed to a clean directory and not installed over top of a previous installation. If you have done this then please re-install to a new directory. If your workspace is
+ in a child directory of your old installation directory, then see the instructions below on "Upgrading Workspace from a Previous Release".
+
+ - Java sometimes has difficulty detecting whether a file system is writable. In particular, the method java.io.File.canWrite() appears to return true in unexpected cases (e.g., using
+ Windows drive sharing where the share is a read-only Samba drive). The Eclipse runtime generally needs a writable configuration area and as a result of this problem, may erroneously detect the
+ current configuration location as writable. The net result is that Eclipse will fail to start and depending on the circumstances, may fail to write a log file with any details. To work around
+ this, we suggest users experiencing this problem set their configuration area explicitly using the
-configuration command line argument. (bug 67719)
+
+
+
+
+ Eclipse will fail to launch if installed in a directory whose path contains certain invalid characters, including :%#<>"!. The workaround is to install Eclipse
+ in a directory whose path does not contain invalid characters. (bugs 3109 and 17281)
+
+
+
+
+ Including the class files for custom Ant tasks or Ant types in the regular code JAR for your plug-in causes problems. These class files must be provided in a separate
+ JAR that is contributed to the org.eclipse.ant.core.antTasks or antTypes extension point (and not declared as a library in the plug-in's manifest). This ensures that
+ the Ant tasks and types are loaded by the special Ant class loader and not by a plug-in classloader. (bug
+ 34466).
+
+
+
+ Since there are differences when running Ant from the commandline and within Eclipse, some extra steps may be needed to have XDoclet support function correctly within
+ Eclipse. Problems may occur creating XDoclet subtasks. The workarounds and full discussion can be found in bug report. (bug 37070)
+
+
+
+ Code completion provided by the Ant editor does not respect the user-specified version of org.eclipse.ant.core plug-in or ANT_HOME. Code completion proposals are mostly
+ based on Ant 1.6.x with some updates to Ant 1.8.3 (bug bug 193046)
+
+
+
+ When debugging Ant builds within Eclipse, setting -logger as a program argument will be ignored.
+
+
+
+
+ If you rename an existing external tool builder that is configured to run during auto-builds, you will get the following error: Errors during build. Errors running
+ builder "Integrated External Tool Builder" on project <PROJECT_NAME>. The builder launch configuration could not be found. The workaround is to first disable the builder for auto-builds
+ and then rename the builder. (bug 118294)
+
+
+
+ The Ant editor is slow on saving with buildfiles that have <import> declarations of buildfiles that have numerous <macrodef>s. See bug 125117 for a possible workaround
+
+
+
+ In Ant 1.8.x, if you try to use a task that requires additional libraries and you do not have the libraries on the Ant classpath, the build will now properly report as
+ failed. In previous versions of Ant, the build would still report that it had succeeded even though it actually failed to run any of the tasks from additional bundles. See bug 344518.
+
+
+ For more information on tasks that require additional bundles please refer to the Ant 1.8.2 release notes and
+ the Optional Tasks section in the Ant manual.
+
+
+
+
+ The default Welcome implementation is HTML-based and requires a supported browser in order to work. If no supported browser can be found, Welcome falls back to its
+ Forms-based implementation, which has a different (simpler) appearance. Consult the SWT FAQ for supported browsers and setting
+ up your browser to work with eclipse.
+
+
+
+ The Help browser's Print, Synchronize, and Bookmark buttons do not work for pages that are not actually installed with the product. However, you can always use the
+ print command in the browser's context menu to print the page you're reading. (bug 44216)
+
+
+
+ If your LAN settings are not properly configured for local host access, your Help browser might open to a blank page or display an HTTP error instead of a help page, or
+ you may experience long delays when loading help documents. Your system administrator can configure your LAN settings so that help documents can be accessed from the local help server.
+
+
+
+ - In the Control Panel, open Internet Options, select the Connections tab and choose LAN Settings.
+
+ - If your host was configured to use DHCP for IP assignment, make sure that the "Automatically detect settings" check box is cleared.
+ - If you use a proxy server, ensure that the "Bypass proxy server for local addresses" is selected.
+ - In "Advanced" settings for proxies, add "127.0.0.1;localhost" to the "Exceptions" if these addresses are not listed.
+ - If you are using an automatic configuration script for proxy settings, and are not sure that the script is correct, clear the "Use automatic configuration script"
+ check box.
+
+
+
+
+ If you are experiencing problems when not connected to the network, you must install the loopback adapter from the Windows installation CD. (bug 831)
+
+
+
+ If you have been using Internet Explorer in Offline mode, when you access the help system you will get a message indicating that the web page you requested is not
+ available offline or a blank page will display. Click Connect or deselect "Work Offline" in the Internet Explorer "File" menu to return the system behavior to normal.
+
+
+
+
+
+ The dirty state for an OLE document is not updated properly. This causes Eclipse to prompt to save the contents of the editor when the document is closed, even if the
+ contents have already been saved. (bug 2564)
+
+
+
+ If an OLE document crashes, Eclipse can crash, or the workbench menus can become inconsistent.
+
+
+
+ Currently there is no way on the Max or Linux platforms to define the height for controls contributed to toolbars, nor will those platforms respect the size
+ returned by the control's computeSize method. If you encounter this issue there is currently no truly viable workaround. (bug
+ 183003)
+
+
+
+ The native launcher checks the JVM but PDE launches simply use java and don't go through the native launchers. The workaround is to add the appropriate JVM arg to your
+ launch config or to the Preferences > Java > Installed JREs. (bug
+ 339763)
+
+
+
+ Capabilities used to hide GUI elements like menu entries work for commands and individual actionSet entries, but Capabilities have not been fully implemented. (bug 359778)
+
+
+
+
+ Eclipse/SWT 4.22 onwards supports macOS 11 (Big Sur). Most of issues that were identified have been addressed.
+
+
+
+ With new implementation of hi-dpi support we are directly working with GTK3. So the users may see non-uniform scaling when you use swt.autoScale and GDK_SCALE flags.
+ Workaround is to set the scalefactor in display settings.
+
+
+
+ Eclipse automatically scales images on high-DPI monitors based on the resolution of the monitor. However, this scaling works only with integer scaling factors like
+ 100%, 200% etc by default. So, at intermediate scaling factors like 150%, 175% etc., its likely that the icons and text are scaled differently as the text scaling is handled directly by the
+ operating system.
+
+
+
+ The SWT Browser widget uses a platform-specific web browser to render HTML. The org.eclipse.swt.SWTError exception ("No more handles") is thrown on platforms that don't
+ meet the requirements for running the Browser widget. Supported platforms and prerequisites are listed on the SWT FAQ item
+ "Which platforms support the SWT Browser?".
+
+
+
+ Workaround is to pin the launched eclipse application and not the launcher, for more details, refer bug 314805
+
+
+
+ BIDI Segments in Text controls only work on Windows and GTK. (bug 388578)
+
+
+
+ When the orientation of characters under the left and right edges of the block selection rectangle are not the same, the actual selection ranges (in memory) differ
+ from the visual representation of the selection. (bug 277929)
+
+
+
+ The following are known problems with the CVS repository provider only, and do not apply to other repository providers. Additional information on how to use CVS from
+ Eclipse can be found in the Eclipse CVS FAQ.
+
+
+
+ The CVS plug-in parses messages returned from the CVS server. If the format of these messages is not as expected, some of the plug-in's functionality may be missing.
+ The CVS plug-in is compatible with all stable 1.11.X builds of the CVS server, and should be compatible with future releases in that stream unless text message formats change (the last tested
+ server was 1.11.22). As for the 1.12.X feature releases of CVS, the Eclipse CVS client has been tested with builds up to 1.12.13. However, future releases could easily break the Eclipse CVS
+ client. Basic functionality, such as Checkout, Commit, and Update, should always work, but there may be problems with more advanced commands such as Synchronizing and Browsing the repository.
+
+
+
+ If a connection initially fails due to a network problem, the connection may continue to fail even when the network problem is fixed. In order to establish the
+ connection you must exit and restart Eclipse. (bug 9295)
+
+
+
+ Eclipse sometimes performs multiple commands within a single connection to the server. This may cause problems with CVS servers that are running server scripts in
+ response to certain commands. (bugs 23575 and 23581)
+
+
+
+ There is a bug in the CVS server related to some compression levels. If you get this error, changing the compression level on the CVS preference page may help. (bug 15724)
+
+
+
+ There are a few situations that can result in an "Unknown response" error messages when using the ext connection method. One situation involves using an external
+ communications client (e.g. rsh or ssh) that adds CRs to the communications channel (bug 21180). Another involves Eclipse not
+ properly reading the stderr output of the external communications tool. (bug 11633)
+
+
+
+ New in 3.0 is the ability to disable capabilities and the CVS support in Eclipse can be disabled. However, for backwards compatibility the CVS capability is
+ auto-enabled in existing workspaces that already contain CVS projects. The auto-enabling function may not run if the team support plugin is not loaded at startup. (bug 66977)
+
+
+
+ When folders containing build output are shared they may get improperly marked as dirty when build output is generated.
+
+
+
+ GNOME applications can make use of proxy settings defined in this environment. If set, Eclipse will use it prior to proxy settings declared using env variables. This
+ feature is disabled by default, to enable it launch Eclipse with "-Dorg.eclipse.core.net.enableGnome" switch. That is,
+
+
+
+ eclipse -Dorg.eclipse.core.net.enableGnome
+
+
+
+
+ When features and plug-ins are manually installed on top of an Eclipse-based product install located on a FAT file system that has already been run at least once, the
+ product must be explicitly restarted with -clean. That is,
+
+
+ eclipse.exe -clean
+
+
+
+ You cannot install or update software from a site using https whose certificate is not chained to a trusted root certificate in your local certificate store. This
+ typically means the server is using a self-signed certificate, or a certificate authenticated by an unknown third party.
+
+
+
+ A previously configured extension location may be temporarily removed if the install is moved or mounted under a different path. This only happens when the link file
+ that configures the extension location uses a relative path that points to a directory under the Eclipse install. On a second startup using the same install path, the extension location is added
+ again (bug 95403).
+
+
+
+
+ The cut, copy, and paste actions do not work for linked files and folders appearing in views that show Java elements, including the Package Explorer. The workaround is
+ to use these actions from the Navigator view instead. (bug 34568)
+
+
+
+ Applying a working set consisting entirely of elements from the JRE System library container as a filter to the packages view might result in an empty Package
+ Explorer. (bug 30442)
+
+
+
+ Exception breakpoints can be configured with location filters (inclusive and exclusive). When an unchecked exception is configured to not suspend execution in a
+ specific class, execution will still suspend when the user preference to suspend on uncaught exceptions is on. (bug
+ 66770)
+
+
+
+ You get a java.lang.NoClassDefFoundError when running Java programs with non-Latin characters in the package or class names. The workaround is to package
+ the class files as a JAR file and run the program out of the JAR and not from the file system directly. (bug
+ 4181)
+
+
+
+ Most class libraries do not properly support the creation of a system process (via java.lang.Runtime.exec(...) ) when the specified command line contains
+ GB18030 characters. This limitation means the debugger cannot launch applications when the command line it generates contains GB18030 characters. (bug
+ 32206)
+
+
+
+ Automatic JRE detection fails when the JRE is stored in a directory containing GB18030 characters in its name. (bug 33844)
+
+
+
+ Most class libraries do not properly support the creation of a system process (via java.lang.Runtime.exec(...) ) when the specified command line contains
+ 32215)
+
+
+
+ If a debug session suspends on a java.lang.StackOverflowError exception (due to an exception breakpoint), the debugger may not be able to retrieve any
+ debug information from the target JVM. As well, the debugger may not be able to reliably interact with the target JVM past this point. (bug
+ 19217)
+
+
+
+ The debugger uses threads in the target JVM to perform evaluations (both explicit evaluations that the user requests, and implicit evaluations such as toString()
+ invocations in the Variables view). The Java Debug Interface (JDI) requires that the thread in which an evaluation is performed be suspended by a user event (that is, a breakpoint or step
+ request). Evaluations cannot be performed on threads suspended by the suspend action. As well, when a breakpoint is configured to suspend the JVM rather than just the individual thread, the
+ threads which did not encounter the breakpoint are not in a valid state to perform an evaluation. When an evaluation is attempted in a thread that is not in a valid state to perform an
+ evaluation, an error message will appear to the effect of "Thread must be suspended by step or breakpoint to perform method invocation". (bug
+ 34440)
+
+
+
+ The debugger requires that class files be compiled with debug attributes if it is to be able to display line numbers and local variables. Quite often, class libraries
+ (for example, " rt.jar ") are compiled without complete debug attributes, and thus local variables and method arguments for those classes are not visible in the debugger.
+
+
+
+
+ Hot code replace is supported on JDK 1.4.x VMs, and IBM J9 VMs. The debugger will attempt to replace all class files that change in the workspace as the user edits and
+ builds source code. However, hot code replace is limited to changes that a particular virtual machine implementation supports. For example, changes within existing methods may be supported, but
+ the addition or removal of members may not be.
+
+
+
+ Setting a breakpoint inside a scrapbook page is not supported.
+
+
+ When a snippet is run in the scrapbook which directly or indirectly calls System.exit(int) , the evaluation cannot be completed, and will result in a
+ stack trace for a com.sun.jdi.VMDisconnectedException being displayed in the scrapbook editor.
+
+
+
+ Terminating a scrapbook page while it is performing an evaluation results in a com.sun.jdi.VMDisconnectedException being displayed in the scrapbook
+ editor.
+
+
+
+
+ A global Java debug preference specifies the debugger timeout, which is the maximum amount of time the debugger waits for a response from the target VM after making a
+ request of that VM. Slow connections may require that this value be increased. The timeout value can be edited from the Java > Debug preference page. Changing the timeout value only
+ affects subsequently launched VM, not VMs that are already running.
+
+
+
+
+ When inspecting the result of an evaluated expression in the debugger, it is important to note that the result displayed is the result of that expression at the time it
+ was evaluated. For example, when inspecting a simple integer counter (primitive data type), the value displayed in the Expressions view is the value when the expression was evaluated. As the
+ counter is changed in the running program, the inspected result will not change (since the view is not displaying the value bound to a variable - it is displaying the value of an expression, and
+ the value of a primitive data type cannot change). However, if an expression results in an object, fields of that object will be updated in the inspector as they change in the running program
+ (since the value bound to fields in an object can change).
+
+
+
+ When the debugger steps over native methods that perform I/O to System.out or System.err, the output may not appear immediately unless the
+ native performs a flush on the output buffer.
+
+
+
+
+ Java indexing encounters problems when a folder is used both as a source folder in a project and as a class folder in another project. Hence, when this peculiar setup
+ is used, the Java Search might miss matches located in such a folder. To avoid this kind of problem, it is strongly advised to use different folders for sources and binary classes. (bug 309903)
+
+
+
+
+ When a non-source page of the feature manifest editor is used, PDE will convert changes back into XML by regenerating the file. Although the overall content and most
+ of the comments are preserved, some comments may be lost. (bug 59502)
+
+
+
+ In the plug-in import wizard, when you choose to import plug-ins as "projects with source folders", PDE will not unzip the source for the org.apache.ant. This is
+ because the source ZIPs contains code that will not compile when unzipped as it requires additional JARs that are not part of the SDK. To avoid the creation of plug-in projects that won't
+ compile, PDE will import these plug-ins as binary and attach source, so you would still be able to read the source, you just won't be able to modify it. Also, PDE will not unzip the source for
+ the org.eclipse.swt plug-ins. In this case, it is because, when shipped, the swt code is spread across a plug-in and a fragment, and when unzipped, it will require circular dependencies between
+ the plug-in and fragment projects. These circular dependencies are at minimum marked as warnings by the JDT compiler and may result in unpredictable build behavior. Therefore, PDE always imports
+ org.eclipse.swt as binary with source attached. (bug 66314)
+
+
+
+ Non-default key bindings currently do not work in fields on non-source pages of the PDE manifest editors. (bug 19482)
+
+
+
+ When exporting a plug-in using the plug-in, feature or product wizards, some classes might be dropped from the resulting archive if their fully qualified name is too
+ long. This typical path limitation can be worked around by creating the jar of the problematic plug-in by using the Jar export wizard. (bug 97150)
+
+
+
+ When exporting multiple plug-ins and one is stored outside of the workspace, compile errors occurs on export. To work around the problem, you can either export the
+ plug-ins one by one, or change their location. (bug 98579)
+
+
+
+ When running a headless build using the scripts provided by pde build, the properties builder and buildDirectory must refer to a fully
+ qualified path. (bug
+ 139554)
+
+
+
+ When running an Eclipse application (self-hosting) importing plug-ins will not work correctly if the plug-in being imported exists in the host Eclipse's workspace. This
+ is because PDE modifies the target platform of the application to point at the running plug-ins from the host (target weaving). This also affects the PDE test suite. (bug 294005)
+
+
+
+ If a workspace is reused on a machine with a different architecture, the PDE models used to build plug-ins may silently fail. To work around this problem, delete the
+ metadata in <workspace>/.metadata/.plugins/org.eclipse.pde.core. (bug 350172)
+
+
+
+ The Eclipse platform 4.6 release will not allow the API Tools @noreference tag on interface fields. This was changed because all interface fields are constant fields
+ that cannot support the @noreference restriction. The tag was allowed in previous releases and this usage will now be considered an API change requiring a @since tag. It is recommended that you
+ create an API Tools filter for the missing @since tag problem. This filter can be removed as soon as the API baseline has been regenerated. (bug 402393)
+
+
+
+
+ After installing the Eclipse SDK in a directory, you can start the Workbench by running the Eclipse executable included with the release (you also need a Java SE 17 JRE,
+ not included with the Eclipse SDK). With Oomph users can install required JRE courtesy of JustJ. On Windows, the executable file is called eclipse.exe , and is located in the eclipse sub-directory of the install. If installed at
+ c:\eclipse-SDK-4.31-win64 , the executable is c:\eclipse-SDK-4.31-win64\eclipse\eclipse.exe . Note: Set-up on most other operating environments is analogous.
+ Special instructions for Mac OS X are listed
+ below.
+
+
+
+ By default, Eclipse will allocate up to 1024 megabytes of Java heap memory. This should be ample for all typical development tasks. However, depending on the JRE that
+ you are running, the number of additional plug-ins you are using, and the number of files you will be working with, you could conceivably have to increase this amount. Eclipse allows you to pass
+ arguments directly to the Java VM using the -vmargs command line argument, which must follow all other Eclipse specific arguments. Thus, to increase the available heap memory, you
+ would typically use:
+
+
+
+
+ eclipse -vmargs -Xmx<memory size>
+
+
+
+
+ with the <memory size> value set to greater than "1024M" (1024 megabytes -- the default).
+
+
+
+ Note that setting memory sizes to be near or larger than the amount of available physical memory on your machine will cause Java to "thrash" as it copies objects back
+ and forth to virtual memory, which will severely degrade your performance.
+
+
+
+ When the Workbench is launched, the first thing you see is a dialog that allows you to select where the workspace will be located. The workspace is the directory where
+ your work will be stored. If you do not specify otherwise, Eclipse creates the workspace in your user directory. This workspace directory is used as the default content area for your projects as
+ well as for holding any required metadata. For shared or multi-workspace installs you must explicitly specify the location for your workspace using the dialog (or via the " -data "
+ command line argument).
+
+
+
+
+ Here is a typical Eclipse command line:
+
+
+
+ eclipse -vm c:\jdk11\bin\javaw
+
+
+
+
+ Tip: It's generally a good idea to explicitly specify which Java VM to use when running Eclipse. This is achieved with the " -vm " command line
+ argument as illustrated above. If you don't use " -vm ", Eclipse will look on the OS path. When you install other Java-based products, they may change your path and could result in
+ a different Java VM being used when you next launch Eclipse.
+
+
+
+ To create a Windows shortcut to an installed Eclipse:
+
+
+ - Navigate to
eclipse.exe in Windows Explorer and use Create Shortcut on the content menu.
+
+ - Select the shortcut and edit its Properties. In the Target: field append the command line arguments.
+
+
+ Opening this shortcut launches Eclipse. (You can drag the shortcut to the Windows Desktop if you want to keep it in easy reach.)
+
+
+
+ On Mac OS X, you start Eclipse by double clicking the Eclipse application. If you need to pass arguments to Eclipse, you'll have to edit the eclipse.ini
+ file inside the Eclipse application bundle: select the Eclipse application bundle icon while holding down the Control Key. This will present you with a popup menu. Select "Show Package Contents"
+ in the popup menu. Locate eclipse.ini file in the Contents/Eclipse sub-folder and open it with your favorite text editor to edit the command line options.
+
+
+
+ On MacOS X you can only launch a UI program more than once if you have separate copies of the program on disk. The reason for this behavior is that every UI
+ application on Mac can open multiple documents, so typically there is no need to open a program twice. Since Eclipse cannot open more than one workspace, this means you have to make a copy of
+ the Eclipse install if you want to open more then one workspace at the same time (bug 139319).
+
+ If you need to launch Eclipse from the command line, you can create a symbolic link such as "eclipse". It should point to the eclipse executable inside the application bundle and takes the
+ same arguments as "eclipse.exe" on other platforms.
+ On Mac OS X 10.4 and later, you may notice a slow down when working with significant numbers of resources if you allow Spotlight to index your workspace. To prevent this, start System
+ Preferences, select the Spotlight icon, then the Privacy tab, then click the Add button ("+") and find your workspace directory in the dialog that appears.
+
+
+ The startup speed of a shared install can be improved if proper cache information is stored in the shared install area. To achieve this, after unzipping Eclipse
+ distribution, run Eclipse once with the "-initialize" option from an account that has a write access to the install directory. See shared installs in Eclipse Help for more information.
+
+
+
+
+ If you weren't previously using "-data" to specify your workspace, follow these steps to upgrade:
+
+
+ - Find the workspace directory used by your old version of Eclipse. Typically this is located inside the directory in which Eclipse was installed in a sub-directory
+ called "
workspace". If you are using a shortcut or script to launch Eclipse, then it will be under the current working directory of that shortcut or script in a sub-directory
+ called "workspace". For Windows users, this is specified by the "Start in:" argument in your shortcut properties.
+
+
+ - Copy this workspace directory to a new, empty location outside of any Eclipse install directory.
+ - Install the new version of Eclipse in a new location, separate from any old version of Eclipse.
+ - If you had installed additional features and plug-ins into your old Eclipse, you should re-install them in the new Eclipse.
+ - Start this new version of Eclipse and select this location using the workspace chooser dialog at startup (or use "
-data" command line argument to
+ pre-select the workspace location).
+
+
+
+
+ If you were previously using the " -data " argument to start Eclipse, your upgrade path is much easier:
+
+
+
+ - Optionally copy your workspace directory to a new, empty location outside of any Eclipse install directory as a backup.
+ - Install the new version of Eclipse in a new location, separate from any old versions of Eclipse.
+ - If you had installed additional features and plug-ins into your old Eclipse, you should re-install them in the new Eclipse.
+ - Start this new version of Eclipse and select this location using the workspace chooser dialog at startup (or use "
-data" command line argument to
+ pre-select the workspace location).
+
+
+
+ Note: Copying your workspace is recommended because, after you've upgraded your workspace, you won't be able to use it again with an older version of Eclipse.
+ If you ever want to go "back in time" to an earlier release, you will need that backup.
+
+
+
+
+ If you want the referenced JAR files to be included in the classpath, you can do one of the following:
+
+
+
+
+ If you have installed bundles by dropping them into the plugins or dropins directory, they might no longer resolve when you upgrade to a new
+ Eclipse Platform version. In each new version of the Eclipse Platform, there are new versions of bundles included in the platform, and often a small number of removed bundles. This may cause
+ your previously dropped in bundles to no longer resolve and run. It is always recommended that you install software via the Help > Install New Software mechanism so you are made
+ aware of any install-time failure to resolve dependencies.
+
+
+
+
+
+ Special care is required when a project in a team repository is being loaded and operated on by developers using Eclipse-based products based on different feature or plug-in versions. The
+ general problem is that the existence, contents, and interpretation of metadata files in the workspaces may be specific to a particular feature or plug-in version, and differ between versions. The
+ workspace compatibility guarantees only cover cases where all developers upgrade their Eclipse workspaces in lock step. In those cases there should be no problem with shared metadata. However,
+ when some developers are working in Eclipse 4.31 while others are working in Eclipse 3.x, there are no such guarantees. This section provides advice for what to do and not to do. It addresses the
+ specific issues with the Eclipse SDK.
+ The typical failure mode is noticed by the 4.31 user. 4.30 metadata is lost when a 4.31 user saves changes and then commits the updated metadata files to the repository. Here's how things
+ typically go awry:
+
+
+ Here are some things to watch out for when sharing projects between Eclipse 4.31 and earlier releases:
+
+
+
+
+ It is also possible (and reasonable) to use Eclipse 4.31 to develop a plug-in intended to work in Eclipse 4.30 or earlier. Use the Plug-in Development > Target
+ Platform preference page to locate non-workspace plug-ins in an Eclipse 4.30 install. This ensures that the code for your plug-in is being compiled and tested against Eclipse 4.30 APIs,
+ extension points, and plug-ins. (The above list of concerns do not apply since they affect the layout and interpretation of files in the plug-in project but none affect the actual
+ deployed form of the plug-in.)
+
+
+
+ Sun, Solaris, Java and all Java-based trademarks are trademarks of Oracle Corporation. in the United States, other countries, or both.
+ IBM is a trademark of International Business Machines Corporation in the United States, other countries, or both.
+ Microsoft, Windows, Windows NT, Vista, and the Windows logo are trademarks of Microsoft Corporation in the United States, other countries, or both.
+ Apple and Mac OS are trademarks of Apple Computer, Inc., registered in the U.S. and other countries.
+ Other company, product, and service names may be trademarks or service marks of others.
+ (c) Copyright Eclipse Contributors 2009, 2023
+
+
\ No newline at end of file
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/Untitled1 - \345\211\257\346\234\254 (5).java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/Untitled1 - \345\211\257\346\234\254 (5).java"
index f01ac8f2a0ad32036f863f185c5ff96e73af6eb8..a30f4fd0d9ee09164e2b14f1afbe42bf37e38034 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/Untitled1 - \345\211\257\346\234\254 (5).java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/Untitled1 - \345\211\257\346\234\254 (5).java"
@@ -1,3 +1,7 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7aa19ca422c2fcbd62dcc475fced839bee2dcf39d9803a0daee747850055e79a
-size 104
+class
+{
+ public static void main(String[] args)
+ {
+ System.out.println("Hello World!");
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/Animation.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/Animation.class"
index ed6d8edbfe9e52f4576ecd87b1824eb65b78b451..3ee99b2c7200fa5dc5615943ef45d2969c25784a 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/Animation.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/Animation.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/AnimationFrame.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/AnimationFrame.class"
index c6b3e23e641bb0c0e6b8a8f6161bba0f70eef2e0..d3bb79e25121c1e2ad5c6efe8c0d4863fb46d50a 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/AnimationFrame.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/AnimationFrame.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/Animator.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/Animator.class"
index 32f3017054965d399007afce8f87de03848c9de5..9001343d6d91c39f4a07cfd47af97f312fb3d117 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/Animator.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/Animator.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/Animator.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/Animator.java"
index e2e526dfdaa5a0de2c99293856c259680956e7ff..40efe3ee21955fcc7a9a7a7fe9e8e40338218bbf 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/Animator.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/Animator.java"
@@ -1,3 +1,935 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4e7d0f6bf7fc2618c733ef63964e51ce037d51b087c6d7b4e542d63fd967fe12
-size 32290
+/*
+ *
+ * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+import java.applet.Applet;
+import java.applet.AudioClip;
+import java.awt.Button;
+import java.awt.Color;
+import java.awt.Frame;
+import java.awt.Graphics;
+import java.awt.Image;
+import java.awt.MediaTracker;
+import java.awt.Panel;
+import java.awt.Point;
+import java.awt.TextArea;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.InputEvent;
+import java.awt.event.MouseEvent;
+import java.awt.event.MouseListener;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+
+/**
+ * An applet that plays a sequence of images, as a loop or a one-shot.
+ * Can have a soundtrack and/or sound effects tied to individual frames.
+ * See the Animator
+ * home page for details and updates.
+ *
+ * @author Herb Jellinek
+ */
+@SuppressWarnings("serial")
+public class Animator extends Applet implements Runnable, MouseListener {
+
+ int appWidth = 0; // Animator width
+ int appHeight = 0; // Animator height
+ Thread engine = null; // Thread animating the images
+ boolean userPause = false; // True if thread currently paused by user
+ boolean loaded = false; // Can we paint yet?
+ boolean error = false; // Was there an initialization error?
+ Animation animation = null; // Animation this animator contains
+ String hrefTarget = null; // Frame target of reference URL if any
+ URL hrefURL = null; // URL link for information if any
+ static final String sourceLocation =
+ "http://java.sun.com/applets/applets/Animator/";
+ static final String userInstructions = "shift-click for errors, info";
+ static final int STARTUP_ID = 0;
+ static final int BACKGROUND_ID = 1;
+ static final int ANIMATION_ID = 2;
+
+ /**
+ * Applet info.
+ */
+ @Override
+ public String getAppletInfo() {
+ return "Animator v1.10 (02/05/97), by Herb Jellinek";
+ }
+
+ /**
+ * Parameter info.
+ */
+ @Override
+ public String[][] getParameterInfo() {
+ String[][] info = {
+ { "imagesource", "URL", "a directory" },
+ { "startup", "URL", "image displayed at start-up" },
+ { "backgroundcolor", "int", "background color (24-bit RGB number)" },
+ { "background", "URL", "image displayed as background" },
+ { "startimage", "int", "index of first image" },
+ { "endimage", "int", "index of last image" },
+ { "namepattern", "URL", "generates indexed names" },
+ { "images", "URLs", "list of image indices" },
+ { "href", "URL", "page to visit on mouse-click" },
+ { "target", "name", "frame to put that page in" },
+ { "pause", "int", "global pause, milliseconds" },
+ { "pauses", "ints", "individual pauses, milliseconds" },
+ { "repeat", "boolean", "repeat? true or false" },
+ { "positions", "coordinates", "path images will follow" },
+ { "soundsource", "URL", "audio directory" },
+ { "soundtrack", "URL", "background music" },
+ { "sounds", "URLs", "list of audio samples" }, };
+ return info;
+ }
+
+ /**
+ * Show a crude "About" box. Displays credits, errors (if any), and
+ * parameter values and documentation.
+ */
+ void showDescription() {
+ DescriptionFrame description = new DescriptionFrame();
+ description.tell("\t\t" + getAppletInfo() + "\n");
+ description.tell("Updates, documentation at " + sourceLocation + "\n\n");
+ description.tell("Document base: " + getDocumentBase() + "\n");
+ description.tell("Code base: " + getCodeBase() + "\n\n");
+
+ Object errors[] = animation.tracker.getErrorsAny();
+ if (errors != null) {
+ description.tell("Applet image errors:\n");
+ for (int i = 0; i < errors.length; i++) {
+ if (errors[i] instanceof Image) {
+ AnimationFrame frame = animation.frames.get(i);
+ URL url = frame.imageLocation;
+ if (url != null) {
+ description.tell(" " + url + " not loaded\n");
+ }
+ }
+ }
+ description.tell("\n");
+ }
+ if (animation.frames == null || animation.frames.isEmpty()) {
+ description.tell("\n** No images loaded **\n\n");
+ }
+ description.tell("Applet parameters:\n");
+ description.tell(" width = " + getParameter("WIDTH") + "\n");
+ description.tell(" height = " + getParameter("HEIGHT") + "\n");
+ String params[][] = getParameterInfo();
+ for (String[] param : params) {
+ String name = param[0];
+ description.tell(" " + name + " = " + getParameter(name)
+ + "\t [" + param[2] + "]\n");
+ }
+ description.setVisible(true);
+ }
+
+ /**
+ * Local version of getParameter for debugging purposes.
+ */
+ public String getParam(String key) {
+ String result = getParameter(key);
+ return result;
+ }
+
+ /**
+ * Get parameters and parse them
+ */
+ public void handleParams() {
+ try {
+ String param = getParam("IMAGESOURCE");
+ animation.imageSource = (param == null) ? getDocumentBase()
+ : new URL(getDocumentBase(), param + "/");
+
+ String href = getParam("HREF");
+ if (href != null) {
+ try {
+ hrefURL = new URL(getDocumentBase(), href);
+ } catch (MalformedURLException e) {
+ showParseError(e);
+ }
+ }
+
+ hrefTarget = getParam("TARGET");
+ if (hrefTarget == null) {
+ hrefTarget = "_top";
+ }
+ param = getParam("PAUSE");
+ if (param != null) {
+ animation.setGlobalPause(Integer.parseInt(param));
+ }
+ param = getParam("REPEAT");
+ animation.repeat = (param == null) ? true
+ : (param.equalsIgnoreCase("yes")
+ || param.equalsIgnoreCase("true"));
+ int startImage = 1;
+ int endImage = 1;
+ param = getParam("ENDIMAGE");
+ if (param != null) {
+ endImage = Integer.parseInt(param);
+ param = getParam("STARTIMAGE");
+ if (param != null) {
+ startImage = Integer.parseInt(param);
+ }
+ param = getParam("NAMEPATTERN");
+ animation.prepareImageRange(startImage, endImage, param);
+ } else {
+ param = getParam("STARTIMAGE");
+ if (param != null) {
+ startImage = Integer.parseInt(param);
+ param = getParam("NAMEPATTERN");
+ animation.prepareImageRange(startImage, endImage, param);
+ } else {
+ param = getParam("IMAGES");
+ if (param == null) {
+ showStatus("No legal IMAGES, STARTIMAGE, or ENDIMAGE "
+ + "specified.");
+ error = true;
+ return;
+ } else {
+ animation.parseImages(param, getParam("NAMEPATTERN"));
+ }
+ }
+ }
+
+ param = getParam("BACKGROUND");
+ if (param != null) {
+ animation.backgroundImageURL = new URL(animation.imageSource,
+ param);
+ }
+ param = getParam("BACKGROUNDCOLOR");
+ if (param != null) {
+ animation.backgroundColor = decodeColor(param);
+ }
+ param = getParam("STARTUP");
+ if (param != null) {
+ animation.startUpImageURL = new URL(animation.imageSource,
+ param);
+ }
+ param = getParam("SOUNDSOURCE");
+ animation.soundSource = (param == null) ? animation.imageSource
+ : new URL(getDocumentBase(), param + "/");
+ param = getParam("SOUNDS");
+ if (param != null) {
+ animation.parseSounds(param);
+ }
+ param = getParam("PAUSES");
+ if (param != null) {
+ animation.parseDurations(param);
+ }
+ param = getParam("POSITIONS");
+ if (param != null) {
+ animation.parsePositions(param);
+ }
+ param = getParam("SOUNDTRACK");
+ if (param != null) {
+ animation.soundTrackURL = new URL(
+ animation.soundSource, param);
+ }
+ } catch (MalformedURLException e) {
+ showParseError(e);
+ } catch (ParseException e) {
+ showParseError(e);
+ }
+ }
+
+ private Color decodeColor(String s) {
+ int val = 0;
+ try {
+ if (s.startsWith("0x")) {
+ val = Integer.parseInt(s.substring(2), 16);
+ } else if (s.startsWith("#")) {
+ val = Integer.parseInt(s.substring(1), 16);
+ } else if (s.startsWith("0") && s.length() > 1) {
+ val = Integer.parseInt(s.substring(1), 8);
+ } else {
+ val = Integer.parseInt(s, 10);
+ }
+ return new Color(val);
+ } catch (NumberFormatException e) {
+ return null;
+ }
+ }
+
+ /**
+ * Initialize the applet. Get parameters.
+ */
+ @Override
+ public void init() {
+ //animation.tracker = new MediaTracker(this);
+ appWidth = getSize().width;
+ appHeight = getSize().height;
+ animation = new Animation(this);
+ handleParams();
+ animation.init();
+ addMouseListener(this);
+ Thread me = Thread.currentThread();
+ me.setPriority(Thread.MIN_PRIORITY);
+ userPause = false;
+ }
+
+ @Override
+ public void destroy() {
+ removeMouseListener(this);
+ }
+
+ void tellLoadingMsg(String file, String fileType) {
+ showStatus("Animator: loading " + fileType + " " + file);
+ }
+
+ void tellLoadingMsg(URL url, String fileType) {
+ tellLoadingMsg(url.toExternalForm(), fileType);
+ }
+
+ void clearLoadingMessage() {
+ showStatus("");
+ }
+
+ void loadError(String fileName, String fileType) {
+ String errorMsg = "Animator: Couldn't load " + fileType + " "
+ + fileName;
+ showStatus(errorMsg);
+ System.err.println(errorMsg);
+ error = true;
+ repaint();
+ }
+
+ void loadError(URL badURL, String fileType) {
+ loadError(badURL.toExternalForm(), fileType);
+ }
+
+ void showParseError(Exception e) {
+ String errorMsg = "Animator: Parse error: " + e;
+ showStatus(errorMsg);
+ System.err.println(errorMsg);
+ error = true;
+ repaint();
+ }
+
+ /**
+ * Run the animation. This method is called by class Thread.
+ * @see java.lang.Thread
+ */
+ @Override
+ public void run() {
+ Thread me = Thread.currentThread();
+
+ if (animation == null) {
+ return;
+ }
+ if (animation.frames == null) {
+ return;
+ }
+ if ((appWidth <= 0) || (appHeight <= 0)) {
+ return;
+ }
+
+ try {
+ animation.startPlaying();
+
+ while (engine == me) {
+ // Get current frame and paint it, play its sound
+ AnimationFrame thisFrame = animation.frames.get(
+ animation.currentFrame);
+ repaint();
+ if (thisFrame.sound != null) {
+ thisFrame.sound.play();
+ }
+
+ animation.currentFrame++;
+ // Check if we are done
+ if (animation.currentFrame >= animation.frames.size()) {
+ if (animation.repeat) {
+ animation.currentFrame = 0;
+ } else {
+ return;
+ }
+ }
+
+ // Pause for duration or longer if user paused
+ try {
+ Thread.sleep(thisFrame.duration);
+ synchronized (this) {
+ while (userPause) {
+ animation.stopPlaying();
+ wait();
+ }
+ }
+ } catch (InterruptedException e) {
+ }
+ }
+ } finally {
+ synchronized (this) {
+ if (engine == me) {
+ animation.stopPlaying();
+ }
+ }
+ }
+ }
+
+ /**
+ * No need to clear anything; just paint.
+ */
+ @Override
+ public void update(Graphics g) {
+ paint(g);
+ }
+
+ /**
+ * Paint the current frame
+ */
+ @Override
+ public void paint(Graphics g) {
+ if (error || !loaded) {
+ if (animation.startUpImage != null) {
+ if (animation.tracker.checkID(STARTUP_ID)) {
+ if (animation.backgroundColor != null) {
+ g.setColor(animation.backgroundColor);
+ g.fillRect(0, 0, appWidth, appHeight);
+ }
+ g.drawImage(animation.startUpImage, 0, 0, this);
+ }
+ } else {
+ if ((animation.backgroundImage != null)
+ && (animation.tracker.checkID(BACKGROUND_ID))) {
+ g.drawImage(animation.backgroundImage, 0, 0, this);
+ } else {
+ g.clearRect(0, 0, appWidth, appHeight);
+ }
+ }
+ } else {
+ animation.paint(g);
+ }
+ }
+
+ /**
+ * Start the applet by forking an animation thread.
+ */
+ @Override
+ public void start() {
+ engine = new Thread(this);
+ engine.start();
+ showStatus(getAppletInfo());
+ }
+
+ /**
+ * Stop the insanity, um, applet.
+ */
+ @Override
+ public synchronized void stop() {
+ engine = null;
+ animation.stopPlaying();
+ if (userPause) {
+ userPause = false;
+ notify();
+ }
+ }
+
+ /**
+ * Pause the thread when the user clicks the mouse in the applet.
+ * If the thread has stopped (as in a non-repeat performance),
+ * restart it.
+ */
+ @Override
+ public synchronized void mousePressed(MouseEvent event) {
+ event.consume();
+ if ((event.getModifiers() & InputEvent.SHIFT_MASK) != 0) {
+ showDescription();
+ return;
+ } else if (hrefURL != null) {
+ // Let mouseClicked handle this.
+ return;
+ } else if (loaded) {
+ userPause = !userPause;
+ if (!userPause) {
+ animation.startPlaying();
+ notifyAll();
+ }
+ }
+ }
+
+ @Override
+ public void mouseClicked(MouseEvent event) {
+ if ((hrefURL != null)
+ && ((event.getModifiers() & InputEvent.SHIFT_MASK) == 0)) {
+ // Note: currently ignored by appletviewer
+ getAppletContext().showDocument(hrefURL, hrefTarget);
+ }
+
+ showStatus(getAppletInfo() + " -- " + userInstructions);
+ }
+
+ @Override
+ public void mouseReleased(MouseEvent event) {
+ }
+
+ @Override
+ public void mouseEntered(MouseEvent event) {
+ }
+
+ @Override
+ public void mouseExited(MouseEvent event) {
+ }
+}
+
+
+/**
+ * A class that represents an animation to be displayed by the applet
+ */
+class Animation extends Object {
+
+ static final int STARTUP_ID = 0;
+ static final int BACKGROUND_ID = 1;
+ static final int ANIMATION_ID = 2;
+ static final String imageLabel = "image";
+ static final String soundLabel = "sound";
+ int globalPause = 1300; // global pause in milliseconds
+ List frames = null; // List holding frames of animation
+ int currentFrame; // Index into images for current position
+ Image startUpImage = null; // The startup image if any
+ Image backgroundImage = null; // The background image if any
+ AudioClip soundTrack = null; // The soundtrack for this animation
+ Color backgroundColor = null; // Background color if any
+ URL backgroundImageURL = null; // URL of background image if any
+ URL startUpImageURL = null; // URL of startup image if any
+ URL soundTrackURL = null; // URL of soundtrack
+ URL imageSource = null; // Directory or URL for images
+ URL soundSource = null; // Directory or URL for sounds
+ boolean repeat; // Repeat the animation if true
+ Image offScrImage; // Offscreen image
+ Graphics offScrGC; // Offscreen graphics context
+ MediaTracker tracker; // MediaTracker used to load images
+ Animator owner; // Applet that contains this animation
+
+ Animation(Animator container) {
+ super();
+ owner = container;
+ }
+
+ void init() {
+ tracker = new MediaTracker(owner);
+ currentFrame = 0;
+ loadAnimationMedia();
+ }
+
+ void setGlobalPause(int pause) {
+ globalPause = pause;
+ }
+
+ /**
+ * Loads the images and sounds involved with this animation
+ */
+ void loadAnimationMedia() {
+ try {
+ if (startUpImageURL != null) {
+ owner.tellLoadingMsg(startUpImageURL, imageLabel);
+ startUpImage = fetchImageAndWait(startUpImageURL, STARTUP_ID);
+ if (tracker.isErrorID(STARTUP_ID)) {
+ owner.loadError(startUpImageURL, "start-up image");
+ }
+ owner.repaint();
+ }
+
+ if (backgroundImageURL != null) {
+ owner.tellLoadingMsg(backgroundImageURL, imageLabel);
+ backgroundImage = fetchImageAndWait(backgroundImageURL,
+ BACKGROUND_ID);
+ if (tracker.isErrorID(BACKGROUND_ID)) {
+ owner.loadError(backgroundImageURL,
+ "background image");
+ }
+ owner.repaint();
+ }
+
+ // Fetch the animation frame images
+ for (AnimationFrame frame : frames) {
+ owner.tellLoadingMsg(frame.imageLocation, imageLabel);
+ frame.image = owner.getImage(frame.imageLocation);
+ tracker.addImage(frame.image, ANIMATION_ID);
+ try {
+ tracker.waitForID(ANIMATION_ID);
+ } catch (InterruptedException e) {
+ }
+ }
+
+ if (soundTrackURL != null && soundTrack == null) {
+ owner.tellLoadingMsg(soundTrackURL, imageLabel);
+ soundTrack = owner.getAudioClip(soundTrackURL);
+ if (soundTrack == null) {
+ owner.loadError(soundTrackURL, "soundtrack");
+ return;
+ }
+ }
+
+ // Load the sounds into their frames
+ for (AnimationFrame frame : frames) {
+ if (frame.soundLocation != null) {
+ owner.tellLoadingMsg(frame.soundLocation, soundLabel);
+ try {
+ frame.sound = owner.getAudioClip(frame.soundLocation);
+ } catch (Exception ex) {
+ owner.loadError(frame.soundLocation, soundLabel);
+ }
+ }
+ }
+
+ owner.clearLoadingMessage();
+ offScrImage = owner.createImage(owner.appWidth, owner.appHeight);
+ offScrGC = offScrImage.getGraphics();
+ offScrGC.setColor(Color.lightGray);
+ owner.loaded = true;
+ } catch (Exception ex) {
+ Logger.getLogger(Animation.class.getName()).log(Level.SEVERE, null,
+ ex);
+ }
+ }
+
+ /**
+ * Fetch an image and wait for it to come in. Used to enforce a load
+ * order for background and startup images.
+ */
+ Image fetchImageAndWait(URL imageURL, int trackerClass)
+ throws InterruptedException {
+ Image image = owner.getImage(imageURL);
+ tracker.addImage(image, trackerClass);
+ tracker.waitForID(trackerClass);
+ return image;
+ }
+
+ /**
+ * Stuff a range of image names into a List
+ * @return a List of image URLs.
+ */
+ void prepareImageRange(int startImage, int endImage, String pattern)
+ throws MalformedURLException {
+ frames = new ArrayList(Math.abs(endImage - startImage)
+ + 1);
+ if (pattern == null) {
+ pattern = "T%N.gif";
+ }
+ if (startImage > endImage) {
+ for (int i = startImage; i >= endImage; i--) {
+ AnimationFrame frame = new AnimationFrame();
+ frames.add(frame);
+ frame.duration = globalPause;
+ frame.imageLocation = new URL(imageSource,
+ doSubst(pattern, i + ""));
+ }
+ } else {
+ for (int i = startImage; i <= endImage; i++) {
+ AnimationFrame frame = new AnimationFrame();
+ frames.add(frame);
+ frame.duration = globalPause;
+ frame.imageLocation = new URL(imageSource,
+ doSubst(pattern, i + ""));
+ }
+ }
+ }
+
+ /**
+ * Parse the SOUNDS parameter. It looks like
+ * train.au||hello.au||stop.au, etc., where each item refers to a
+ * source image. Empty items mean that the corresponding image
+ * has no associated sound.
+ */
+ void parseSounds(String attr) throws MalformedURLException {
+ int frameIndex = 0;
+ int numFrames = frames.size();
+ for (int i = 0; (i < attr.length()) && (frameIndex < numFrames);) {
+ int next = attr.indexOf('|', i);
+ if (next == -1) {
+ next = attr.length();
+ }
+ String sound = attr.substring(i, next);
+ if (sound.length() != 0) {
+ AnimationFrame frame = frames.get(frameIndex);
+ frame.soundLocation = new URL(soundSource, sound);
+ }
+ i = next + 1;
+ frameIndex++;
+ }
+ }
+
+ /**
+ * Parse the IMAGES parameter. It looks like
+ * 1|2|3|4|5, etc., where each number (item) names a source image.
+ */
+ void parseImages(String attr, String pattern)
+ throws MalformedURLException {
+ frames = new ArrayList();
+ if (pattern == null) {
+ pattern = "T%N.gif";
+ }
+ for (int i = 0; i < attr.length();) {
+ int next = attr.indexOf('|', i);
+ if (next == -1) {
+ next = attr.length();
+ }
+ String file = attr.substring(i, next);
+ AnimationFrame frame = new AnimationFrame();
+ frames.add(frame);
+ frame.imageLocation = new URL(imageSource, doSubst(pattern, file));
+ frame.duration = globalPause;
+ i = next + 1;
+ }
+ }
+
+ /**
+ * Parse the PAUSES parameter. It looks like
+ * 1000|500|||750, etc., where each item corresponds to a
+ * source image. Empty items mean that the corresponding image
+ * has no special duration, and should use the global one.
+ *
+ * @return a Hashtable of Integer pauses keyed to Integer
+ * frame numbers.
+ */
+ void parseDurations(String attr) {
+ int imageNum = 0;
+ int numImages = frames.size();
+ for (int i = 0; (i < attr.length()) && (imageNum < numImages);) {
+ int next = attr.indexOf('|', i);
+ if (next == -1) {
+ next = attr.length();
+ }
+ AnimationFrame aFrame = frames.get(imageNum);
+ if (i != next) {
+ int duration = Integer.parseInt(attr.substring(i, next));
+ aFrame.duration = duration;
+ }
+ i = next + 1;
+ imageNum++;
+ }
+ }
+
+ /**
+ * Parse a String of form xxx@yyy and return a Point.
+ */
+ Point parsePoint(String s) throws ParseException {
+ int atPos = s.indexOf('@');
+ if (atPos == -1) {
+ throw new ParseException("Illegal position: " + s);
+ }
+ return new Point(Integer.parseInt(s.substring(0, atPos)),
+ Integer.parseInt(s.substring(atPos + 1)));
+ }
+
+ /**
+ * Parse the POSITIONS parameter. It looks like
+ * 10@30|11@31|||12@20, etc., where each item is an X@Y coordinate
+ * corresponding to a source image. Empty items mean that the
+ * corresponding image has the same position as the preceding one.
+ *
+ * @return a Hashtable of Points keyed to Integer frame numbers.
+ */
+ void parsePositions(String param)
+ throws ParseException {
+ int imageNum = 0;
+ int numImages = frames.size();
+ for (int i = 0; (i < param.length()) && (imageNum < numImages);) {
+ int next = param.indexOf('|', i);
+ if (next == -1) {
+ next = param.length();
+ }
+ if (i != next) {
+ AnimationFrame frame = frames.get(imageNum);
+ frame.position = parsePoint(param.substring(i, next));
+ }
+ i = next + 1;
+ imageNum++;
+ }
+ }
+
+ /**
+ * Substitute an integer some number of times in a string, subject to
+ * parameter strings embedded in the string.
+ * Parameter strings:
+ * %N - substitute the integer as is, with no padding.
+ * %, for example %5 - substitute the integer left-padded with
+ * zeros to digits wide.
+ * %% - substitute a '%' here.
+ * @param inStr the String to substitute within
+ * @param theInt the int to substitute, as a String.
+ */
+ String doSubst(String inStr, String theInt) {
+ String padStr = "0000000000";
+ int length = inStr.length();
+ StringBuilder result = new StringBuilder(length);
+
+ for (int i = 0; i < length;) {
+ char ch = inStr.charAt(i);
+ if (ch == '%') {
+ i++;
+ if (i == length) {
+ result.append(ch);
+ } else {
+ ch = inStr.charAt(i);
+ if (ch == 'N' || ch == 'n') {
+ // just stick in the number, unmolested
+ result.append(theInt);
+ i++;
+ } else {
+ int pad;
+ if ((pad = Character.digit(ch, 10)) != -1) {
+ // we've got a width value
+ String numStr = theInt;
+ String scr = padStr + numStr;
+ result.append(scr.substring(scr.length() - pad));
+ i++;
+ } else {
+ result.append(ch);
+ i++;
+ }
+ }
+ }
+ } else {
+ result.append(ch);
+ i++;
+ }
+ }
+ return result.toString();
+ }
+
+ void startPlaying() {
+ if (soundTrack != null) {
+ soundTrack.loop();
+ }
+ }
+
+ void stopPlaying() {
+ if (soundTrack != null) {
+ soundTrack.stop();
+ }
+ }
+
+ public void paint(Graphics g) {
+ int xPos = 0;
+ int yPos = 0;
+ if ((frames.size() > 0) && tracker.checkID(ANIMATION_ID)
+ && (offScrGC != null)) {
+ AnimationFrame frame = frames.get(currentFrame);
+ Image image = frame.image;
+ if (backgroundImage == null) {
+ offScrGC.clearRect(0, 0, owner.appWidth, owner.appHeight);
+ } else {
+ offScrGC.drawImage(backgroundImage, 0, 0, owner);
+ }
+ if (frame.position != null) {
+ xPos = frame.position.x;
+ yPos = frame.position.y;
+ }
+ if (backgroundColor != null) {
+ offScrGC.setColor(backgroundColor);
+ offScrGC.fillRect(0, 0, owner.appWidth, owner.appHeight);
+ offScrGC.drawImage(image, xPos, yPos, backgroundColor, owner);
+ } else {
+ offScrGC.drawImage(image, xPos, yPos, owner);
+ }
+ if (offScrImage != null) {
+ g.drawImage(offScrImage, 0, 0, owner);
+ }
+ }
+ }
+}
+
+
+/**
+ * Instances of this class represent a single frame of an animation
+ * There can be an image, sound, and position associated with each frame
+ */
+class AnimationFrame extends Object {
+
+ static final String imageLabel = "image";
+ static final String soundLabel = "sound";
+ URL imageLocation = null; // Directory or URL of this frames image
+ URL soundLocation = null; // Directory or URL of this frames sound
+ int duration; // Duration time for this frame in milliseconds
+ AudioClip sound; // Sound associated with this frame object
+ Image image; // Image associated with this frame
+ Point position; // Position of this frame
+}
+
+
+/**
+ * ParseException: signals a parameter parsing problem.
+ */
+@SuppressWarnings("serial")
+class ParseException extends Exception {
+
+ ParseException(String s) {
+ super(s);
+ }
+}
+
+
+/**
+ * DescriptionFrame: implements a pop-up "About" box.
+ */
+@SuppressWarnings("serial")
+class DescriptionFrame extends Frame implements ActionListener {
+
+ static final int rows = 27;
+ static final int cols = 70;
+ TextArea info;
+ Button cancel;
+
+ DescriptionFrame() {
+ super("Animator v1.10");
+ add("Center", info = new TextArea(rows, cols));
+ info.setEditable(false);
+ info.setBackground(Color.white);
+ Panel buttons = new Panel();
+ add("South", buttons);
+ buttons.add(cancel = new Button("Cancel"));
+ cancel.addActionListener(this);
+ pack();
+ }
+
+ @Override
+ public void setVisible(boolean b) {
+ if (b) {
+ info.select(0, 0);
+ }
+ super.setVisible(b);
+ }
+
+ void tell(String s) {
+ info.append(s);
+ }
+
+ @Override
+ public void actionPerformed(ActionEvent e) {
+ setVisible(false);
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/DescriptionFrame.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/DescriptionFrame.class"
index 5a62063fce3a6a75786279a50272228e22023db4..1cb928d58eea3d0fbdd15cbe3ebf7cae333ae941 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/DescriptionFrame.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/DescriptionFrame.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/ParseException.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/ParseException.class"
index 4655132606ef2094e5ec43d7ddfca7d03e98947b..59fb6e15b633c43363d2767b18341ca3d959d092 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/ParseException.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/ParseException.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/0.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/0.au"
index a76016073172c4cce45a7f58aeb2dcec2d4dd582..6e7462c79a28e4814bda858a5c447322e9246ccf 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/0.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/0.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/1.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/1.au"
index 695b7af88760a994a6357294b5df2e4f7b7cabae..7e8483e56f625b94941d7d2b89475ad7d325f9d5 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/1.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/1.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/2.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/2.au"
index b02e978b278f4fe6dc631f5a51c7fedb451f9438..fb816c94adcd06ff44d5fcc67dcc71462d308859 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/2.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/2.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/3.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/3.au"
index 44f2bf416850c55edc4c96c506d52aca7af410b5..5ce57c437afc7b5bb577ce2bad4599004cfe3521 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/3.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/3.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/4.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/4.au"
index 2a8845c9a24d83cd47d77322e54bdc781419f049..b0a01a247b862b439bd57fac665260f5fa552049 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/4.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/4.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/5.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/5.au"
index b5d5f910a6637b02a4d6b50109bad150a20c7791..54359476fde796bc06648308c3c0c825e896abfd 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/5.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/5.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/6.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/6.au"
index 483bd3c2575eafb1d5483628c4843fdc59d08813..3eba3f81e032ebc1630eb16fe85b1179f9e0d378 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/6.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/6.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/7.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/7.au"
index fa60891a8c525e8f78064a5d0bab81175fee00bc..7415bdc2f3256d579705f82f9b0b554b5295c18d 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/7.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/7.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/8.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/8.au"
index 276e93ce0fe982cd0205d1af43a78318b179d8e1..48cd238858f63357cbbc75fab2b68f74e667aa00 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/8.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/8.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/9.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/9.au"
index 3e6bfb22aa43a8b0c876122cea7144947b59dc74..cf7ec89d8eb7b113394a0295e539e5ec13ec85eb 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/9.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/9.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/spacemusic.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/spacemusic.au"
index 0bdfe52ea03560b98c51addb679e56e74751f0fb..ead6ec79b255ce097ec7084d0bc2cc287ea7c016 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/spacemusic.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/audio/spacemusic.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example1.html"
index 5c93a47d1841c4c86535a8d98ef863d8d2a391ac..403ece48292c385f835a3ba3fa863ed55b2558f7 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example1.html"
@@ -1,3 +1,25 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:4fb268a3da1f2823f9639ca4fde4b2744e7aad4d0b16a992480c5316776094e3
-size 860
+
+
+ The Animator Applet (1.1) - example 1
+
+
+
+ The Animator Applet (1.1) - example 1
+
+
+ The source.
+
+
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example2.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example2.html"
index 65e04a41dd976c606618a994d8032e0a9b412b4e..64c87c561819961f1a195f838c96e509dba687c5 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example2.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example2.html"
@@ -1,3 +1,21 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:eed2cdb25e38474b927f0cf4ece2edc7f8985daa268c24ae58d5b02ec73cefee
-size 903
+
+
+ The Animator Applet (1.1) - example 2
+
+
+
+ The Animator Applet (1.1) - example 2
+
+
+ The source.
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example3.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example3.html"
index d0ca18b7d0a79baa0bd2473cca456d0c0baeb31d..76b5fcdcdb4787317727743ae78aa3f8048ce88c 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example3.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example3.html"
@@ -1,3 +1,24 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f3c3d62169b1ab2b4c4650f5297f017389ebb011173dc1b07b52aea22490760f
-size 908
+
+
+ The Animator Applet - example 3 (1.1)
+
+
+
+ The Animator Applet - example3 (1.1)
+
+
+ The source.
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example4.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example4.html"
index e05a039aaca42707e2e0e36dcd8ad31e419aa252..ebbdec0ef4c22446fa43b6bdedd6f7ea29f51be7 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example4.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/example4.html"
@@ -1,3 +1,24 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0acfd797240deab8b9d5540b113c4080d98befa721493ed818ce6f25c5eec456
-size 854
+
+
+ The Animator Applet - example 4 (1.1)
+
+
+
+ The Animator Applet - example 4 (1.1)
+
+
+ The source.
+
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T1.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T1.gif"
index 5a1b98d25cc872f06186a4f2df7acdd36085e79e..8b8c61d2091af6709fb1112518cb075dfb1a2ce3 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T1.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T1.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T10.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T10.gif"
index 4eba03435378ddc04163039cb064fe92a7732b81..c81e6fef66150646344d7e7929c10a4b22e336a0 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T10.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T10.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T2.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T2.gif"
index 8d4e3a97947dcb7f5583684aa51efae2c13a44a9..47aedf934479e0a901b0ed96c27ebc82934df44a 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T2.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T2.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T3.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T3.gif"
index 5bf9c3de05893204dd8bcda85d486aadff9d26f0..0ad4d6ab6e0dd7566131244898c6b4226a5a832c 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T3.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T3.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T4.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T4.gif"
index f0186b2cb6f164ec14c1a49671ec4de14504e9f4..11fc75f12797588a6a26b2bca9af08a83f1ac97d 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T4.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T4.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T5.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T5.gif"
index c980c3c8b89eb87c06512f7effb2ccb0e95fa633..02238aeb31f169316b1de9b89f606719069efc5a 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T5.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T5.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T6.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T6.gif"
index 71c3e88fc895aec3f442d230e7174c92da38cd8c..547d99be2e9ce84ffb338f1bdb6c446564245859 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T6.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T6.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T7.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T7.gif"
index 0f57c2ecb2bfa035168807d005b70bed99735647..5d2113e5aa8eb40d383f5b12b869ec534fbff6d2 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T7.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T7.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T8.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T8.gif"
index bbd8a546743cee9684093de109299001969b176c..50a05789d844e7a7e5ab3c8a3e7ef14175b61090 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T8.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T8.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T9.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T9.gif"
index 46312db93802c972ce0315b7b9d5e6de1008ba7b..f324b058bb6a6d64eae338368c3cd5568e04167b 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T9.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/Beans/T9.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/SimpleAnimation/T1.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/SimpleAnimation/T1.gif"
index 0e98b6bf12cf33284036c53feec125e84c36573d..a06002356b5b019aa0c66bf4df76830cf07c4482 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/SimpleAnimation/T1.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/SimpleAnimation/T1.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/SimpleAnimation/T2.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/SimpleAnimation/T2.gif"
index fa47a0ba02a89379d3f9beb2963382f2e8809710..8b4cc4662185853c2b9914ef32b9cba4836543b5 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/SimpleAnimation/T2.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/SimpleAnimation/T2.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/loading-msg.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/loading-msg.gif"
index 9839282cc7b3a6c532ba4140cbb4990d91c5381c..6c7570a6d84358d4c81bbb4177d50410bd464674 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/loading-msg.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/images/loading-msg.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/index.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/index.html"
index 71716ae4644bdf16c7f77d0ebffe5d4c3e8e352c..aa31135c30e1f7353adee5b529fcf5d70b9c6f05 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/index.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Animator/index.html"
@@ -1,3 +1,165 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bfac18a6e8904d9cc595d142da41c1b840ac7356800ec45dc3ec4ac88c914b04
-size 6223
+
+
+The Animator Applet
+
+
+
+
+
+The Animator Applet
+
+The Animator applet is a general purpose animation tool.
+
+
+It has these features:
+
+- you can specify an order to the frames, which allows you to reuse them
+
- you can specify whether the animation repeats
+
- you can specify a soundtrack
+
- you can specify sounds to be played with individual frames
+
- you can specify the amount of time to pause between frames
+ (both on the animation as a whole and on individual frames)
+
- you can specify a startup image to display while loading
+
- you can specify a background image or color upon which to display the
+ animation
+
- you can specify a position at which to display each frame
+
- you can specify the URL of a page to visit when the user clicks on the
+animation
+
- you can view the applet's parameters at runtime
+
+
+
+Here is the source code.
+
+
+You can get a lot of information about Animator by pressing the
+SHIFT key while clicking the mouse in an Animation.
+
+
+Tag Syntax
+
+
+
+<APPLET CODE="Animator.class"
+ WIDTH="aNumber" -- the width (in pixels) of the widest frame
+ HEIGHT="aNumber"> -- the height (in pixels) of the tallest frame
+<PARAM NAME="IMAGESOURCE"
+ VALUE="aDirectory"> -- the directory that has the animation
+ frames (a series of pictures in GIF or JPEG
+ format, by default named T1.gif, T2.gif,
+ ...)
+<PARAM NAME="STARTUP"
+ VALUE="aFile"> -- an image to display at load time
+<PARAM NAME="BACKGROUND"
+ VALUE="aFile"> -- an image to paint the frames against
+<PARAM NAME="BACKGROUNDCOLOR"
+ VALUE="aColor"> -- a solid color to paint the frames against
+<PARAM NAME="STARTIMAGE"
+ VALUE="aNumber"> -- number of the starting frame (1..n)
+<PARAM NAME="ENDIMAGE"
+ VALUE="aNumber"> -- number of the end frame (1..n)
+<PARAM NAME="NAMEPATTERN"
+ VALUE="dir/prefix%N.suffix"> -- a pattern to use for generating names
+ based on STARTIMAGE, ENDIMAGE, or IMAGES. (See
+ below.)
+<PARAM NAME="PAUSE"
+ VALUE="100"> -- milliseconds to pause between images
+ default - can be overridden by PAUSES)
+<PARAM NAME="PAUSES"
+ VALUE="300|200||400|200"> -- millisecond delay per frame. Blank
+ uses default PAUSE value
+<PARAM NAME="REPEAT"
+ VALUE="true"> -- repeat the sequence?
+<PARAM NAME="POSITIONS"
+ VALUE="100@200||200@100||200@200|100@100|105@105">
+ -- positions (X@Y) for each frame. Blank
+ means use previous frame's position
+<PARAM NAME="IMAGES"
+ VALUE="3|3|2|1|2|3|17"> -- explicit order for frames - see below
+<PARAM NAME="SOUNDSOURCE"
+ VALUE="aDirectory"> -- the directory that has the audio files
+<PARAM NAME="SOUNDTRACK"
+ VALUE="aFile"> -- an audio file to play throughout
+<PARAM NAME="SOUNDS"
+ VALUE="aFile.au|||||bFile.au">
+ -- audio files keyed to individual frames
+<PARAM NAME="HREF"
+ VALUE="aURL"> -- The URL of the page to visit when
+ user clicks on the animation (if not set,
+ click pauses/resumes the animation)
+<PARAM NAME="TARGET"
+ VALUE="aTarget"> -- The name of a FRAME target in which
+ to display the document named by
+ HREF. Defaults to "_top".
+</APPLET>
+
+
+
+The IMAGES, STARTIMAGE, ENDIMAGE, and NAMEPATTERN parameters
+
+
+You can specify either an IMAGES list or a STARTIMAGE/ENDIMAGE range,
+but not both. The IMAGES list is a string of frame numbers in the
+order in which you wish them to display, separated by vertical bars.
+You can use NAMEPATTERN with IMAGES or STARTIMAGE/ENDIMAGE to generate
+the file names to use.
+
+
+
+STARTIMAGE and ENDIMAGE let you specify a range of images. Specifying
+an ENDIMAGE that is numerically less than the STARTIMAGE will display
+the images in reverse order. Both parameters have default values of
+1, so specifying only STARTIMAGE="15" means "play the frames in
+reverse order from 15 to 1." Saying only ENDIMAGE="13" means "play
+the frames from 1 to 13." Of course, you can use both STARTIMAGE and
+ENDIMAGE together.
+
+
+
+NAMEPATTERN lets you specify how to generate
+the names of the files in the range STARTIMAGE to ENDIMAGE. The
+pattern is like a URL with substitution. Any instance of the
+characters '%N' will have the current index (integer in the
+STARTIMAGE..ENDIMAGE range) substituted for it; any instance of
+'%[digit]' -- for example, '%5' -- will have the index plugged in,
+left-padded with zeroes. Finally, '%%' substitutes a single '%'.
+
+
+
+Some examples (all assume STARTIMAGE = 1 and ENDIMAGE = 10):
+
+
+- NAMEPATTERN = "T%N.gif"
+
- This is the default pattern, and will generate the names
+ T1.gif, T2.gif, ...T10.gif.
+
+
- NAMEPATTERN = "anim%3/anim%3.jpg"
+
- This will generate the names anim001/anim001.jpg, ... anim010/anim010.jpg
+
+
- NAMEPATTERN = "100%%frame%N.jpg"
+
- This will generate the names 100%frame1.jpg, 100%frame2.jpg, etc.
+
+
+
+
+Example files
+
+
+
+- example1.html
+
- Animated coffee beans, with a soundtrack and per-frame sound effects.
+
+
- example2.html
+
- A simple two-frame animation.
+
+
- example3.html
+
- A simple beany animation with start-up image.
+
+
- example4.html
+
- Animated coffee beans with POSITIONS, HREF, and BACKGROUNDCOLOR.
+
+
+
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcCanvas.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcCanvas.class"
index cf254b067425372f4f80419dc1b204c981a0df61..420ec0ec1255f9a5780caf758c84d65f002f1412 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcCanvas.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcCanvas.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcControls.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcControls.class"
index 21f0efeceb9f68d66eb8bb50e8bcaea6646e8f8c..5014f2b22478fd19804c0526e638b2b47e47fce4 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcControls.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcControls.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcTest.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcTest.class"
index b5da6464950138b16c15881df3508bb7eb95940b..43ebbe76fe067d2930cdbca204fa827886a4b9bf 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcTest.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcTest.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcTest.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcTest.java"
index edb6fa52a78fd542f83bdeb4dbc2e643ee812142..9e9e02c574516e8528489d2ffda70e01cda038b4 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcTest.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/ArcTest.java"
@@ -1,3 +1,276 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:62c80330cef606cf1b4736c45da5c72874bdc2932294f0e4e614f49c25b3e061
-size 8405
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.awt.*;
+import java.awt.event.*;
+import java.applet.*;
+
+
+/**
+ * An interactive test of the Graphics.drawArc and Graphics.fillArc
+ * routines. Can be run either as a standalone application by
+ * typing "java ArcTest" or as an applet in the AppletViewer.
+ */
+@SuppressWarnings("serial")
+public class ArcTest extends Applet {
+
+ ArcControls controls; // The controls for marking and filling arcs
+ ArcCanvas canvas; // The drawing area to display arcs
+
+ @Override
+ public void init() {
+ setLayout(new BorderLayout());
+ canvas = new ArcCanvas();
+ add("Center", canvas);
+ add("South", controls = new ArcControls(canvas));
+ }
+
+ @Override
+ public void destroy() {
+ remove(controls);
+ remove(canvas);
+ }
+
+ @Override
+ public void start() {
+ controls.setEnabled(true);
+ }
+
+ @Override
+ public void stop() {
+ controls.setEnabled(false);
+ }
+
+ @Override
+ public void processEvent(AWTEvent e) {
+ if (e.getID() == Event.WINDOW_DESTROY) {
+ System.exit(0);
+ }
+ }
+
+ public static void main(String args[]) {
+ Frame f = new Frame("ArcTest");
+ ArcTest arcTest = new ArcTest();
+
+ arcTest.init();
+ arcTest.start();
+
+ f.add("Center", arcTest);
+ f.setSize(300, 300);
+ f.setVisible(true);
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "An interactive test of the Graphics.drawArc and \nGraphics."
+ + "fillArc routines. Can be run \neither as a standalone "
+ + "application by typing 'java ArcTest' \nor as an applet in "
+ + "the AppletViewer.";
+ }
+}
+
+
+@SuppressWarnings("serial")
+class ArcCanvas extends Canvas {
+
+ int startAngle = 0;
+ int extent = 45;
+ boolean filled = false;
+ Font font = new java.awt.Font("SansSerif", Font.PLAIN, 12);
+
+ @Override
+ public void paint(Graphics g) {
+ Rectangle r = getBounds();
+ int hlines = r.height / 10;
+ int vlines = r.width / 10;
+
+ g.setColor(Color.pink);
+ for (int i = 1; i <= hlines; i++) {
+ g.drawLine(0, i * 10, r.width, i * 10);
+ }
+ for (int i = 1; i <= vlines; i++) {
+ g.drawLine(i * 10, 0, i * 10, r.height);
+ }
+
+ g.setColor(Color.red);
+ if (filled) {
+ g.fillArc(0, 0, r.width - 1, r.height - 1, startAngle, extent);
+ } else {
+ g.drawArc(0, 0, r.width - 1, r.height - 1, startAngle, extent);
+ }
+
+ g.setColor(Color.black);
+ g.setFont(font);
+ g.drawLine(0, r.height / 2, r.width, r.height / 2);
+ g.drawLine(r.width / 2, 0, r.width / 2, r.height);
+ g.drawLine(0, 0, r.width, r.height);
+ g.drawLine(r.width, 0, 0, r.height);
+ int sx = 10;
+ int sy = r.height - 28;
+ g.drawString("Start = " + startAngle, sx, sy);
+ g.drawString("Extent = " + extent, sx, sy + 14);
+ }
+
+ public void redraw(boolean filled, int start, int extent) {
+ this.filled = filled;
+ this.startAngle = start;
+ this.extent = extent;
+ repaint();
+ }
+}
+
+
+@SuppressWarnings("serial")
+class ArcControls extends Panel
+ implements ActionListener {
+
+ TextField startTF;
+ TextField extentTF;
+ ArcCanvas canvas;
+
+ @SuppressWarnings("LeakingThisInConstructor")
+ public ArcControls(ArcCanvas canvas) {
+ Button b = null;
+
+ this.canvas = canvas;
+ add(startTF = new IntegerTextField("0", 4));
+ add(extentTF = new IntegerTextField("45", 4));
+ b = new Button("Fill");
+ b.addActionListener(this);
+ add(b);
+ b = new Button("Draw");
+ b.addActionListener(this);
+ add(b);
+ }
+
+ @Override
+ public void actionPerformed(ActionEvent ev) {
+ String label = ev.getActionCommand();
+
+ int start, extent;
+ try {
+ start = Integer.parseInt(startTF.getText().trim());
+ } catch (NumberFormatException ignored) {
+ start = 0;
+ }
+ try {
+ extent = Integer.parseInt(extentTF.getText().trim());
+ } catch (NumberFormatException ignored) {
+ extent = 0;
+ }
+
+ canvas.redraw(label.equals("Fill"), start, extent);
+ }
+}
+
+
+@SuppressWarnings("serial")
+class IntegerTextField extends TextField {
+
+ String oldText = null;
+
+ public IntegerTextField(String text, int columns) {
+ super(text, columns);
+ enableEvents(AWTEvent.KEY_EVENT_MASK | AWTEvent.TEXT_EVENT_MASK);
+ oldText = getText();
+ }
+
+ // Consume non-digit KeyTyped events
+ // Note that processTextEvent kind of eliminates the need for this
+ // function, but this is neater, since ideally, it would prevent
+ // the text from appearing at all. Sigh. See bugid 4100317/4114565.
+ //
+ @Override
+ protected void processEvent(AWTEvent evt) {
+ int id = evt.getID();
+ if (id != KeyEvent.KEY_TYPED) {
+ super.processEvent(evt);
+ return;
+ }
+
+ KeyEvent kevt = (KeyEvent) evt;
+ char c = kevt.getKeyChar();
+
+ // Digits, backspace, and delete are okay
+ // Note that the minus sign is allowed, but not the decimal
+ if (Character.isDigit(c) || (c == '\b') || (c == '\u007f') || (c
+ == '\u002d')) {
+ super.processEvent(evt);
+ return;
+ }
+
+ Toolkit.getDefaultToolkit().beep();
+ kevt.consume();
+ }
+
+ // Should consume TextEvents for non-integer Strings
+ // Store away the text in the tf for every TextEvent
+ // so we can revert to it on a TextEvent (paste, or
+ // legal key in the wrong location) with bad text
+ //
+ @Override
+ protected void processTextEvent(TextEvent te) {
+ // The empty string is okay, too
+ String newText = getText();
+ if (newText.equals("") || textIsInteger(newText)) {
+ oldText = newText;
+ super.processTextEvent(te);
+ return;
+ }
+
+ Toolkit.getDefaultToolkit().beep();
+ setText(oldText);
+ }
+
+ // Returns true for Integers (zero and negative
+ // values are allowed).
+ // Note that the empty string is not allowed.
+ //
+ private boolean textIsInteger(String textToCheck) {
+
+ try {
+ Integer.parseInt(textToCheck, 10);
+ return true;
+ } catch (NumberFormatException ignored) {
+ return false;
+ }
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/IntegerTextField.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/IntegerTextField.class"
index 274cdc23113e126981895c0a4536d071e08e2e2a..aca782cfb23e17df589e15653e5464578f636ae5 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/IntegerTextField.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/IntegerTextField.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/example1.html"
index ebbdd8008263eadb1c56dfeff3ebbb58cba3f96d..918473c0ed0c84c67ef54288ee8bea919a11817a 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/ArcTest/example1.html"
@@ -1,3 +1,16 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e27ed0a48b73c927e18726a4743214e737434a55e8fe676fcb277256ecb8bad1
-size 421
+
+
+ Arc Test (1.1)
+
+
+ Arc Test (1.1)
+
+
+
+ The source.
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/BarChart.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/BarChart.class"
index 1fbb0f8e65fc011292e63dd3a7fa98ea4ecc1fbd..24e78c77824b71a661bf43d1297121b24c4e9431 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/BarChart.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/BarChart.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/BarChart.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/BarChart.java"
index 5a5a98161ce50a44731a9a45d989e0a91ab84a1e..7bac8af882f376402872b278720f26c653c91bea 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/BarChart.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/BarChart.java"
@@ -1,3 +1,324 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0ed94851cfe0d61b4f950b13143a6a8c13811ab1c666d3fb4dac519540965358
-size 11227
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.awt.*;
+
+
+/**
+ * A simple bar chart demo
+ * @author Sami Shaio
+ * @modified 06/21/00 Daniel Peek : refactored, comments
+ */
+@SuppressWarnings("serial")
+public class BarChart extends java.applet.Applet {
+
+ private static final int VERTICAL = 0;
+ private static final int HORIZONTAL = 1;
+ private static final int SOLID = 0;
+ private static final int STRIPED = 1;
+ private int orientation;
+ private String title;
+ private Font font;
+ private FontMetrics metrics;
+ private int columns;
+ private int values[];
+ private Color colors[];
+ private String labels[];
+ private int styles[];
+ private int scale = 10;
+ private int maxLabelWidth = 0;
+ private int barSpacing = 10;
+ private int maxValue = 0;
+
+ @Override
+ public void init() {
+
+ getSettings();
+
+ values = new int[columns];
+ labels = new String[columns];
+ styles = new int[columns];
+ colors = new Color[columns];
+
+ for (int i = 0; i < columns; i++) {
+ parseValue(i);
+ parseLabel(i);
+ parseStyle(i);
+ parseColor(i);
+ }
+ }
+
+ private void getSettings() {
+ font = new java.awt.Font("Monospaced", Font.BOLD, 12);
+ metrics = getFontMetrics(font);
+
+ title = getParameter("title");
+ if (title == null) {
+ title = "Chart";
+ }
+
+ String temp = getParameter("columns");
+ if (temp == null) {
+ columns = 5;
+ } else {
+ columns = Integer.parseInt(temp);
+ }
+
+ temp = getParameter("scale");
+ if (temp == null) {
+ scale = 10;
+ } else {
+ scale = Integer.parseInt(temp);
+ }
+
+ temp = getParameter("orientation");
+ if (temp == null) {
+ orientation = VERTICAL;
+ } else if (temp.equalsIgnoreCase("horizontal")) {
+ orientation = HORIZONTAL;
+ } else {
+ orientation = VERTICAL;
+ }
+ }
+
+ private void parseValue(int i) {
+ String temp = getParameter("C" + (i + 1));
+ try {
+ values[i] = Integer.parseInt(temp);
+ } catch (NumberFormatException e) {
+ values[i] = 0;
+ } catch (NullPointerException e) {
+ values[i] = 0;
+ }
+ maxValue = Math.max(maxValue, values[i]);
+ }
+
+ private void parseLabel(int i) {
+ String temp = getParameter("C" + (i + 1) + "_label");
+ if (temp == null) {
+ labels[i] = "";
+ } else {
+ labels[i] = temp;
+ }
+ maxLabelWidth = Math.max(metrics.stringWidth(labels[i]), maxLabelWidth);
+ }
+
+ private void parseStyle(int i) {
+ String temp = getParameter("C" + (i + 1) + "_style");
+ if (temp == null || temp.equalsIgnoreCase("solid")) {
+ styles[i] = SOLID;
+ } else if (temp.equalsIgnoreCase("striped")) {
+ styles[i] = STRIPED;
+ } else {
+ styles[i] = SOLID;
+ }
+ }
+
+ private void parseColor(int i) {
+ String temp = getParameter("C" + (i + 1) + "_color");
+ if (temp != null) {
+ temp = temp.toLowerCase();
+ if (temp.equals("red")) {
+ colors[i] = Color.red;
+ } else if (temp.equals("green")) {
+ colors[i] = Color.green;
+ } else if (temp.equals("blue")) {
+ colors[i] = Color.blue;
+ } else if (temp.equals("pink")) {
+ colors[i] = Color.pink;
+ } else if (temp.equals("orange")) {
+ colors[i] = Color.orange;
+ } else if (temp.equals("magenta")) {
+ colors[i] = Color.magenta;
+ } else if (temp.equals("cyan")) {
+ colors[i] = Color.cyan;
+ } else if (temp.equals("white")) {
+ colors[i] = Color.white;
+ } else if (temp.equals("yellow")) {
+ colors[i] = Color.yellow;
+ } else if (temp.equals("gray")) {
+ colors[i] = Color.gray;
+ } else if (temp.equals("darkgray")) {
+ colors[i] = Color.darkGray;
+ } else {
+ colors[i] = Color.gray;
+ }
+ } else {
+ colors[i] = Color.gray;
+ }
+ }
+
+ @Override
+ public void paint(Graphics g) {
+ // draw the title centered at the bottom of the bar graph
+ g.setColor(Color.black);
+ g.setFont(font);
+
+ g.drawRect(0, 0, getSize().width - 1, getSize().height - 1);
+
+ int titleWidth = metrics.stringWidth(title);
+ int cx = Math.max((getSize().width - titleWidth) / 2, 0);
+ int cy = getSize().height - metrics.getDescent();
+ g.drawString(title, cx, cy);
+
+ // draw the bars and their titles
+ if (orientation == HORIZONTAL) {
+ paintHorizontal(g);
+ } else { // VERTICAL
+ paintVertical(g);
+ }
+ }
+
+ private void paintHorizontal(Graphics g) {
+ // x and y coordinates to draw/write to
+ int cx, cy;
+ int barHeight = metrics.getHeight();
+
+ for (int i = 0; i < columns; i++) {
+
+ // set the X coordinate for this bar and label and center it
+ int widthOfItems = maxLabelWidth + 3 + (maxValue * scale) + 5
+ + metrics.stringWidth(Integer.toString(maxValue));
+ cx = Math.max((getSize().width - widthOfItems) / 2, 0);
+
+ // set the Y coordinate for this bar and label
+ cy = getSize().height - metrics.getDescent() - metrics.getHeight()
+ - barSpacing
+ - ((columns - i - 1) * (barSpacing + barHeight));
+
+ // draw the label
+ g.setColor(Color.black);
+ g.drawString(labels[i], cx, cy);
+ cx += maxLabelWidth + 3;
+
+
+ // draw the shadow
+ g.fillRect(cx + 4, cy - barHeight + 4,
+ (values[i] * scale), barHeight);
+
+ // draw the bar
+ g.setColor(colors[i]);
+ if (styles[i] == STRIPED) {
+ for (int k = 0; k <= values[i] * scale; k += 2) {
+ g.drawLine(cx + k, cy - barHeight, cx + k, cy);
+ }
+ } else { // SOLID
+ g.fillRect(cx, cy - barHeight,
+ (values[i] * scale) + 1, barHeight + 1);
+ }
+ cx += (values[i] * scale) + 4;
+
+ // draw the value at the end of the bar
+ g.setColor(g.getColor().darker());
+ g.drawString(Integer.toString(values[i]), cx, cy);
+ }
+ }
+
+ private void paintVertical(Graphics g) {
+ int barWidth = maxLabelWidth;
+
+ for (int i = 0; i < columns; i++) {
+
+ // X coordinate for this label and bar (centered)
+ int widthOfItems = (barWidth + barSpacing) * columns - barSpacing;
+ int cx = Math.max((getSize().width - widthOfItems) / 2, 0);
+ cx += (maxLabelWidth + barSpacing) * i;
+
+ // Y coordinate for this label and bar
+ int cy = getSize().height - metrics.getHeight()
+ - metrics.getDescent() - 4;
+
+ // draw the label
+ g.setColor(Color.black);
+ g.drawString(labels[i], cx, cy);
+ cy -= metrics.getHeight() - 3;
+
+ // draw the shadow
+ g.fillRect(cx + 4, cy - (values[i] * scale) - 4,
+ barWidth, (values[i] * scale));
+
+ // draw the bar
+ g.setColor(colors[i]);
+ if (styles[i] == STRIPED) {
+ for (int k = 0; k <= values[i] * scale; k += 2) {
+ g.drawLine(cx, cy - k,
+ cx + barWidth, cy - k);
+ }
+ } else {
+ g.fillRect(cx, cy - (values[i] * scale),
+ barWidth + 1, (values[i] * scale) + 1);
+ }
+ cy -= (values[i] * scale) + 5;
+
+ // draw the value on top of the bar
+ g.setColor(g.getColor().darker());
+ g.drawString(Integer.toString(values[i]), cx, cy);
+ }
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "Title: Bar Chart \n"
+ + "Author: Sami Shaio \n"
+ + "A simple bar chart demo.";
+ }
+
+ @Override
+ public String[][] getParameterInfo() {
+ String[][] info = {
+ { "title", "string", "The title of bar graph. Default is 'Chart'" },
+ { "scale", "int", "The scale of the bar graph. Default is 10." },
+ { "columns", "int", "The number of columns/rows. Default is 5." },
+ { "orientation", "{VERTICAL, HORIZONTAL}",
+ "The orienation of the bar graph. Default is VERTICAL." },
+ { "c#", "int", "Subsitute a number for #. "
+ + "The value/size of bar #. Default is 0." },
+ { "c#_label", "string", "The label for bar #. "
+ + "Default is an empty label." },
+ { "c#_style", "{SOLID, STRIPED}", "The style of bar #. "
+ + "Default is SOLID." },
+ { "c#_color", "{RED, GREEN, BLUE, PINK, ORANGE, MAGENTA, CYAN, "
+ + "WHITE, YELLOW, GRAY, DARKGRAY}",
+ "The color of bar #. Default is GRAY." }
+ };
+ return info;
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/example1.html"
index b00105a26538ecfe2c1f8faebe4d6ca4fe767b2f..200cf9129f2f760b72e3f5e3198ac4152b97c041 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/example1.html"
@@ -1,3 +1,41 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6e7801e15f2d2a05f96eecdfe515c137fd08922c9479206b4782eef4b052cd60
-size 1254
+
+
+ Bar Chart (1.1)
+
+
+ Bar Chart (1.1)
+
+
+
+ The source.
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/example2.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/example2.html"
index 5304149032585e6232cbab542701d47876c4e580..b1f7a657e2042604a3ca800580f367e673ac7a3c 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/example2.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/BarChart/example2.html"
@@ -1,3 +1,51 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:df27c0c6e931306c393ffc692df517b12e32a6d91a5b2cfb49a03ef7603879a5
-size 1580
+
+
+ Bar Chart (1.1)
+
+
+ Bar Chart (1.1)
+
+
+
+ The source.
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/Blink$1.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/Blink$1.class"
index fe05955cc91bce8adba494370d00236303fcd934..f30240215661aa12b4687cca325ad178ccc60193 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/Blink$1.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/Blink$1.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/Blink.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/Blink.class"
index 6d7f9e7859de7e7e8699b27e6a20ae4a11bbc644..576e56ded11cee788809590ba0fa51c08b0feaa3 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/Blink.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/Blink.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/Blink.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/Blink.java"
index 93b5da31d0575720710b68334b22699eeba55b95..de3f69f0ab424447f7f6097e9c2cc28c81d525c3 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/Blink.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/Blink.java"
@@ -1,3 +1,143 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0381d93fe15fb1e753fb23c4bf87269a2dd317c21cfcc4d51cce267e7e75c64e
-size 5256
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+/**
+ * I love blinking things.
+ *
+ * @author Arthur van Hoff
+ * @author 04/24/96 Jim Hagen use getBackground
+ * @author 02/05/98 Mike McCloskey removed use of deprecated methods
+ * @author 04/23/99 Josh Bloch, use timer instead of explicit multithreading.
+ * @author 07/10/00 Daniel Peek brought to code conventions, minor changes
+ */
+import java.awt.Color;
+import java.awt.Dimension;
+import java.awt.Font;
+import java.awt.FontMetrics;
+import java.awt.Graphics;
+import java.util.StringTokenizer;
+import java.util.Timer;
+import java.util.TimerTask;
+
+
+public class Blink extends java.applet.Applet {
+
+ private static final long serialVersionUID = -775844794477507646L;
+ private Timer timer; // Schedules the blinking
+ private String labelString; // The label for the window
+ private int delay; // the delay time between blinks
+
+ @Override
+ public void init() {
+ String blinkFrequency = getParameter("speed");
+ delay = (blinkFrequency == null) ? 400
+ : (1000 / Integer.parseInt(blinkFrequency));
+ labelString = getParameter("lbl");
+ if (labelString == null) {
+ labelString = "Blink";
+ }
+ Font font = new java.awt.Font("Serif", Font.PLAIN, 24);
+ setFont(font);
+ }
+
+ @Override
+ public void start() {
+ timer = new Timer(); //creates a new timer to schedule the blinking
+ timer.schedule(new TimerTask() { //creates a timertask to schedule
+
+ // overrides the run method to provide functionality
+ @Override
+ public void run() {
+ repaint();
+ }
+ }, delay, delay);
+ }
+
+ @Override
+ public void paint(Graphics g) {
+ int fontSize = g.getFont().getSize();
+ int x = 0, y = fontSize, space;
+ int red = (int) (50 * Math.random());
+ int green = (int) (50 * Math.random());
+ int blue = (int) (256 * Math.random());
+ Dimension d = getSize();
+ g.setColor(Color.black);
+ FontMetrics fm = g.getFontMetrics();
+ space = fm.stringWidth(" ");
+ for (StringTokenizer t = new StringTokenizer(labelString);
+ t.hasMoreTokens();) {
+ String word = t.nextToken();
+ int w = fm.stringWidth(word) + space;
+ if (x + w > d.width) {
+ x = 0;
+ y += fontSize; //move word to next line if it doesn't fit
+ }
+ if (Math.random() < 0.5) {
+ g.setColor(new java.awt.Color((red + y * 30) % 256,
+ (green + x / 3) % 256, blue));
+ } else {
+ g.setColor(getBackground());
+ }
+ g.drawString(word, x, y);
+ x += w; //shift to the right to draw the next word
+ }
+ }
+
+ @Override
+ public void stop() {
+ timer.cancel(); //stops the timer
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "Title: Blinker\n"
+ + "Author: Arthur van Hoff\n"
+ + "Displays multicolored blinking text.";
+ }
+
+ @Override
+ public String[][] getParameterInfo() {
+ String pinfo[][] = {
+ { "speed", "string", "The blink frequency" },
+ { "lbl", "string", "The text to blink." }, };
+ return pinfo;
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/example1.html"
index 17b4ae7acfba95e339fb8c61022511d50cacf44a..c9035511a10bb983bb2f87d99960b62a6170c125 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Blink/example1.html"
@@ -1,3 +1,19 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0dd3ed3809cfb108599289827cdb5d979636d608b89d16c677c2f49a54647069
-size 614
+
+
+ Blinking Text
+
+
+ Blinking Text
+
+
+
+ The source.
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/CardPanel.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/CardPanel.class"
index fc7df60d64e243c42282c82e6442750b9783df4c..1823dd1d44ffcbe3fe2fbfbec0c90b225bfd25b3 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/CardPanel.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/CardPanel.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/CardTest.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/CardTest.class"
index d7574c0d157a8ae06b6a518376cf8e3e3906a46e..2b600407ad87a5133c539439d683cccfb4dbfafa 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/CardTest.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/CardTest.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/CardTest.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/CardTest.java"
index 7f7cffaa99f58e973e4a48008cfff7a5446189b2..b1395a4a41f14971bd30deb433ea722ea4815d2a 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/CardTest.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/CardTest.java"
@@ -1,3 +1,195 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:9aeb5642f5efdf89cf9d42a5dc4982382c7a5fe48e2c6eda3d704048b83800c1
-size 5955
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.applet.Applet;
+import java.awt.BorderLayout;
+import java.awt.Button;
+import java.awt.CardLayout;
+import java.awt.Choice;
+import java.awt.Dimension;
+import java.awt.FlowLayout;
+import java.awt.Frame;
+import java.awt.GridLayout;
+import java.awt.LayoutManager;
+import java.awt.Panel;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.ItemEvent;
+import java.awt.event.ItemListener;
+
+
+@SuppressWarnings("serial")
+final class CardPanel extends Panel {
+
+ ActionListener listener;
+
+ Panel create(LayoutManager layout) {
+ Button b = null;
+ Panel p = new Panel();
+
+ p.setLayout(layout);
+
+ b = new Button("one");
+ b.addActionListener(listener);
+ p.add("North", b);
+
+ b = new Button("two");
+ b.addActionListener(listener);
+ p.add("West", b);
+
+ b = new Button("three");
+ b.addActionListener(listener);
+ p.add("South", b);
+
+ b = new Button("four");
+ b.addActionListener(listener);
+ p.add("East", b);
+
+ b = new Button("five");
+ b.addActionListener(listener);
+ p.add("Center", b);
+
+ b = new Button("six");
+ b.addActionListener(listener);
+ p.add("Center", b);
+
+ return p;
+ }
+
+ CardPanel(ActionListener actionListener) {
+ listener = actionListener;
+ setLayout(new CardLayout());
+ add("one", create(new FlowLayout()));
+ add("two", create(new BorderLayout()));
+ add("three", create(new GridLayout(2, 2)));
+ add("four", create(new BorderLayout(10, 10)));
+ add("five", create(new FlowLayout(FlowLayout.LEFT, 10, 10)));
+ add("six", create(new GridLayout(2, 2, 10, 10)));
+ }
+
+ @Override
+ public Dimension getPreferredSize() {
+ return new Dimension(200, 100);
+ }
+}
+
+
+@SuppressWarnings("serial")
+public class CardTest extends Applet
+ implements ActionListener,
+ ItemListener {
+
+ CardPanel cards;
+
+ @SuppressWarnings("LeakingThisInConstructor")
+ public CardTest() {
+ setLayout(new BorderLayout());
+ add("Center", cards = new CardPanel(this));
+ Panel p = new Panel();
+ p.setLayout(new FlowLayout());
+ add("South", p);
+
+ Button b = new Button("first");
+ b.addActionListener(this);
+ p.add(b);
+
+ b = new Button("next");
+ b.addActionListener(this);
+ p.add(b);
+
+ b = new Button("previous");
+ b.addActionListener(this);
+ p.add(b);
+
+ b = new Button("last");
+ b.addActionListener(this);
+ p.add(b);
+
+ Choice c = new Choice();
+ c.addItem("one");
+ c.addItem("two");
+ c.addItem("three");
+ c.addItem("four");
+ c.addItem("five");
+ c.addItem("six");
+ c.addItemListener(this);
+ p.add(c);
+ }
+
+ @Override
+ public void itemStateChanged(ItemEvent e) {
+ ((CardLayout) cards.getLayout()).show(cards,
+ (String) (e.getItem()));
+ }
+
+ @Override
+ public void actionPerformed(ActionEvent e) {
+ String arg = e.getActionCommand();
+
+ if ("first".equals(arg)) {
+ ((CardLayout) cards.getLayout()).first(cards);
+ } else if ("next".equals(arg)) {
+ ((CardLayout) cards.getLayout()).next(cards);
+ } else if ("previous".equals(arg)) {
+ ((CardLayout) cards.getLayout()).previous(cards);
+ } else if ("last".equals(arg)) {
+ ((CardLayout) cards.getLayout()).last(cards);
+ } else {
+ ((CardLayout) cards.getLayout()).show(cards, arg);
+ }
+ }
+
+ public static void main(String args[]) {
+ Frame f = new Frame("CardTest");
+ CardTest cardTest = new CardTest();
+ cardTest.init();
+ cardTest.start();
+
+ f.add("Center", cardTest);
+ f.setSize(300, 300);
+ f.setVisible(true);
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "Demonstrates the different types of layout managers.";
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/example1.html"
index 583cd1d9da093bda297fba4fb88e6c3127287341..c293b0f8491479f35ede02b2cd28effa6ef10f93 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/CardTest/example1.html"
@@ -1,3 +1,16 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ef78638dcf1a8cda65dcc1c91033d8ef957e5cfb98bd560509a994ee1ca0c07a
-size 425
+
+
+ Card Test (1.1)
+
+
+ Card Test (1.1)
+
+
+
+ The source.
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Clock/Clock.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Clock/Clock.class"
index 3d92c1164a92778e5898605ff14bb0723f29b510..7076b0fd9d1e90f2463c4bbad70290fb1b59f828 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Clock/Clock.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Clock/Clock.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Clock/Clock.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Clock/Clock.java"
index 430e69051cd598dbba71a50fff0127c360b3b93d..6a41b4598445458cec8c9de50127428d3ccc07f2 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Clock/Clock.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Clock/Clock.java"
@@ -1,3 +1,250 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:565e187f2cd430e991d97f73d04fc14406a32d3957388ae5e5f83f160da8f83c
-size 8989
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.applet.Applet;
+import java.awt.Color;
+import java.awt.Font;
+import java.awt.Graphics;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+import java.util.Locale;
+
+
+/**
+ * Time!
+ *
+ * @author Rachel Gollub
+ * @author Daniel Peek replaced circle drawing calculation, few more changes
+ */
+@SuppressWarnings("serial")
+public class Clock extends Applet implements Runnable {
+
+ private volatile Thread timer; // The thread that displays clock
+ private int lastxs, lastys, lastxm,
+ lastym, lastxh, lastyh; // Dimensions used to draw hands
+ private SimpleDateFormat formatter; // Formats the date displayed
+ private String lastdate; // String to hold date displayed
+ private Font clockFaceFont; // Font for number display on clock
+ private Date currentDate; // Used to get date to display
+ private Color handColor; // Color of main hands and dial
+ private Color numberColor; // Color of second hand and numbers
+ private int xcenter = 80, ycenter = 55; // Center position
+
+ @Override
+ public void init() {
+ lastxs = lastys = lastxm = lastym = lastxh = lastyh = 0;
+ formatter = new SimpleDateFormat("EEE MMM dd hh:mm:ss yyyy",
+ Locale.getDefault());
+ currentDate = new Date();
+ lastdate = formatter.format(currentDate);
+ clockFaceFont = new Font("Serif", Font.PLAIN, 14);
+ handColor = Color.blue;
+ numberColor = Color.darkGray;
+
+ try {
+ setBackground(new Color(Integer.parseInt(getParameter("bgcolor"),
+ 16)));
+ } catch (NullPointerException e) {
+ } catch (NumberFormatException e) {
+ }
+ try {
+ handColor = new Color(Integer.parseInt(getParameter("fgcolor1"),
+ 16));
+ } catch (NullPointerException e) {
+ } catch (NumberFormatException e) {
+ }
+ try {
+ numberColor = new Color(Integer.parseInt(getParameter("fgcolor2"),
+ 16));
+ } catch (NullPointerException e) {
+ } catch (NumberFormatException e) {
+ }
+ resize(300, 300); // Set clock window size
+ }
+
+ /**
+ * Paint is the main part of the program
+ */
+ @Override
+ public void update(Graphics g) {
+ int xh, yh, xm, ym, xs, ys;
+ int s = 0, m = 10, h = 10;
+ String today;
+
+ currentDate = new Date();
+
+ formatter.applyPattern("s");
+ try {
+ s = Integer.parseInt(formatter.format(currentDate));
+ } catch (NumberFormatException n) {
+ s = 0;
+ }
+ formatter.applyPattern("m");
+ try {
+ m = Integer.parseInt(formatter.format(currentDate));
+ } catch (NumberFormatException n) {
+ m = 10;
+ }
+ formatter.applyPattern("h");
+ try {
+ h = Integer.parseInt(formatter.format(currentDate));
+ } catch (NumberFormatException n) {
+ h = 10;
+ }
+
+ // Set position of the ends of the hands
+ xs = (int) (Math.cos(s * Math.PI / 30 - Math.PI / 2) * 45 + xcenter);
+ ys = (int) (Math.sin(s * Math.PI / 30 - Math.PI / 2) * 45 + ycenter);
+ xm = (int) (Math.cos(m * Math.PI / 30 - Math.PI / 2) * 40 + xcenter);
+ ym = (int) (Math.sin(m * Math.PI / 30 - Math.PI / 2) * 40 + ycenter);
+ xh = (int) (Math.cos((h * 30 + m / 2) * Math.PI / 180 - Math.PI / 2)
+ * 30
+ + xcenter);
+ yh = (int) (Math.sin((h * 30 + m / 2) * Math.PI / 180 - Math.PI / 2)
+ * 30
+ + ycenter);
+
+ // Get the date to print at the bottom
+ formatter.applyPattern("EEE MMM dd HH:mm:ss yyyy");
+ today = formatter.format(currentDate);
+
+ g.setFont(clockFaceFont);
+ // Erase if necessary
+ g.setColor(getBackground());
+ if (xs != lastxs || ys != lastys) {
+ g.drawLine(xcenter, ycenter, lastxs, lastys);
+ g.drawString(lastdate, 5, 125);
+ }
+ if (xm != lastxm || ym != lastym) {
+ g.drawLine(xcenter, ycenter - 1, lastxm, lastym);
+ g.drawLine(xcenter - 1, ycenter, lastxm, lastym);
+ }
+ if (xh != lastxh || yh != lastyh) {
+ g.drawLine(xcenter, ycenter - 1, lastxh, lastyh);
+ g.drawLine(xcenter - 1, ycenter, lastxh, lastyh);
+ }
+
+ // Draw date and hands
+ g.setColor(numberColor);
+ g.drawString(today, 5, 125);
+ g.drawLine(xcenter, ycenter, xs, ys);
+ g.setColor(handColor);
+ g.drawLine(xcenter, ycenter - 1, xm, ym);
+ g.drawLine(xcenter - 1, ycenter, xm, ym);
+ g.drawLine(xcenter, ycenter - 1, xh, yh);
+ g.drawLine(xcenter - 1, ycenter, xh, yh);
+ lastxs = xs;
+ lastys = ys;
+ lastxm = xm;
+ lastym = ym;
+ lastxh = xh;
+ lastyh = yh;
+ lastdate = today;
+ currentDate = null;
+ }
+
+ @Override
+ public void paint(Graphics g) {
+ g.setFont(clockFaceFont);
+ // Draw the circle and numbers
+ g.setColor(handColor);
+ g.drawArc(xcenter - 50, ycenter - 50, 100, 100, 0, 360);
+ g.setColor(numberColor);
+ g.drawString("9", xcenter - 45, ycenter + 3);
+ g.drawString("3", xcenter + 40, ycenter + 3);
+ g.drawString("12", xcenter - 5, ycenter - 37);
+ g.drawString("6", xcenter - 3, ycenter + 45);
+
+ // Draw date and hands
+ g.setColor(numberColor);
+ g.drawString(lastdate, 5, 125);
+ g.drawLine(xcenter, ycenter, lastxs, lastys);
+ g.setColor(handColor);
+ g.drawLine(xcenter, ycenter - 1, lastxm, lastym);
+ g.drawLine(xcenter - 1, ycenter, lastxm, lastym);
+ g.drawLine(xcenter, ycenter - 1, lastxh, lastyh);
+ g.drawLine(xcenter - 1, ycenter, lastxh, lastyh);
+ }
+
+ @Override
+ public void start() {
+ timer = new Thread(this);
+ timer.start();
+ }
+
+ @Override
+ public void stop() {
+ timer = null;
+ }
+
+ @Override
+ @SuppressWarnings("SleepWhileHoldingLock")
+ public void run() {
+ Thread me = Thread.currentThread();
+ while (timer == me) {
+ try {
+ Thread.sleep(100);
+ } catch (InterruptedException e) {
+ }
+ repaint();
+ }
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "Title: A Clock \n"
+ + "Author: Rachel Gollub, 1995 \n"
+ + "An analog clock.";
+ }
+
+ @Override
+ public String[][] getParameterInfo() {
+ String[][] info = {
+ { "bgcolor", "hexadecimal RGB number",
+ "The background color. Default is the color of your browser." },
+ { "fgcolor1", "hexadecimal RGB number",
+ "The color of the hands and dial. Default is blue." },
+ { "fgcolor2", "hexadecimal RGB number",
+ "The color of the second hand and numbers. Default is dark gray." }
+ };
+ return info;
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Clock/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Clock/example1.html"
index a6ffec9d5464931118ae118edecc10df0f3390b1..9509bec7c7b92420f7572fb5d61a5f4d9665240d 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Clock/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Clock/example1.html"
@@ -1,3 +1,47 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:49b8048b18091ba080fabb4138f28eff0111275aa2bf8f8937a428486a9a83a1
-size 1641
+
+
+ A Clock (1.6)
+
+
+ A Clock (1.6)
+
+
+
+ The clock applet now has three parameters; the background
+ color (bgcolor), the main foreground color (the hands and
+ dial) (fgcolor1) and the secondary foreground color (the
+ seconds hand and numbers) (fgcolor2). These three parameters
+ are hexadecimal RGB numbers (like the ones used for the body
+ bgcolor tag in HTML). For example:
+
+ <applet code="Clock.class" width=170 height=150>
+ <param name=bgcolor value="000000">
+ <param name=fgcolor1 value="ff0000">
+ <param name=fgcolor2 value="ff00ff">
+ </applet>
+ would give you a black background, a red dial and hands, and purple numbers.
+
+ For those who don't convert to hexadecimal easily, here are some common
+ values:
+
+ - black = 000000
+
- blue = 0000ff
+
- cyan = 00ffff
+
- darkGray = 404040
+
- gray = 808080
+
- green = 00ff00
+
- lightGray = c0c0c0
+
- magenta = ff00ff
+
- orange = ffc800
+
- pink = ffafaf
+
- red = ff0000
+
- white = ffffff
+
- yellow = ffff00
+
+
+ The source.
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/CardinalTextField.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/CardinalTextField.class"
index 271a10c393fda161dac8661e4fe8943c1a576566..17a391f3e36ff0542d11cdaf8fe6f588fc7926eb 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/CardinalTextField.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/CardinalTextField.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherCanvas.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherCanvas.class"
index 10654ccb84330ebc889c0bd8c2440d0752766178..af64307bfe78b70dc64f4b586b412fe57e22f5e7 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherCanvas.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherCanvas.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherControls.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherControls.class"
index 369b9c41ee355594cc528a22acd4b3567e999efb..5b22f97d6354fa97f5e5de2e19550e312a4a9735 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherControls.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherControls.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherMethod.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherMethod.class"
index 31798a0cc61721f055aaccda94c50f56b6169153..32bcc0f82715aa23bdc798915173576ac8f4b02a 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherMethod.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherMethod.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherTest$1.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherTest$1.class"
index 890582b8b90da457cf65d39acb4eb9cd299c71a5..3f80bbfdf1ce42bf9c9a069cf1cde6a6d8fd09c8 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherTest$1.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherTest$1.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherTest.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherTest.class"
index 36dfdc82b5bf19d996b7804eaa1b699ac8b20ff2..d1360fe6b4203f95ef913a09eb363ba166d39edc 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherTest.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherTest.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherTest.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherTest.java"
index 0b27b3e97b1e0b62e279d72ba6afb147aefbd62d..4875042a4305bbe25b236ae13c2f7abf45755337 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherTest.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/DitherTest.java"
@@ -1,3 +1,480 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6efe957c55af4e3ffdeee42c225393d941873cb446e751e4359a1f2bf7611985
-size 14519
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.applet.Applet;
+import java.awt.AWTEvent;
+import java.awt.BorderLayout;
+import java.awt.Button;
+import java.awt.Canvas;
+import java.awt.Choice;
+import java.awt.Color;
+import java.awt.Dimension;
+import java.awt.FlowLayout;
+import java.awt.FontMetrics;
+import java.awt.Frame;
+import java.awt.Graphics;
+import java.awt.Image;
+import java.awt.Label;
+import java.awt.LayoutManager;
+import java.awt.Panel;
+import java.awt.TextField;
+import java.awt.Toolkit;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.KeyEvent;
+import java.awt.event.TextEvent;
+import java.awt.image.ColorModel;
+import java.awt.image.MemoryImageSource;
+
+
+enum DitherMethod {
+
+ NOOP, RED, GREEN, BLUE, ALPHA, SATURATION
+};
+
+
+@SuppressWarnings("serial")
+public class DitherTest extends Applet implements Runnable {
+
+ private Thread runner;
+ private DitherControls XControls;
+ private DitherControls YControls;
+ private DitherCanvas canvas;
+
+ public static void main(String args[]) {
+ Frame f = new Frame("DitherTest");
+ DitherTest ditherTest = new DitherTest();
+ ditherTest.init();
+ f.add("Center", ditherTest);
+ f.pack();
+ f.setVisible(true);
+ ditherTest.start();
+ }
+
+ @Override
+ public void init() {
+ String xspec = null, yspec = null;
+ int xvals[] = new int[2];
+ int yvals[] = new int[2];
+
+ try {
+ xspec = getParameter("xaxis");
+ yspec = getParameter("yaxis");
+ } catch (NullPointerException ignored) {
+ //only occurs if run as application
+ }
+
+ if (xspec == null) {
+ xspec = "red";
+ }
+ if (yspec == null) {
+ yspec = "blue";
+ }
+ DitherMethod xmethod = colorMethod(xspec, xvals);
+ DitherMethod ymethod = colorMethod(yspec, yvals);
+
+ setLayout(new BorderLayout());
+ XControls = new DitherControls(this, xvals[0], xvals[1],
+ xmethod, false);
+ YControls = new DitherControls(this, yvals[0], yvals[1],
+ ymethod, true);
+ YControls.addRenderButton();
+ add("North", XControls);
+ add("South", YControls);
+ add("Center", canvas = new DitherCanvas());
+ }
+
+ private DitherMethod colorMethod(String s, int vals[]) {
+ DitherMethod method = DitherMethod.NOOP;
+ if (s == null) {
+ s = "";
+ }
+ String lower = s.toLowerCase();
+
+ for (DitherMethod m : DitherMethod.values()) {
+ if (lower.startsWith(m.toString().toLowerCase())) {
+ method = m;
+ lower = lower.substring(m.toString().length());
+ }
+ }
+ if (method == DitherMethod.NOOP) {
+ vals[0] = 0;
+ vals[1] = 0;
+ return method;
+ }
+ int begval = 0;
+ int endval = 255;
+ try {
+ int dash = lower.indexOf('-');
+ if (dash < 0) {
+ endval = Integer.parseInt(lower);
+ } else {
+ begval = Integer.parseInt(lower.substring(0, dash));
+ endval = Integer.parseInt(lower.substring(dash + 1));
+ }
+ } catch (NumberFormatException ignored) {
+ }
+
+ if (begval < 0) {
+ begval = 0;
+ } else if (begval > 255) {
+ begval = 255;
+ }
+
+ if (endval < 0) {
+ endval = 0;
+ } else if (endval > 255) {
+ endval = 255;
+ }
+
+ vals[0] = begval;
+ vals[1] = endval;
+ return method;
+ }
+
+ /**
+ * Calculates and returns the image. Halts the calculation and returns
+ * null if the Applet is stopped during the calculation.
+ */
+ private Image calculateImage() {
+ Thread me = Thread.currentThread();
+
+ int width = canvas.getSize().width;
+ int height = canvas.getSize().height;
+ int xvals[] = new int[2];
+ int yvals[] = new int[2];
+ int xmethod = XControls.getParams(xvals);
+ int ymethod = YControls.getParams(yvals);
+ int pixels[] = new int[width * height];
+ int c[] = new int[4]; //temporarily holds R,G,B,A information
+ int index = 0;
+ for (int j = 0; j < height; j++) {
+ for (int i = 0; i < width; i++) {
+ c[0] = c[1] = c[2] = 0;
+ c[3] = 255;
+ if (xmethod < ymethod) {
+ applyMethod(c, xmethod, i, width, xvals);
+ applyMethod(c, ymethod, j, height, yvals);
+ } else {
+ applyMethod(c, ymethod, j, height, yvals);
+ applyMethod(c, xmethod, i, width, xvals);
+ }
+ pixels[index++] = ((c[3] << 24) | (c[0] << 16) | (c[1] << 8)
+ | c[2]);
+ }
+
+ // Poll once per row to see if we've been told to stop.
+ if (runner != me) {
+ return null;
+ }
+ }
+ return createImage(new MemoryImageSource(width, height,
+ ColorModel.getRGBdefault(), pixels, 0, width));
+ }
+
+ private void applyMethod(int c[], int methodIndex, int step,
+ int total, int vals[]) {
+ DitherMethod method = DitherMethod.values()[methodIndex];
+ if (method == DitherMethod.NOOP) {
+ return;
+ }
+ int val = ((total < 2)
+ ? vals[0]
+ : vals[0] + ((vals[1] - vals[0]) * step / (total - 1)));
+ switch (method) {
+ case RED:
+ c[0] = val;
+ break;
+ case GREEN:
+ c[1] = val;
+ break;
+ case BLUE:
+ c[2] = val;
+ break;
+ case ALPHA:
+ c[3] = val;
+ break;
+ case SATURATION:
+ int max = Math.max(Math.max(c[0], c[1]), c[2]);
+ int min = max * (255 - val) / 255;
+ if (c[0] == 0) {
+ c[0] = min;
+ }
+ if (c[1] == 0) {
+ c[1] = min;
+ }
+ if (c[2] == 0) {
+ c[2] = min;
+ }
+ break;
+ }
+ }
+
+ @Override
+ public void start() {
+ runner = new Thread(this);
+ runner.start();
+ }
+
+ @Override
+ public void run() {
+ canvas.setImage(null); // Wipe previous image
+ Image img = calculateImage();
+ if (img != null && runner == Thread.currentThread()) {
+ canvas.setImage(img);
+ }
+ }
+
+ @Override
+ public void stop() {
+ runner = null;
+ }
+
+ @Override
+ public void destroy() {
+ remove(XControls);
+ remove(YControls);
+ remove(canvas);
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "An interactive demonstration of dithering.";
+ }
+
+ @Override
+ public String[][] getParameterInfo() {
+ String[][] info = {
+ { "xaxis", "{RED, GREEN, BLUE, ALPHA, SATURATION}",
+ "The color of the Y axis. Default is RED." },
+ { "yaxis", "{RED, GREEN, BLUE, ALPHA, SATURATION}",
+ "The color of the X axis. Default is BLUE." }
+ };
+ return info;
+ }
+}
+
+
+@SuppressWarnings("serial")
+class DitherCanvas extends Canvas {
+
+ private Image img;
+ private static String calcString = "Calculating...";
+
+ @Override
+ public void paint(Graphics g) {
+ int w = getSize().width;
+ int h = getSize().height;
+ if (img == null) {
+ super.paint(g);
+ g.setColor(Color.black);
+ FontMetrics fm = g.getFontMetrics();
+ int x = (w - fm.stringWidth(calcString)) / 2;
+ int y = h / 2;
+ g.drawString(calcString, x, y);
+ } else {
+ g.drawImage(img, 0, 0, w, h, this);
+ }
+ }
+
+ @Override
+ public void update(Graphics g) {
+ paint(g);
+ }
+
+ @Override
+ public Dimension getMinimumSize() {
+ return new Dimension(20, 20);
+ }
+
+ @Override
+ public Dimension getPreferredSize() {
+ return new Dimension(200, 200);
+ }
+
+ public Image getImage() {
+ return img;
+ }
+
+ public void setImage(Image img) {
+ this.img = img;
+ repaint();
+ }
+}
+
+
+@SuppressWarnings("serial")
+class DitherControls extends Panel implements ActionListener {
+
+ private CardinalTextField start;
+ private CardinalTextField end;
+ private Button button;
+ private Choice choice;
+ private DitherTest applet;
+ private static LayoutManager dcLayout = new FlowLayout(FlowLayout.CENTER,
+ 10, 5);
+
+ public DitherControls(DitherTest app, int s, int e, DitherMethod type,
+ boolean vertical) {
+ applet = app;
+ setLayout(dcLayout);
+ add(new Label(vertical ? "Vertical" : "Horizontal"));
+ add(choice = new Choice());
+ for (DitherMethod m : DitherMethod.values()) {
+ choice.addItem(m.toString().substring(0, 1)
+ + m.toString().substring(1).toLowerCase());
+ }
+ choice.select(type.ordinal());
+ add(start = new CardinalTextField(Integer.toString(s), 4));
+ add(end = new CardinalTextField(Integer.toString(e), 4));
+ }
+
+ /* puts on the button */
+ public void addRenderButton() {
+ add(button = new Button("New Image"));
+ button.addActionListener(this);
+ }
+
+ /* retrieves data from the user input fields */
+ public int getParams(int vals[]) {
+ try {
+ vals[0] = scale(Integer.parseInt(start.getText()));
+ } catch (NumberFormatException nfe) {
+ vals[0] = 0;
+ }
+ try {
+ vals[1] = scale(Integer.parseInt(end.getText()));
+ } catch (NumberFormatException nfe) {
+ vals[1] = 255;
+ }
+ return choice.getSelectedIndex();
+ }
+
+ /* fits the number between 0 and 255 inclusive */
+ private int scale(int number) {
+ if (number < 0) {
+ number = 0;
+ } else if (number > 255) {
+ number = 255;
+ }
+ return number;
+ }
+
+ /* called when user clicks the button */
+ @Override
+ public void actionPerformed(ActionEvent e) {
+ if (e.getSource() == button) {
+ applet.start();
+ }
+ }
+}
+
+
+@SuppressWarnings("serial")
+class CardinalTextField extends TextField {
+
+ String oldText = null;
+
+ public CardinalTextField(String text, int columns) {
+ super(text, columns);
+ enableEvents(AWTEvent.KEY_EVENT_MASK | AWTEvent.TEXT_EVENT_MASK);
+ oldText = getText();
+ }
+
+ // Consume non-digit KeyTyped events
+ // Note that processTextEvent kind of eliminates the need for this
+ // function, but this is neater, since ideally, it would prevent
+ // the text from appearing at all. Sigh. See bugid 4100317/4114565.
+ //
+ @Override
+ protected void processEvent(AWTEvent evt) {
+ int id = evt.getID();
+ if (id != KeyEvent.KEY_TYPED) {
+ super.processEvent(evt);
+ return;
+ }
+
+ KeyEvent kevt = (KeyEvent) evt;
+ char c = kevt.getKeyChar();
+
+ // Digits, backspace, and delete are okay
+ // Note that the minus sign is not allowed (neither is decimal)
+ if (Character.isDigit(c) || (c == '\b') || (c == '\u007f')) {
+ super.processEvent(evt);
+ return;
+ }
+
+ Toolkit.getDefaultToolkit().beep();
+ kevt.consume();
+ }
+
+ // Should consume TextEvents for non-integer Strings
+ // Store away the text in the tf for every TextEvent
+ // so we can revert to it on a TextEvent (paste, or
+ // legal key in the wrong location) with bad text
+ //
+ // Note: it would be easy to extend this to an eight-bit
+ // TextField (range 0-255), but I'll leave it as-is.
+ //
+ @Override
+ protected void processTextEvent(TextEvent te) {
+ // The empty string is okay, too
+ String newText = getText();
+ if (newText.equals("") || textIsCardinal(newText)) {
+ oldText = newText;
+ super.processTextEvent(te);
+ return;
+ }
+
+ Toolkit.getDefaultToolkit().beep();
+ setText(oldText);
+ }
+
+ // Returns true for Cardinal (non-negative) numbers
+ // Note that the empty string is not allowed
+ private boolean textIsCardinal(String textToCheck) {
+ try {
+ return Integer.parseInt(textToCheck, 10) >= 0;
+ } catch (NumberFormatException nfe) {
+ return false;
+ }
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/example1.html"
index 0a5d179887dd8c9b000955d4ae95eb1d34887662..9a4f041d2d2599045803d8dca110dd8bad8b7f76 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DitherTest/example1.html"
@@ -1,3 +1,16 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6909b4958025a6950865e9d5077addcd23d7d9bfcfffeff15532ce2599b54543
-size 433
+
+
+ Dither Test (1.1)
+
+
+ Dither Test (1.1)
+
+
+
+ The source.
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawControls.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawControls.class"
index abf9ff8ff1b8f92710e417abca5dc72b98d74b74..f901908adbb2a8d9017fb95c2ac1a36c7e2e45f6 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawControls.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawControls.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawPanel.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawPanel.class"
index 93d0cf85df0511ed6f7bca0bfe70abcfaed7dbaa..48fa8a1cb6c1181ad6f350298328ba5128344fe2 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawPanel.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawPanel.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawTest.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawTest.class"
index 216f50ecd2349e1590991606475b768d7832b25a..dcb0dc08b60c540964f6444620ca274b5595a0f3 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawTest.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawTest.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawTest.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawTest.java"
index d005cf0a467a415823b8cd597a4ba907fe9e892f..b2edecdc4bbec7be47aabcc422d848982b3cbc31 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawTest.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/DrawTest.java"
@@ -1,3 +1,300 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e42890bf1daa87e54b2bc8061e4f0a39518a6d2ceee12aaf5667e7297fed593a
-size 8998
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.applet.Applet;
+import java.awt.BorderLayout;
+import java.awt.Checkbox;
+import java.awt.CheckboxGroup;
+import java.awt.Choice;
+import java.awt.Color;
+import java.awt.Component;
+import java.awt.Dimension;
+import java.awt.FlowLayout;
+import java.awt.Frame;
+import java.awt.Graphics;
+import java.awt.Panel;
+import java.awt.Point;
+import java.awt.Rectangle;
+import java.awt.event.ItemEvent;
+import java.awt.event.ItemListener;
+import java.awt.event.MouseEvent;
+import java.awt.event.MouseListener;
+import java.awt.event.MouseMotionListener;
+import java.util.ArrayList;
+import java.util.List;
+
+
+@SuppressWarnings("serial")
+public class DrawTest extends Applet {
+
+ DrawPanel panel;
+ DrawControls controls;
+
+ @Override
+ public void init() {
+ setLayout(new BorderLayout());
+ panel = new DrawPanel();
+ controls = new DrawControls(panel);
+ add("Center", panel);
+ add("South", controls);
+ }
+
+ @Override
+ public void destroy() {
+ remove(panel);
+ remove(controls);
+ }
+
+ public static void main(String args[]) {
+ Frame f = new Frame("DrawTest");
+ DrawTest drawTest = new DrawTest();
+ drawTest.init();
+ drawTest.start();
+
+ f.add("Center", drawTest);
+ f.setSize(300, 300);
+ f.setVisible(true);
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "A simple drawing program.";
+ }
+}
+
+
+@SuppressWarnings("serial")
+class DrawPanel extends Panel implements MouseListener, MouseMotionListener {
+
+ public static final int LINES = 0;
+ public static final int POINTS = 1;
+ int mode = LINES;
+ List lines = new ArrayList();
+ List colors = new ArrayList();
+ int x1, y1;
+ int x2, y2;
+
+ @SuppressWarnings("LeakingThisInConstructor")
+ public DrawPanel() {
+ setBackground(Color.white);
+ addMouseMotionListener(this);
+ addMouseListener(this);
+ }
+
+ public void setDrawMode(int mode) {
+ switch (mode) {
+ case LINES:
+ case POINTS:
+ this.mode = mode;
+ break;
+ default:
+ throw new IllegalArgumentException();
+ }
+ }
+
+ @Override
+ public void mouseDragged(MouseEvent e) {
+ e.consume();
+ switch (mode) {
+ case LINES:
+ x2 = e.getX();
+ y2 = e.getY();
+ break;
+ case POINTS:
+ default:
+ colors.add(getForeground());
+ lines.add(new Rectangle(x1, y1, e.getX(), e.getY()));
+ x1 = e.getX();
+ y1 = e.getY();
+ break;
+ }
+ repaint();
+ }
+
+ @Override
+ public void mouseMoved(MouseEvent e) {
+ }
+
+ @Override
+ public void mousePressed(MouseEvent e) {
+ e.consume();
+ switch (mode) {
+ case LINES:
+ x1 = e.getX();
+ y1 = e.getY();
+ x2 = -1;
+ break;
+ case POINTS:
+ default:
+ colors.add(getForeground());
+ lines.add(new Rectangle(e.getX(), e.getY(), -1, -1));
+ x1 = e.getX();
+ y1 = e.getY();
+ repaint();
+ break;
+ }
+ }
+
+ @Override
+ public void mouseReleased(MouseEvent e) {
+ e.consume();
+ switch (mode) {
+ case LINES:
+ colors.add(getForeground());
+ lines.add(new Rectangle(x1, y1, e.getX(), e.getY()));
+ x2 = -1;
+ break;
+ case POINTS:
+ default:
+ break;
+ }
+ repaint();
+ }
+
+ @Override
+ public void mouseEntered(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseExited(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseClicked(MouseEvent e) {
+ }
+
+ @Override
+ public void paint(Graphics g) {
+ int np = lines.size();
+
+ /* draw the current lines */
+ g.setColor(getForeground());
+ for (int i = 0; i < np; i++) {
+ Rectangle p = lines.get(i);
+ g.setColor(colors.get(i));
+ if (p.width != -1) {
+ g.drawLine(p.x, p.y, p.width, p.height);
+ } else {
+ g.drawLine(p.x, p.y, p.x, p.y);
+ }
+ }
+ if (mode == LINES) {
+ g.setColor(getForeground());
+ if (x2 != -1) {
+ g.drawLine(x1, y1, x2, y2);
+ }
+ }
+ }
+}
+
+
+@SuppressWarnings("serial")
+class DrawControls extends Panel implements ItemListener {
+
+ DrawPanel target;
+
+ @SuppressWarnings("LeakingThisInConstructor")
+ public DrawControls(DrawPanel target) {
+ this.target = target;
+ setLayout(new FlowLayout());
+ setBackground(Color.lightGray);
+ target.setForeground(Color.red);
+ CheckboxGroup group = new CheckboxGroup();
+ Checkbox b;
+ add(b = new Checkbox(null, group, false));
+ b.addItemListener(this);
+ b.setForeground(Color.red);
+ add(b = new Checkbox(null, group, false));
+ b.addItemListener(this);
+ b.setForeground(Color.green);
+ add(b = new Checkbox(null, group, false));
+ b.addItemListener(this);
+ b.setForeground(Color.blue);
+ add(b = new Checkbox(null, group, false));
+ b.addItemListener(this);
+ b.setForeground(Color.pink);
+ add(b = new Checkbox(null, group, false));
+ b.addItemListener(this);
+ b.setForeground(Color.orange);
+ add(b = new Checkbox(null, group, true));
+ b.addItemListener(this);
+ b.setForeground(Color.black);
+ target.setForeground(b.getForeground());
+ Choice shapes = new Choice();
+ shapes.addItemListener(this);
+ shapes.addItem("Lines");
+ shapes.addItem("Points");
+ shapes.setBackground(Color.lightGray);
+ add(shapes);
+ }
+
+ @Override
+ public void paint(Graphics g) {
+ Rectangle r = getBounds();
+ g.setColor(Color.lightGray);
+ g.draw3DRect(0, 0, r.width, r.height, false);
+
+ int n = getComponentCount();
+ for (int i = 0; i < n; i++) {
+ Component comp = getComponent(i);
+ if (comp instanceof Checkbox) {
+ Point loc = comp.getLocation();
+ Dimension d = comp.getSize();
+ g.setColor(comp.getForeground());
+ g.drawRect(loc.x - 1, loc.y - 1, d.width + 1, d.height + 1);
+ }
+ }
+ }
+
+ @Override
+ public void itemStateChanged(ItemEvent e) {
+ if (e.getSource() instanceof Checkbox) {
+ target.setForeground(((Component) e.getSource()).getForeground());
+ } else if (e.getSource() instanceof Choice) {
+ String choice = (String) e.getItem();
+ if (choice.equals("Lines")) {
+ target.setDrawMode(DrawPanel.LINES);
+ } else if (choice.equals("Points")) {
+ target.setDrawMode(DrawPanel.POINTS);
+ }
+ }
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/example1.html"
index 96e1c5556dea95f2c8a8dac4a8d104fc7fc7e8c7..7cdaa7cd7cd0d4b043a65ada37cd213faacf3f9c 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/DrawTest/example1.html"
@@ -1,3 +1,16 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:cb5ed3a063a9107acff0743680461f92f168bc3ce1e6f78bc17d16ef5d42e33f
-size 425
+
+
+ Draw Test (1.1)
+
+
+ Draw Test (1.1)
+
+
+
+ The source.
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSFractal.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSFractal.class"
index 40baec4b813b7f9f5f4176f5cb00ecf91ba972e9..6267bcfc3823785c4fa478558c61e636d3c1efe4 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSFractal.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSFractal.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSFractal.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSFractal.java"
index 5fa71797fc820a22960e6290ae7d73d4309fe4c7..9f7812cff97b612b663cf9fb501368520ee84d48 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSFractal.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSFractal.java"
@@ -1,3 +1,491 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:22f6fab6c3688bd0dcd9528a46674e8dbb2dfca4a9521f4e0e461a7a7af91c62
-size 14789
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.awt.Graphics;
+import java.util.Stack;
+import java.awt.event.*;
+import java.util.ArrayList;
+import java.util.List;
+
+
+/**
+ * A (not-yet) Context sensitive L-System Fractal applet class.
+ *
+ * The rules for the Context L-system are read from the java.applet.Applet's
+ * attributes and then the system is iteratively applied for the
+ * given number of levels, possibly drawing each generation as it
+ * is generated. Note that the ContextLSystem class does not yet
+ * handle the lContext and rContext attributes, although this
+ * class is already designed to parse the '[' and ']' characters
+ * typically used in Context sensitive L-Systems.
+ *
+ * @author Jim Graham
+ */
+@SuppressWarnings("serial")
+public class CLSFractal
+ extends java.applet.Applet
+ implements Runnable, MouseListener {
+
+ Thread kicker;
+ ContextLSystem cls;
+ int fractLevel = 1;
+ int repaintDelay = 50;
+ boolean incrementalUpdates;
+ float startAngle = 0;
+ float rotAngle = 45;
+ float Xmin;
+ float Xmax;
+ float Ymin;
+ float Ymax;
+ int border;
+ boolean normalizescaling;
+
+ @Override
+ public void init() {
+ String s;
+ cls = new ContextLSystem(this);
+ s = getParameter("level");
+ if (s != null) {
+ fractLevel = Integer.parseInt(s);
+ }
+ s = getParameter("incremental");
+ if (s != null) {
+ incrementalUpdates = s.equalsIgnoreCase("true");
+ }
+ s = getParameter("delay");
+ if (s != null) {
+ repaintDelay = Integer.parseInt(s);
+ }
+ s = getParameter("startAngle");
+ if (s != null) {
+ startAngle = Float.valueOf(s).floatValue();
+ }
+ s = getParameter("rotAngle");
+ if (s != null) {
+ rotAngle = Float.valueOf(s).floatValue();
+ }
+ rotAngle = rotAngle / 360 * 2 * 3.14159265358f;
+ s = getParameter("border");
+ if (s != null) {
+ border = Integer.parseInt(s);
+ }
+ s = getParameter("normalizescale");
+ if (s != null) {
+ normalizescaling = s.equalsIgnoreCase("true");
+ }
+ addMouseListener(this);
+ }
+
+ @Override
+ public void destroy() {
+ removeMouseListener(this);
+ }
+
+ @Override
+ public void run() {
+ Thread me = Thread.currentThread();
+ boolean needsRepaint = false;
+ while (kicker == me && cls.getLevel() < fractLevel) {
+ cls.generate();
+ if (kicker == me && incrementalUpdates) {
+ repaint();
+ try {
+ Thread.sleep(repaintDelay);
+ } catch (InterruptedException ignored) {
+ }
+ } else {
+ needsRepaint = true;
+ }
+ }
+ if (kicker == me) {
+ kicker = null;
+ if (needsRepaint) {
+ repaint();
+ }
+ }
+ }
+
+ @Override
+ public void start() {
+ kicker = new Thread(this);
+ kicker.start();
+ }
+
+ @Override
+ public void stop() {
+ kicker = null;
+ }
+
+ /*1.1 event handling */
+ @Override
+ public void mouseClicked(MouseEvent e) {
+ }
+
+ @Override
+ public void mousePressed(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseReleased(MouseEvent e) {
+ cls = new ContextLSystem(this);
+ savedPath = null;
+ start();
+ e.consume();
+ }
+
+ @Override
+ public void mouseEntered(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseExited(MouseEvent e) {
+ }
+ String savedPath;
+
+ @Override
+ public void paint(Graphics g) {
+ String fractalPath = cls.getPath();
+ if (fractalPath == null) {
+ super.paint(g);
+ return;
+ }
+ if (savedPath == null || !savedPath.equals(fractalPath)) {
+ savedPath = fractalPath;
+ render(null, fractalPath);
+ }
+
+ for (int i = 0; i < border; i++) {
+ g.draw3DRect(i, i, getSize().width - i * 2, getSize().height - i * 2,
+ false);
+ }
+ render(g, fractalPath);
+ }
+
+ void render(Graphics g, String path) {
+ Stack turtleStack = new Stack();
+ CLSTurtle turtle;
+
+ if (g == null) {
+ Xmin = 1E20f;
+ Ymin = 1E20f;
+ Xmax = -1E20f;
+ Ymax = -1E20f;
+ turtle = new CLSTurtle(startAngle, 0, 0, 0, 0, 1, 1);
+ } else {
+ float frwidth = Xmax - Xmin;
+ if (frwidth == 0) {
+ frwidth = 1;
+ }
+ float frheight = Ymax - Ymin;
+ if (frheight == 0) {
+ frheight = 1;
+ }
+ float xscale = (getSize().width - border * 2 - 1) / frwidth;
+ float yscale = (getSize().height - border * 2 - 1) / frheight;
+ int xoff = border;
+ int yoff = border;
+ if (normalizescaling) {
+ if (xscale < yscale) {
+ yoff += ((getSize().height - border * 2)
+ - ((Ymax - Ymin) * xscale)) / 2;
+ yscale = xscale;
+ } else if (yscale < xscale) {
+ xoff += ((getSize().width - border * 2)
+ - ((Xmax - Xmin) * yscale)) / 2;
+ xscale = yscale;
+ }
+ }
+ turtle = new CLSTurtle(startAngle, 0 - Xmin, 0 - Ymin,
+ xoff, yoff, xscale, yscale);
+ }
+
+ for (int pos = 0; pos < path.length(); pos++) {
+ switch (path.charAt(pos)) {
+ case '+':
+ turtle.rotate(rotAngle);
+ break;
+ case '-':
+ turtle.rotate(-rotAngle);
+ break;
+ case '[':
+ turtleStack.push(turtle);
+ turtle = new CLSTurtle(turtle);
+ break;
+ case ']':
+ turtle = turtleStack.pop();
+ break;
+ case 'f':
+ turtle.jump();
+ break;
+ case 'F':
+ if (g == null) {
+ includePt(turtle.X, turtle.Y);
+ turtle.jump();
+ includePt(turtle.X, turtle.Y);
+ } else {
+ turtle.draw(g);
+ }
+ break;
+ default:
+ break;
+ }
+ }
+ }
+
+ void includePt(float x, float y) {
+ if (x < Xmin) {
+ Xmin = x;
+ }
+ if (x > Xmax) {
+ Xmax = x;
+ }
+ if (y < Ymin) {
+ Ymin = y;
+ }
+ if (y > Ymax) {
+ Ymax = y;
+ }
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "Title: CLSFractal 1.1f, 27 Mar 1995 \nAuthor: Jim Graham \nA "
+ + "(not yet) Context Sensitive L-System production rule. \n"
+ + "This class encapsulates a production rule for a Context "
+ + "Sensitive\n L-System \n(pred, succ, lContext, rContext)."
+ + " The matches() method, however, does not \n(yet) verify "
+ + "the lContext and rContext parts of the rule.";
+ }
+
+ @Override
+ public String[][] getParameterInfo() {
+ String[][] info = {
+ { "level", "int", "Maximum number of recursions. Default is 1." },
+ { "incremental", "boolean", "Whether or not to repaint between "
+ + "recursions. Default is true." },
+ { "delay", "integer", "Sets delay between repaints. Default is 50." },
+ { "startAngle", "float", "Sets the starting angle. Default is 0." },
+ { "rotAngle", "float", "Sets the rotation angle. Default is 45." },
+ { "border", "integer", "Width of border. Default is 2." },
+ { "normalizeScale", "boolean", "Whether or not to normalize "
+ + "the scaling. Default is true." },
+ { "pred", "String",
+ "Initializes the rules for Context Sensitive L-Systems." },
+ { "succ", "String",
+ "Initializes the rules for Context Sensitive L-Systems." },
+ { "lContext", "String",
+ "Initializes the rules for Context Sensitive L-Systems." },
+ { "rContext", "String",
+ "Initializes the rules for Context Sensitive L-Systems." }
+ };
+ return info;
+ }
+}
+
+
+/**
+ * A Logo turtle class designed to support Context sensitive L-Systems.
+ *
+ * This turtle performs a few basic maneuvers needed to support the
+ * set of characters used in Context sensitive L-Systems "+-fF[]".
+ *
+ * @author Jim Graham
+ */
+class CLSTurtle {
+
+ float angle;
+ float X;
+ float Y;
+ float scaleX;
+ float scaleY;
+ int xoff;
+ int yoff;
+
+ public CLSTurtle(float ang, float x, float y,
+ int xorg, int yorg, float sx, float sy) {
+ angle = ang;
+ scaleX = sx;
+ scaleY = sy;
+ X = x * sx;
+ Y = y * sy;
+ xoff = xorg;
+ yoff = yorg;
+ }
+
+ public CLSTurtle(CLSTurtle turtle) {
+ angle = turtle.angle;
+ X = turtle.X;
+ Y = turtle.Y;
+ scaleX = turtle.scaleX;
+ scaleY = turtle.scaleY;
+ xoff = turtle.xoff;
+ yoff = turtle.yoff;
+ }
+
+ public void rotate(float theta) {
+ angle += theta;
+ }
+
+ public void jump() {
+ X += (float) Math.cos(angle) * scaleX;
+ Y += (float) Math.sin(angle) * scaleY;
+ }
+
+ public void draw(Graphics g) {
+ float x = X + (float) Math.cos(angle) * scaleX;
+ float y = Y + (float) Math.sin(angle) * scaleY;
+ g.drawLine((int) X + xoff, (int) Y + yoff,
+ (int) x + xoff, (int) y + yoff);
+ X = x;
+ Y = y;
+ }
+}
+
+
+/**
+ * A (non-)Context sensitive L-System class.
+ *
+ * This class initializes the rules for Context sensitive L-Systems
+ * (pred, succ, lContext, rContext) from the given java.applet.Applet's attributes.
+ * The generate() method, however, does not (yet) apply the lContext
+ * and rContext parts of the rules.
+ *
+ * @author Jim Graham
+ */
+class ContextLSystem {
+
+ String axiom;
+ List rules = new ArrayList();
+ int level;
+
+ public ContextLSystem(java.applet.Applet app) {
+ axiom = app.getParameter("axiom");
+ int num = 1;
+ while (true) {
+ String pred = app.getParameter("pred" + num);
+ String succ = app.getParameter("succ" + num);
+ if (pred == null || succ == null) {
+ break;
+ }
+ rules.add(new CLSRule(pred, succ,
+ app.getParameter("lContext" + num),
+ app.getParameter("rContext" + num)));
+ num++;
+ }
+ currentPath = new StringBuffer(axiom);
+ level = 0;
+ }
+
+ public int getLevel() {
+ return level;
+ }
+ StringBuffer currentPath;
+
+ public synchronized String getPath() {
+ return ((currentPath == null) ? null : currentPath.toString());
+ }
+
+ private synchronized void setPath(StringBuffer path) {
+ currentPath = path;
+ level++;
+ }
+
+ public void generate() {
+ StringBuffer newPath = new StringBuffer();
+ int pos = 0;
+ while (pos < currentPath.length()) {
+ CLSRule rule = findRule(pos);
+ if (rule == null) {
+ newPath.append(currentPath.charAt(pos));
+ pos++;
+ } else {
+ newPath.append(rule.succ);
+ pos += rule.pred.length();
+ }
+ }
+ setPath(newPath);
+ }
+
+ public CLSRule findRule(int pos) {
+ for (int i = 0; i < rules.size(); i++) {
+ CLSRule rule = rules.get(i);
+ if (rule.matches(currentPath, pos)) {
+ return rule;
+ }
+ }
+ return null;
+ }
+}
+
+
+/**
+ * A Context sensitive L-System production rule.
+ *
+ * This class encapsulates a production rule for a Context sensitive
+ * L-System (pred, succ, lContext, rContext).
+ * The matches() method, however, does not (yet) verify the lContext
+ * and rContext parts of the rule.
+ *
+ * @author Jim Graham
+ */
+class CLSRule {
+
+ String pred;
+ String succ;
+ String lContext;
+ String rContext;
+
+ public CLSRule(String p, String d, String l, String r) {
+ pred = p;
+ succ = d;
+ lContext = l;
+ rContext = r;
+ }
+
+ public boolean matches(StringBuffer sb, int pos) {
+ if (pos + pred.length() > sb.length()) {
+ return false;
+ }
+ char cb[] = new char[pred.length()];
+ sb.getChars(pos, pos + pred.length(), cb, 0);
+ return pred.equals(new String(cb));
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSRule.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSRule.class"
index 90e69c825bfe8129b66700cf4ef35875d2d79600..dbb88d22096268fe44bb0f50526c1567003c645d 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSRule.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSRule.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSTurtle.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSTurtle.class"
index 7a8226df47e91a10b16839a053964944e15c0af8..489e2f7b92d9df190ead8b43e96f72070a0ef372 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSTurtle.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/CLSTurtle.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/ContextLSystem.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/ContextLSystem.class"
index 18f79414d6eaefbe3ff2f26be5c5a123b1f1d885..3b4bfe40e953a6e72c1056e547d32e85e2b05dea 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/ContextLSystem.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/ContextLSystem.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/example1.html"
index 89877fcaf72ae98d7ea003097752a9e620ffdcb8..12d49e03217d7479cdd6db3b05b5321f58e1cfb9 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/Fractal/example1.html"
@@ -1,3 +1,27 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:fd2ddc721ad38994b9c39828a1d611299c645bd554430d0ff434e137cc92d9a0
-size 781
+
+
+ Fractals 1.1
+
+
+ Fractals 1.1
+
+
+
+ The source.
+
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Edge.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Edge.class"
index a290afb781a1245d2a335c9e384c24f4da3f1981..6f80a70306d4552b4face0911b7ba7ac9aa3f89d 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Edge.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Edge.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Graph.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Graph.class"
index 0fb580960bf10e00e4c159a0ebde4b172bb0e4ca..ac638ab36f0428295e51498a1b4964e72aaa2480 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Graph.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Graph.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Graph.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Graph.java"
index 184f6aa1ac472d7c25507e87415a33b3712cc299..d89ac05375dbd13730dc0a9360c56d56e19e033a 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Graph.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Graph.java"
@@ -1,3 +1,473 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:aae6ea09e45dedc8d11e8975d9a6eb7d797b02eb250b378ead26c62e44142153
-size 14512
+/*
+ *
+ * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+import java.applet.Applet;
+import java.awt.BorderLayout;
+import java.awt.Button;
+import java.awt.Checkbox;
+import java.awt.Color;
+import java.awt.Dimension;
+import java.awt.FontMetrics;
+import java.awt.Graphics;
+import java.awt.Image;
+import java.awt.Panel;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+import java.awt.event.ItemEvent;
+import java.awt.event.ItemListener;
+import java.awt.event.MouseEvent;
+import java.awt.event.MouseAdapter;
+import java.util.StringTokenizer;
+
+
+class Node {
+
+ double x;
+ double y;
+ double dx;
+ double dy;
+ boolean fixed;
+ String lbl;
+}
+
+
+class Edge {
+
+ int from;
+ int to;
+ double len;
+}
+
+
+@SuppressWarnings("serial")
+class GraphPanel extends Panel implements Runnable {
+
+ Graph graph;
+ int nnodes;
+ Node nodes[] = new Node[100];
+ int nedges;
+ Edge edges[] = new Edge[200];
+ Thread relaxer;
+ boolean stress;
+ boolean random;
+ int numMouseButtonsDown = 0;
+
+ GraphPanel(Graph graph) {
+ this.graph = graph;
+ addMouseListener(new MouseAdapter() {
+
+ @Override
+ public void mousePressed(MouseEvent e) {
+ numMouseButtonsDown++;
+ double bestdist = Double.MAX_VALUE;
+
+ int x = e.getX();
+ int y = e.getY();
+ for (int i = 0; i < nnodes; i++) {
+ Node n = nodes[i];
+ double dist = (n.x - x) * (n.x - x) + (n.y - y) * (n.y - y);
+ if (dist < bestdist) {
+ pick = n;
+ bestdist = dist;
+ }
+ }
+ pickfixed = pick.fixed;
+ pick.fixed = true;
+ pick.x = x;
+ pick.y = y;
+
+ repaint();
+ e.consume();
+ }
+
+ @Override
+ public void mouseReleased(MouseEvent e) {
+ numMouseButtonsDown--;
+
+ pick.fixed = pickfixed;
+ pick.x = e.getX();
+ pick.y = e.getY();
+ if (numMouseButtonsDown == 0) {
+ pick = null;
+ }
+
+ repaint();
+ e.consume();
+ }
+ });
+
+ addMouseMotionListener(new MouseAdapter() {
+
+ @Override
+ public void mouseDragged(MouseEvent e) {
+ pick.x = e.getX();
+ pick.y = e.getY();
+ repaint();
+ e.consume();
+ }
+ });
+ }
+
+ int findNode(String lbl) {
+ for (int i = 0; i < nnodes; i++) {
+ if (nodes[i].lbl.equals(lbl)) {
+ return i;
+ }
+ }
+ return addNode(lbl);
+ }
+
+ int addNode(String lbl) {
+ Node n = new Node();
+ n.x = 10 + 380 * Math.random();
+ n.y = 10 + 380 * Math.random();
+ n.lbl = lbl;
+ nodes[nnodes] = n;
+ return nnodes++;
+ }
+
+ void addEdge(String from, String to, int len) {
+ Edge e = new Edge();
+ e.from = findNode(from);
+ e.to = findNode(to);
+ e.len = len;
+ edges[nedges++] = e;
+ }
+
+ @Override
+ @SuppressWarnings("SleepWhileHoldingLock")
+ public void run() {
+ Thread me = Thread.currentThread();
+ while (relaxer == me) {
+ relax();
+ if (random && (Math.random() < 0.03)) {
+ Node n = nodes[(int) (Math.random() * nnodes)];
+ if (!n.fixed) {
+ n.x += 100 * Math.random() - 50;
+ n.y += 100 * Math.random() - 50;
+ }
+ graph.play(graph.getCodeBase(), "audio/drip.au");
+ }
+ try {
+ Thread.sleep(100);
+ } catch (InterruptedException e) {
+ break;
+ }
+ }
+ }
+
+ synchronized void relax() {
+ for (int i = 0; i < nedges; i++) {
+ Edge e = edges[i];
+ double vx = nodes[e.to].x - nodes[e.from].x;
+ double vy = nodes[e.to].y - nodes[e.from].y;
+ double len = Math.sqrt(vx * vx + vy * vy);
+ len = (len == 0) ? .0001 : len;
+ double f = (edges[i].len - len) / (len * 3);
+ double dx = f * vx;
+ double dy = f * vy;
+
+ nodes[e.to].dx += dx;
+ nodes[e.to].dy += dy;
+ nodes[e.from].dx += -dx;
+ nodes[e.from].dy += -dy;
+ }
+
+ for (int i = 0; i < nnodes; i++) {
+ Node n1 = nodes[i];
+ double dx = 0;
+ double dy = 0;
+
+ for (int j = 0; j < nnodes; j++) {
+ if (i == j) {
+ continue;
+ }
+ Node n2 = nodes[j];
+ double vx = n1.x - n2.x;
+ double vy = n1.y - n2.y;
+ double len = vx * vx + vy * vy;
+ if (len == 0) {
+ dx += Math.random();
+ dy += Math.random();
+ } else if (len < 100 * 100) {
+ dx += vx / len;
+ dy += vy / len;
+ }
+ }
+ double dlen = dx * dx + dy * dy;
+ if (dlen > 0) {
+ dlen = Math.sqrt(dlen) / 2;
+ n1.dx += dx / dlen;
+ n1.dy += dy / dlen;
+ }
+ }
+
+ Dimension d = getSize();
+ for (int i = 0; i < nnodes; i++) {
+ Node n = nodes[i];
+ if (!n.fixed) {
+ n.x += Math.max(-5, Math.min(5, n.dx));
+ n.y += Math.max(-5, Math.min(5, n.dy));
+ }
+ if (n.x < 0) {
+ n.x = 0;
+ } else if (n.x > d.width) {
+ n.x = d.width;
+ }
+ if (n.y < 0) {
+ n.y = 0;
+ } else if (n.y > d.height) {
+ n.y = d.height;
+ }
+ n.dx /= 2;
+ n.dy /= 2;
+ }
+ repaint();
+ }
+ Node pick;
+ boolean pickfixed;
+ Image offscreen;
+ Dimension offscreensize;
+ Graphics offgraphics;
+ final Color fixedColor = Color.red;
+ final Color selectColor = Color.pink;
+ final Color edgeColor = Color.black;
+ final Color nodeColor = new Color(250, 220, 100);
+ final Color stressColor = Color.darkGray;
+ final Color arcColor1 = Color.black;
+ final Color arcColor2 = Color.pink;
+ final Color arcColor3 = Color.red;
+
+ public void paintNode(Graphics g, Node n, FontMetrics fm) {
+ int x = (int) n.x;
+ int y = (int) n.y;
+ g.setColor((n == pick) ? selectColor
+ : (n.fixed ? fixedColor : nodeColor));
+ int w = fm.stringWidth(n.lbl) + 10;
+ int h = fm.getHeight() + 4;
+ g.fillRect(x - w / 2, y - h / 2, w, h);
+ g.setColor(Color.black);
+ g.drawRect(x - w / 2, y - h / 2, w - 1, h - 1);
+ g.drawString(n.lbl, x - (w - 10) / 2, (y - (h - 4) / 2) + fm.getAscent());
+ }
+
+ @Override
+ public synchronized void update(Graphics g) {
+ Dimension d = getSize();
+ if ((offscreen == null) || (d.width != offscreensize.width)
+ || (d.height != offscreensize.height)) {
+ offscreen = createImage(d.width, d.height);
+ offscreensize = d;
+ if (offgraphics != null) {
+ offgraphics.dispose();
+ }
+ offgraphics = offscreen.getGraphics();
+ offgraphics.setFont(getFont());
+ }
+
+ offgraphics.setColor(getBackground());
+ offgraphics.fillRect(0, 0, d.width, d.height);
+ for (int i = 0; i < nedges; i++) {
+ Edge e = edges[i];
+ int x1 = (int) nodes[e.from].x;
+ int y1 = (int) nodes[e.from].y;
+ int x2 = (int) nodes[e.to].x;
+ int y2 = (int) nodes[e.to].y;
+ int len = (int) Math.abs(Math.sqrt((x1 - x2) * (x1 - x2)
+ + (y1 - y2) * (y1 - y2)) - e.len);
+ offgraphics.setColor((len < 10) ? arcColor1
+ : (len < 20 ? arcColor2 : arcColor3));
+ offgraphics.drawLine(x1, y1, x2, y2);
+ if (stress) {
+ String lbl = String.valueOf(len);
+ offgraphics.setColor(stressColor);
+ offgraphics.drawString(lbl, x1 + (x2 - x1) / 2, y1 + (y2 - y1)
+ / 2);
+ offgraphics.setColor(edgeColor);
+ }
+ }
+
+ FontMetrics fm = offgraphics.getFontMetrics();
+ for (int i = 0; i < nnodes; i++) {
+ paintNode(offgraphics, nodes[i], fm);
+ }
+ g.drawImage(offscreen, 0, 0, null);
+ }
+
+ public void start() {
+ relaxer = new Thread(this);
+ relaxer.start();
+ }
+
+ public void stop() {
+ relaxer = null;
+ }
+}
+
+
+/**
+ * @author Original author unknown
+ * @author Alexander Kouznetsov
+ */
+@SuppressWarnings("serial")
+public class Graph extends Applet implements ActionListener, ItemListener {
+
+ GraphPanel panel;
+ Panel controlPanel;
+ Button scramble = new Button("Scramble");
+ Button shake = new Button("Shake");
+ Checkbox stress = new Checkbox("Stress");
+ Checkbox random = new Checkbox("Random");
+
+ @Override
+ public void init() {
+ setLayout(new BorderLayout());
+
+ panel = new GraphPanel(this);
+ add("Center", panel);
+ controlPanel = new Panel();
+ add("South", controlPanel);
+
+ controlPanel.add(scramble);
+ scramble.addActionListener(this);
+ controlPanel.add(shake);
+ shake.addActionListener(this);
+ controlPanel.add(stress);
+ stress.addItemListener(this);
+ controlPanel.add(random);
+ random.addItemListener(this);
+
+ String edges = getParameter("edges");
+ for (StringTokenizer t = new StringTokenizer(edges, ","); t.
+ hasMoreTokens();) {
+ String str = t.nextToken();
+ int i = str.indexOf('-');
+ if (i > 0) {
+ int len = 50;
+ int j = str.indexOf('/');
+ if (j > 0) {
+ len = Integer.valueOf(str.substring(j + 1)).intValue();
+ str = str.substring(0, j);
+ }
+ panel.addEdge(str.substring(0, i), str.substring(i + 1), len);
+ }
+ }
+ Dimension d = getSize();
+ String center = getParameter("center");
+ if (center != null) {
+ Node n = panel.nodes[panel.findNode(center)];
+ n.x = d.width / 2;
+ n.y = d.height / 2;
+ n.fixed = true;
+ }
+ }
+
+ @Override
+ public void destroy() {
+ remove(panel);
+ remove(controlPanel);
+ }
+
+ @Override
+ public void start() {
+ panel.start();
+ }
+
+ @Override
+ public void stop() {
+ panel.stop();
+ }
+
+ @Override
+ public void actionPerformed(ActionEvent e) {
+ Object src = e.getSource();
+
+ if (src == scramble) {
+ play(getCodeBase(), "audio/computer.au");
+ Dimension d = getSize();
+ for (int i = 0; i < panel.nnodes; i++) {
+ Node n = panel.nodes[i];
+ if (!n.fixed) {
+ n.x = 10 + (d.width - 20) * Math.random();
+ n.y = 10 + (d.height - 20) * Math.random();
+ }
+ }
+ return;
+ }
+
+ if (src == shake) {
+ play(getCodeBase(), "audio/gong.au");
+ getSize();
+ for (int i = 0; i < panel.nnodes; i++) {
+ Node n = panel.nodes[i];
+ if (!n.fixed) {
+ n.x += 80 * Math.random() - 40;
+ n.y += 80 * Math.random() - 40;
+ }
+ }
+ }
+
+ }
+
+ @Override
+ public void itemStateChanged(ItemEvent e) {
+ Object src = e.getSource();
+ boolean on = e.getStateChange() == ItemEvent.SELECTED;
+ if (src == stress) {
+ panel.stress = on;
+ } else if (src == random) {
+ panel.random = on;
+ }
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "Title: GraphLayout \nAuthor: ";
+ }
+
+ @Override
+ public String[][] getParameterInfo() {
+ String[][] info = {
+ { "edges", "delimited string",
+ "A comma-delimited list of all the edges. It takes the form "
+ + "of 'C-N1,C-N2,C-N3,C-NX,N1-N2/M12,N2-N3/M23,N3-NX/M3X,...' "
+ + "where C is the name of center node (see 'center' parameter) "
+ + "and NX is a node attached to the center node. For the edges"
+ + " connecting nodes to each other (and not to the center node)"
+ + " you may (optionally) specify a length MXY separated from "
+ + "the edge name by a forward slash." },
+ { "center", "string", "The name of the center node." }
+ };
+ return info;
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/GraphPanel$1.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/GraphPanel$1.class"
index 5212c521d38b6295d1ce084a7aaa03ed1bceabb3..f50f23bd7a4f55c916370d834b165c63037a79d0 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/GraphPanel$1.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/GraphPanel$1.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/GraphPanel$2.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/GraphPanel$2.class"
index 8a25814055517d765a6622338928e3557b2be013..730f0b66827ffccdb08af3b3083c4b0d78ad6d02 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/GraphPanel$2.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/GraphPanel$2.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/GraphPanel.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/GraphPanel.class"
index 03925f7a6d491b2b70cfae80abe741979c374498..2032100c01471efcdf4581cae7fa3a11f7c8ade8 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/GraphPanel.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/GraphPanel.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Node.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Node.class"
index 933b274be16fd4c396017cb3c416ebf55ab70bad..5dc9d6670eefcb6dd791830c1f0b227a88e3c482 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Node.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/Node.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/audio/computer.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/audio/computer.au"
index e72cddc92fd3faff8c18458463bac159f89b187d..3e6ca1a936025608ea4af74c26ceb6c86f205cf4 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/audio/computer.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/audio/computer.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/audio/drip.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/audio/drip.au"
index b4813859a575db3491bf90b60b597571dc76b16e..5093e9165d9530fe7ae71f1440d94068beec5c57 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/audio/drip.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/audio/drip.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/audio/gong.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/audio/gong.au"
index 4f7eacbd34738f0224fde8cdaf4c7b0b681d1cf3..89a3a8caaed82968c2f1f12039481996cf977fd9 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/audio/gong.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/audio/gong.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example1.html"
index 5d99a99c3796d208a7cc914b1346336237cd6722..098ddc1f78e6a52c1090b4e6609dfc3ae412b03e 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example1.html"
@@ -1,3 +1,17 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:dc5d59439a6472294b0a500a94bfcaba9dd9f004442038d280ef663c9a4da1ad
-size 717
+
+
+ Graph Layout (example 1)
+
+
+ Graph Layout (example 1)
+
+
+
+ The source.
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example2.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example2.html"
index e3ad32a5de2aea26490b8ab4b66b975bc21ae625..2c4336e1dd362d8b8457f34d54319f3999db6ab0 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example2.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example2.html"
@@ -1,3 +1,17 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:47115f3ad2835c5082426e20f9d9cf6ff2758f7d646123edf1bea84f9fbbaa01
-size 543
+
+
+ Graph Layout (example 2)
+
+
+ Graph Layout (example 2)
+
+
+
+ The source.
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example3.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example3.html"
index 7889bd3f09077aeb3aae5b458df600d3a03b9c7c..54c8f094840f96d0c01ce1141fd548c3c1b18ad4 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example3.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example3.html"
@@ -1,3 +1,18 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f848bc3163344b168fe505a18a82ebcc705562ce6a5c386c8f072033d67f18f3
-size 928
+
+
+ Graph Layout (example 3)
+
+
+ Graph Layout (example 3)
+
+
+
+ The source.
+
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example4.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example4.html"
index 07a6a390e7e6904381c21494ff18bef0fb1dc9d4..ecf7172a753b0ec262d57f9a0ce96efad9d62f04 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example4.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphLayout/example4.html"
@@ -1,3 +1,17 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:08f0acca5dfa3b79ce9ca636e7596309bd7cd664595d72d97abca7afdcf22be4
-size 593
+
+
+ Graph Layout (example 4)
+
+
+ Graph Layout (example 4)
+
+
+
+ The source.
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/AppletFrame.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/AppletFrame.class"
index 60dccc3d44d8b999b15b0c565148c35836351430..8798b762b9275e5e2ca3c8f7d75078ab987b5962 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/AppletFrame.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/AppletFrame.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/AppletFrame.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/AppletFrame.java"
index 5245e8937fb6a951220a1c62ef6063c9725a6d7e..53b76289132c19e4fac779607787a9a089c03efd 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/AppletFrame.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/AppletFrame.java"
@@ -1,3 +1,111 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:543d6c166294f184af63d346d0b26496766c4642ad6241041aaefbceb89de0fc
-size 3727
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.awt.Frame;
+import java.awt.Event;
+import java.awt.Dimension;
+import java.applet.Applet;
+import java.awt.AWTEvent;
+
+
+/**
+ * Applet to Application Frame window
+ */
+@SuppressWarnings("serial")
+class AppletFrame extends Frame {
+
+ public static void startApplet(String className,
+ String title,
+ String args[]) {
+ // local variables
+ Applet a;
+ Dimension appletSize;
+
+ try {
+ // create an instance of your applet class
+ a = (Applet) Class.forName(className).newInstance();
+ } catch (ClassNotFoundException e) {
+ return;
+ } catch (InstantiationException e) {
+ return;
+ } catch (IllegalAccessException e) {
+ return;
+ }
+
+ // initialize the applet
+ a.init();
+ a.start();
+
+ // create new application frame window
+ AppletFrame f = new AppletFrame(title);
+
+ // add applet to frame window
+ f.add("Center", a);
+
+ // resize frame window to fit applet
+ // assumes that the applet sets its own size
+ // otherwise, you should set a specific size here.
+ appletSize = a.getSize();
+ f.pack();
+ f.setSize(appletSize);
+
+ // show the window
+ f.setVisible(true);
+
+ } // end startApplet()
+
+ // constructor needed to pass window title to class Frame
+ public AppletFrame(String name) {
+ // call java.awt.Frame(String) constructor
+ super(name);
+ }
+
+ // needed to allow window close
+ @Override
+ public void processEvent(AWTEvent e) {
+ // Window Destroy event
+ if (e.getID() == Event.WINDOW_DESTROY) {
+ // exit the program
+ System.exit(0);
+ }
+ } // end handleEvent()
+} // end class AppletFrame
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ArcCard.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ArcCard.class"
index 4a2ef62b430c4591664ce77e1f24528d10165f81..805bd5ae599bba98b4af986a07c8892028019594 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ArcCard.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ArcCard.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ArcDegreePanel.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ArcDegreePanel.class"
index ce8c05574eba301ea2cb98ccfbf7e3834fb642ab..a6f9f54a41aa2ddf838e186e5dc298b0f3311a6e 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ArcDegreePanel.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ArcDegreePanel.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ArcPanel.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ArcPanel.class"
index 38ca22f99e0dcdbe6e1a9ef7dca463e7c11dda5a..be072276c913affe53a18f88ed7bea04756768dc 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ArcPanel.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ArcPanel.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ColorUtils.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ColorUtils.class"
index 623688666a70e010c37cb34868d905edd39e05fb..992cb526c524e02bd03a2d92f6aa5fa847173c6b 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ColorUtils.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ColorUtils.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsCards.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsCards.class"
index 0758a3df999da938f101c51fc537201c659240a7..ad6d8ed26c9cfcc38f9ef6ade344c5beaf7468cd 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsCards.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsCards.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsPanel.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsPanel.class"
index dea81dac59b0414cf0da48324778d587b6e160fd..1b98ebdc7d64d0ec05a398bbd19a18f9edf84f7d 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsPanel.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsPanel.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsTest.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsTest.class"
index 8c1e52f374bb4f6062efe5e619f55c4b69aed7f6..80deee046cf2097be92b4563a78cf21875b73ec8 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsTest.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsTest.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsTest.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsTest.java"
index 70132125ff3e989adfbd90ef1e2613d30f2db738..573c5878fa2904eab912aa8e9378b22ab2555325 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsTest.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/GraphicsTest.java"
@@ -1,3 +1,481 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:8e27713e79238e04ea34ae24b28dd488efdc072c1c26a823a7a6cab8b1b63921
-size 12661
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.awt.*;
+import java.util.*;
+import java.awt.event.*;
+import java.applet.Applet;
+
+
+@SuppressWarnings("serial")
+class GraphicsPanel extends Panel {
+
+ ActionListener al;
+ ItemListener il;
+ public GraphicsCards cards;
+
+ GraphicsPanel(EventListener listener) {
+ al = (ActionListener) listener;
+ il = (ItemListener) listener;
+
+ setLayout(new BorderLayout());
+
+ add("Center", cards = new GraphicsCards());
+
+ Panel p = new Panel();
+ //p.setLayout(new BorderLayout());
+
+ Button b = new Button("next");
+ b.addActionListener(al);
+ p.add(b);
+
+ b = new Button("previous");
+ b.addActionListener(al);
+ p.add(b);
+
+ p.add(new Label("go to:", Label.RIGHT));
+
+ Choice c = new Choice();
+ c.addItemListener(il);
+ p.add(c);
+
+ c.addItem("Arc");
+ c.addItem("Oval");
+ c.addItem("Polygon");
+ c.addItem("Rect");
+ c.addItem("RoundRect");
+
+ add("North", p);
+
+ setSize(400, 400);
+ }
+
+ @Override
+ public Dimension getPreferredSize() {
+ return new Dimension(200, 100);
+ }
+}
+
+
+@SuppressWarnings("serial")
+public class GraphicsTest extends Applet
+ implements ActionListener, ItemListener {
+
+ GraphicsPanel mainPanel;
+
+ @Override
+ public void init() {
+ setLayout(new BorderLayout());
+ add("Center", mainPanel = new GraphicsPanel(this));
+ }
+
+ @Override
+ public void destroy() {
+ remove(mainPanel);
+ }
+
+ @Override
+ public void actionPerformed(ActionEvent e) {
+ String arg = e.getActionCommand();
+
+ if ("next".equals(arg)) {
+ ((CardLayout) mainPanel.cards.getLayout()).next(mainPanel.cards);
+ } else if ("previous".equals(arg)) {
+ ((CardLayout) mainPanel.cards.getLayout()).previous(mainPanel.cards);
+ }
+ }
+
+ @Override
+ public void itemStateChanged(ItemEvent e) {
+ ((CardLayout) mainPanel.cards.getLayout()).show(mainPanel.cards,
+ (String) e.getItem());
+ }
+
+ public static void main(String args[]) {
+ AppletFrame.startApplet("GraphicsTest", "Graphics Test", args);
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "An interactive demonstration of some graphics.";
+ }
+} // end class GraphicsTest
+
+
+@SuppressWarnings("serial")
+class GraphicsCards extends Panel {
+
+ public GraphicsCards() {
+ setLayout(new CardLayout());
+ add("Arc", new ArcCard());
+ add("Oval", new ShapeTest(new OvalShape()));
+ add("Polygon", new ShapeTest(new PolygonShape()));
+ add("Rect", new ShapeTest(new RectShape()));
+ add("RoundRect", new ShapeTest(new RoundRectShape()));
+ }
+} // end class GraphicsCards
+
+
+@SuppressWarnings("serial")
+class ArcCard extends Panel {
+
+ public ArcCard() {
+ setLayout(new GridLayout(0, 2));
+ add(new ArcPanel(true));
+ add(new ArcPanel(false));
+ add(new ArcDegreePanel(true));
+ add(new ArcDegreePanel(false));
+ }
+} // end class ArcCard
+
+
+@SuppressWarnings("serial")
+class ArcDegreePanel extends Panel {
+
+ boolean filled;
+
+ public ArcDegreePanel(boolean filled) {
+ this.filled = filled;
+ }
+
+ void arcSteps(Graphics g,
+ int step,
+ int x,
+ int y,
+ int w,
+ int h,
+ Color c1,
+ Color c2) {
+ int a1 = 0;
+ int a2 = step;
+ int progress = 0;
+ g.setColor(c1);
+ for (; (a1 + a2) <= 360; a1 = a1 + a2, a2 += 1) {
+ if (g.getColor() == c1) {
+ g.setColor(c2);
+ } else {
+ g.setColor(c1);
+ }
+
+ if (filled) {
+ g.fillArc(x, y, w, h, a1, a2);
+ } else {
+ g.drawArc(x, y, w, h, a1, a2);
+ }
+
+ progress = a1 + a2;
+ } // end for
+
+ if (progress != 360) {
+ if (filled) {
+ g.fillArc(x, y, w, h, a1, 360 - progress);
+ } else {
+ g.drawArc(x, y, w, h, a1, 360 - progress);
+ }
+ } // end if
+ } // end arcSteps()
+
+ @Override
+ public void paint(Graphics g) {
+ Rectangle r = getBounds();
+
+ arcSteps(g, 3, 0, 0, r.width, r.height, Color.orange, Color.blue);
+
+ arcSteps(g,
+ 2,
+ r.width / 4,
+ r.height / 4,
+ r.width / 2,
+ r.height / 2,
+ Color.yellow,
+ Color.green);
+
+ arcSteps(g,
+ 1,
+ (r.width * 3) / 8,
+ (r.height * 3) / 8,
+ r.width / 4,
+ r.height / 4,
+ Color.magenta,
+ Color.white);
+
+ } // end paint()
+} // end class ArcDegreePanel
+
+
+@SuppressWarnings("serial")
+class ArcPanel extends Panel {
+
+ boolean filled;
+
+ public ArcPanel(boolean filled) {
+ this.filled = filled;
+ }
+
+ @Override
+ public void paint(Graphics g) {
+ Rectangle r = getBounds();
+
+ g.setColor(Color.yellow);
+ if (filled) {
+ g.fillArc(0, 0, r.width, r.height, 0, 45);
+ } else {
+ g.drawArc(0, 0, r.width, r.height, 0, 45);
+ }
+
+ g.setColor(Color.green);
+ if (filled) {
+ g.fillArc(0, 0, r.width, r.height, 90, -45);
+ } else {
+ g.drawArc(0, 0, r.width, r.height, 90, -45);
+ }
+
+ g.setColor(Color.orange);
+ if (filled) {
+ g.fillArc(0, 0, r.width, r.height, 135, -45);
+ } else {
+ g.drawArc(0, 0, r.width, r.height, 135, -45);
+ }
+
+ g.setColor(Color.magenta);
+
+ if (filled) {
+ g.fillArc(0, 0, r.width, r.height, -225, 45);
+ } else {
+ g.drawArc(0, 0, r.width, r.height, -225, 45);
+ }
+
+ g.setColor(Color.yellow);
+ if (filled) {
+ g.fillArc(0, 0, r.width, r.height, 225, -45);
+ } else {
+ g.drawArc(0, 0, r.width, r.height, 225, -45);
+ }
+
+ g.setColor(Color.green);
+ if (filled) {
+ g.fillArc(0, 0, r.width, r.height, -135, 45);
+ } else {
+ g.drawArc(0, 0, r.width, r.height, -135, 45);
+ }
+
+ g.setColor(Color.orange);
+ if (filled) {
+ g.fillArc(0, 0, r.width, r.height, -45, -45);
+ } else {
+ g.drawArc(0, 0, r.width, r.height, -45, -45);
+ }
+
+ g.setColor(Color.magenta);
+ if (filled) {
+ g.fillArc(0, 0, r.width, r.height, 315, 45);
+ } else {
+ g.drawArc(0, 0, r.width, r.height, 315, 45);
+ }
+
+ } // end paint()
+} // end class ArcPanel
+
+
+abstract class Shape {
+
+ abstract void draw(Graphics g, int x, int y, int w, int h);
+
+ abstract void fill(Graphics g, int x, int y, int w, int h);
+}
+
+
+class RectShape extends Shape {
+
+ @Override
+ void draw(Graphics g, int x, int y, int w, int h) {
+ g.drawRect(x, y, w, h);
+ }
+
+ @Override
+ void fill(Graphics g, int x, int y, int w, int h) {
+ g.fillRect(x, y, w, h);
+ }
+}
+
+
+class OvalShape extends Shape {
+
+ @Override
+ void draw(Graphics g, int x, int y, int w, int h) {
+ g.drawOval(x, y, w, h);
+ }
+
+ @Override
+ void fill(Graphics g, int x, int y, int w, int h) {
+ g.fillOval(x, y, w, h);
+ }
+}
+
+
+class RoundRectShape extends Shape {
+
+ @Override
+ void draw(Graphics g, int x, int y, int w, int h) {
+ g.drawRoundRect(x, y, w, h, 10, 10);
+ }
+
+ @Override
+ void fill(Graphics g, int x, int y, int w, int h) {
+ g.fillRoundRect(x, y, w, h, 10, 10);
+ }
+}
+
+
+class PolygonShape extends Shape {
+ // class variables
+
+ Polygon p;
+ Polygon pBase;
+
+ public PolygonShape() {
+ pBase = new Polygon();
+ pBase.addPoint(0, 0);
+ pBase.addPoint(10, 0);
+ pBase.addPoint(5, 15);
+ pBase.addPoint(10, 20);
+ pBase.addPoint(5, 20);
+ pBase.addPoint(0, 10);
+ pBase.addPoint(0, 0);
+ }
+
+ void scalePolygon(float w, float h) {
+ p = new Polygon();
+ for (int i = 0; i < pBase.npoints; ++i) {
+ p.addPoint((int) (pBase.xpoints[i] * w),
+ (int) (pBase.ypoints[i] * h));
+ }
+
+ }
+
+ @Override
+ void draw(Graphics g, int x, int y, int w, int h) {
+ Graphics ng = g.create();
+ try {
+ ng.translate(x, y);
+ scalePolygon(((float) w / 10f), ((float) h / 20f));
+ ng.drawPolygon(p);
+ } finally {
+ ng.dispose();
+ }
+ }
+
+ @Override
+ void fill(Graphics g, int x, int y, int w, int h) {
+ Graphics ng = g.create();
+ try {
+ ng.translate(x, y);
+ scalePolygon(((float) w / 10f), ((float) h / 20f));
+ ng.fillPolygon(p);
+ } finally {
+ ng.dispose();
+ }
+ }
+}
+
+
+@SuppressWarnings("serial")
+class ShapeTest extends Panel {
+
+ Shape shape;
+ int step;
+
+ public ShapeTest(Shape shape, int step) {
+ this.shape = shape;
+ this.step = step;
+ }
+
+ public ShapeTest(Shape shape) {
+ this(shape, 10);
+ }
+
+ @Override
+ public void paint(Graphics g) {
+ Rectangle bounds = getBounds();
+
+ int cx, cy, cw, ch;
+
+ Color color;
+
+ for (color = Color.red, cx = bounds.x, cy = bounds.y,
+ cw = bounds.width / 2, ch = bounds.height;
+ cw > 0 && ch > 0;
+ cx += step, cy += step, cw -= (step * 2), ch -= (step * 2),
+ color = ColorUtils.darker(color, 0.9)) {
+ g.setColor(color);
+ shape.draw(g, cx, cy, cw, ch);
+ }
+
+ for (cx = bounds.x + bounds.width / 2, cy = bounds.y,
+ cw = bounds.width / 2, ch = bounds.height;
+ cw > 0 && ch > 0;
+ cx += step, cy += step, cw -= (step * 2), ch -= (step * 2)) {
+ if (g.getColor() == Color.red) {
+ g.setColor(Color.blue);
+ } else {
+ g.setColor(Color.red);
+ }
+
+ shape.fill(g, cx, cy, cw, ch);
+ } // end for
+ } // end paint()
+} // end class ShapeTest
+
+
+class ColorUtils {
+
+ static Color brighter(Color c, double factor) {
+ return new Color(Math.min((int) (c.getRed() * (1 / factor)), 255),
+ Math.min((int) (c.getGreen() * (1 / factor)), 255),
+ Math.min((int) (c.getBlue() * (1 / factor)), 255));
+ }
+
+ static Color darker(Color c, double factor) {
+ return new Color(Math.max((int) (c.getRed() * factor), 0),
+ Math.max((int) (c.getGreen() * factor), 0),
+ Math.max((int) (c.getBlue() * factor), 0));
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/OvalShape.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/OvalShape.class"
index cf50cf45c388099a6df583e132433f812c931c80..3651225c604c76c9fdb9c8cb080d20c0dd694ab1 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/OvalShape.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/OvalShape.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/PolygonShape.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/PolygonShape.class"
index bd2bd96101c59a3df566cf4c782240c82e481cc7..e03d6ea888f3dcc7fe68b76f3c41b2e0c81eadb8 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/PolygonShape.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/PolygonShape.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/RectShape.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/RectShape.class"
index 603581aadadfa3a1ec49df0e709b471c2cda11fd..e1bb8bb895bec609d109e4e587ceaf37dd269397 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/RectShape.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/RectShape.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/RoundRectShape.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/RoundRectShape.class"
index 7e5635349fa1f1c2cb677daeba55d75917364002..f1162a0bb3fed55e75c73b0412ab109e367359b1 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/RoundRectShape.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/RoundRectShape.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/Shape.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/Shape.class"
index 8bc7b1f2f8013eee9dbc4d84a00dcd4c168f551b..1f75d09042abc358076ebf281f0d9aba155ee94f 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/Shape.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/Shape.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ShapeTest.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ShapeTest.class"
index 5f305377485b673a31ca13b70fe2ece7e0bdf9e0..691e02408a372e75922497c18d51fea0fdf2380a 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ShapeTest.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/ShapeTest.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/example1.html"
index 0e7b83fb9d0092bc921b18d792024e8fd346f39f..14f6fb52bb904e6013e8956a2f8a57692918098b 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/GraphicsTest/example1.html"
@@ -1,3 +1,16 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:610d7c896b358c80532fb40c4972eb6db230b0d0dc47193a44d485701c26df08
-size 441
+
+
+ Graphics Test (1.1)
+
+
+ Graphics Test (1.1)
+
+
+
+ The source.
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox$1.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox$1.class"
index 5f318093eb0111fec3e3b993cc455e832d3d8906..9c86f112b91c95c837586a6a7ff9d1f4e8a2568d 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox$1.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox$1.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox$2.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox$2.class"
index 69fe534de597ed31bbc22993ee3fba844545eb8e..c8361afceaecbccd18082ccf4622856783461512 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox$2.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox$2.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox$3.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox$3.class"
index 70b2d1df237d0627322f245d0c7e6c2b708294d3..612aee4ff85d192698a246bf456206da1a4e0007 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox$3.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox$3.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox.class"
index e8bb3ea3a0c6c0c1b4afd1ff32e2438e6a83642c..a509ee1b14c19cfaffec0a124301c05fd6df595c 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox.java"
index 2024edba471dd4a636ac18059373302282039ecd..1a497390601b1fb289c70bb6a57d17d507bca143 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/JumpingBox.java"
@@ -1,3 +1,182 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6ce96b21437d1d719b011c207dc040eae74bfa10b5a14362567b800f6b14782f
-size 6172
+/*
+ *
+ * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+import java.awt.Color;
+import java.awt.Dimension;
+import java.awt.Graphics;
+import java.awt.event.ComponentEvent;
+import java.awt.event.ComponentAdapter;
+import java.awt.event.MouseEvent;
+import java.awt.event.MouseAdapter;
+
+
+/**
+ * @author Original author unknown
+ * @author Alexander Kouznetsov
+ */
+@SuppressWarnings("serial")
+public class JumpingBox extends java.applet.Applet {
+
+ private int mx, my;
+ private Dimension size;
+ private int onaroll;
+
+ @Override
+ public void init() {
+ onaroll = 0;
+ setSize(500, 500);
+ size = getSize();
+ addMouseListener(new MouseAdapter() {
+
+ @Override
+ public void mousePressed(MouseEvent e) {
+ e.consume();
+ requestFocus();
+ JumpingBox.this.mousePressed(e.getX(), e.getY());
+ repaint();
+ }
+
+ @Override
+ public void mouseEntered(MouseEvent e) {
+ repaint();
+ }
+
+ @Override
+ public void mouseExited(MouseEvent e) {
+ repaint();
+ }
+ });
+ addMouseMotionListener(new MouseAdapter() {
+
+ @Override
+ public void mouseMoved(MouseEvent e) {
+ e.consume();
+ if ((e.getX() % 3 == 0) && (e.getY() % 3 == 0)) {
+ repaint();
+ }
+ }
+ });
+ addComponentListener(new ComponentAdapter() {
+
+ @Override
+ public void componentResized(ComponentEvent e) {
+ repaint();
+ }
+
+ @Override
+ public void componentShown(ComponentEvent e) {
+ repaint();
+ }
+ });
+ }
+
+ private void mousePressed(int x, int y) {
+ if (mx < x && x < mx + getSize().width / 10 - 1
+ && my < y && y < my + getSize().height / 10 - 1) {
+ //determine if hit
+ if (onaroll > 0) {
+ //not first hit
+ switch (onaroll % 4) {
+ //play a sound
+ case 0:
+ play(getCodeBase(),
+ "sounds/tiptoe.thru.the.tulips.au");
+ break;
+ case 1:
+ play(getCodeBase(), "sounds/danger.au");
+ break;
+ case 2:
+ play(getCodeBase(), "sounds/adapt-or-die.au");
+ break;
+ case 3:
+ play(getCodeBase(),
+ "sounds/cannot.be.completed.au");
+ break;
+ }
+ onaroll++;
+ if (onaroll > 5) {
+ getAppletContext().
+ showStatus("You're on your way to THE HALL OF FAME:"
+ + onaroll + "Hits!");
+ } else {
+ getAppletContext().
+ showStatus("YOU'RE ON A ROLL:" + onaroll + "Hits!");
+ }
+ } else {
+ //first hit
+ getAppletContext().showStatus("HIT IT AGAIN! AGAIN!");
+ play(getCodeBase(), "sounds/that.hurts.au");
+ onaroll = 1;
+ }
+ } else {
+ //miss
+ getAppletContext().
+ showStatus("You hit nothing at (" + x + ", " + y
+ + "), exactly");
+ play(getCodeBase(), "sounds/thin.bell.au");
+ onaroll = 0;
+ }
+ }
+
+ @Override
+ public void update(Graphics g) {
+ Dimension newSize = getSize();
+ if (size.equals(newSize)) {
+ // Erase old box
+ g.setColor(getBackground());
+ g.drawRect(mx, my, (size.width / 10) - 1,
+ (size.height / 10) - 1);
+ } else {
+ size = newSize;
+ g.clearRect(0, 0, size.width, size.height);
+ }
+ // Calculate new position
+ mx = (int) (Math.random() * 1000) % (size.width - (size.width / 10));
+ my = (int) (Math.random() * 1000) % (size.height - (size.height / 10));
+ paint(g);
+ }
+
+ @Override
+ public void paint(Graphics g) {
+ g.setColor(Color.black);
+ g.drawRect(0, 0, size.width - 1, size.height - 1);
+ g.drawRect(mx, my, (size.width / 10) - 1,
+ (size.height / 10) - 1);
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "Title: JumpingBox\n"
+ + "Author: Anonymous";
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/example1.html"
index f712ae707e8c764faa873eac4a2c58bf8eae61b7..581ec5ad61ba69a96e59516030afb91cae1ec936 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/example1.html"
@@ -1,3 +1,15 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2ded31e55947512b5179b6304f6a2bda7cf0c6cf04e751c55588d2781ad5921c
-size 386
+
+
+ Jumping Box v1.1
+
+
+Jumping Box v1.1
+
+
+
+The source.
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/adapt-or-die.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/adapt-or-die.au"
index 07a7be8aa3f8733159e75ac31a4c823c7d1c5810..d112f4c0dba8c4eaede4601cd3c6cabe18737548 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/adapt-or-die.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/adapt-or-die.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/cannot.be.completed.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/cannot.be.completed.au"
index 143326958d32305521b55576b186eadc9ebeff92..dab49f7ec9be6ada154ee488912909980604b14b 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/cannot.be.completed.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/cannot.be.completed.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/danger.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/danger.au"
index 29bc4f8e6f8d2954b269ea998a0144c1d2eb35cd..ab25d739987bc252f1afbbe064ddd179bf4740b5 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/danger.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/danger.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/ip.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/ip.au"
index 4e099b35f4b09ed74b73868fa65fb03e54fda254..d89fcdce801f9b24868b8d41997946bd367208e1 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/ip.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/ip.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/that.hurts.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/that.hurts.au"
index e8c8971ac4b17cc396c2904b40d00c144b11f9a7..f96ce03c8ac8d74a5094e3f9e36b6afeb94ecb6f 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/that.hurts.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/that.hurts.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/thin.bell.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/thin.bell.au"
index 54b1bb9827cada834ddbc1f3c41c8b67fce8f1b7..91dff2a0b06b0450ac5489b6861f1ac03a096bf2 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/thin.bell.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/thin.bell.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/tiptoe.thru.the.tulips.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/tiptoe.thru.the.tulips.au"
index 0526cf9ebf7232a23ebeeb7bf9071c5d124f4adb..f5fb00963f7cf71c07b4afc599aacf1a86f1348c 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/tiptoe.thru.the.tulips.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/JumpingBox/sounds/tiptoe.thru.the.tulips.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/Matrix3D.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/Matrix3D.java"
index 19ec9f61fcf3ca70cf6462d152a19e072130c487..e7afced493da2f08bf9e311844641cb3a2ea4d3d 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/Matrix3D.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/Matrix3D.java"
@@ -1,3 +1,248 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:09c6c4e7c4f5e343bf238ec6c0deea61b35e74e0034a5f3e7d49ba119c75d8b4
-size 7640
+/*
+ * Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+/** A fairly conventional 3D matrix object that can transform sets of
+3D points and perform a variety of manipulations on the transform */
+class Matrix3D {
+
+ float xx, xy, xz, xo;
+ float yx, yy, yz, yo;
+ float zx, zy, zz, zo;
+ static final double pi = 3.14159265;
+
+ /** Create a new unit matrix */
+ Matrix3D() {
+ xx = 1.0f;
+ yy = 1.0f;
+ zz = 1.0f;
+ }
+
+ /** Scale by f in all dimensions */
+ void scale(float f) {
+ xx *= f;
+ xy *= f;
+ xz *= f;
+ xo *= f;
+ yx *= f;
+ yy *= f;
+ yz *= f;
+ yo *= f;
+ zx *= f;
+ zy *= f;
+ zz *= f;
+ zo *= f;
+ }
+
+ /** Scale along each axis independently */
+ void scale(float xf, float yf, float zf) {
+ xx *= xf;
+ xy *= xf;
+ xz *= xf;
+ xo *= xf;
+ yx *= yf;
+ yy *= yf;
+ yz *= yf;
+ yo *= yf;
+ zx *= zf;
+ zy *= zf;
+ zz *= zf;
+ zo *= zf;
+ }
+
+ /** Translate the origin */
+ void translate(float x, float y, float z) {
+ xo += x;
+ yo += y;
+ zo += z;
+ }
+
+ /** rotate theta degrees about the y axis */
+ void yrot(double theta) {
+ theta *= (pi / 180);
+ double ct = Math.cos(theta);
+ double st = Math.sin(theta);
+
+ float Nxx = (float) (xx * ct + zx * st);
+ float Nxy = (float) (xy * ct + zy * st);
+ float Nxz = (float) (xz * ct + zz * st);
+ float Nxo = (float) (xo * ct + zo * st);
+
+ float Nzx = (float) (zx * ct - xx * st);
+ float Nzy = (float) (zy * ct - xy * st);
+ float Nzz = (float) (zz * ct - xz * st);
+ float Nzo = (float) (zo * ct - xo * st);
+
+ xo = Nxo;
+ xx = Nxx;
+ xy = Nxy;
+ xz = Nxz;
+ zo = Nzo;
+ zx = Nzx;
+ zy = Nzy;
+ zz = Nzz;
+ }
+
+ /** rotate theta degrees about the x axis */
+ void xrot(double theta) {
+ theta *= (pi / 180);
+ double ct = Math.cos(theta);
+ double st = Math.sin(theta);
+
+ float Nyx = (float) (yx * ct + zx * st);
+ float Nyy = (float) (yy * ct + zy * st);
+ float Nyz = (float) (yz * ct + zz * st);
+ float Nyo = (float) (yo * ct + zo * st);
+
+ float Nzx = (float) (zx * ct - yx * st);
+ float Nzy = (float) (zy * ct - yy * st);
+ float Nzz = (float) (zz * ct - yz * st);
+ float Nzo = (float) (zo * ct - yo * st);
+
+ yo = Nyo;
+ yx = Nyx;
+ yy = Nyy;
+ yz = Nyz;
+ zo = Nzo;
+ zx = Nzx;
+ zy = Nzy;
+ zz = Nzz;
+ }
+
+ /** rotate theta degrees about the z axis */
+ void zrot(double theta) {
+ theta *= (pi / 180);
+ double ct = Math.cos(theta);
+ double st = Math.sin(theta);
+
+ float Nyx = (float) (yx * ct + xx * st);
+ float Nyy = (float) (yy * ct + xy * st);
+ float Nyz = (float) (yz * ct + xz * st);
+ float Nyo = (float) (yo * ct + xo * st);
+
+ float Nxx = (float) (xx * ct - yx * st);
+ float Nxy = (float) (xy * ct - yy * st);
+ float Nxz = (float) (xz * ct - yz * st);
+ float Nxo = (float) (xo * ct - yo * st);
+
+ yo = Nyo;
+ yx = Nyx;
+ yy = Nyy;
+ yz = Nyz;
+ xo = Nxo;
+ xx = Nxx;
+ xy = Nxy;
+ xz = Nxz;
+ }
+
+ /** Multiply this matrix by a second: M = M*R */
+ void mult(Matrix3D rhs) {
+ float lxx = xx * rhs.xx + yx * rhs.xy + zx * rhs.xz;
+ float lxy = xy * rhs.xx + yy * rhs.xy + zy * rhs.xz;
+ float lxz = xz * rhs.xx + yz * rhs.xy + zz * rhs.xz;
+ float lxo = xo * rhs.xx + yo * rhs.xy + zo * rhs.xz + rhs.xo;
+
+ float lyx = xx * rhs.yx + yx * rhs.yy + zx * rhs.yz;
+ float lyy = xy * rhs.yx + yy * rhs.yy + zy * rhs.yz;
+ float lyz = xz * rhs.yx + yz * rhs.yy + zz * rhs.yz;
+ float lyo = xo * rhs.yx + yo * rhs.yy + zo * rhs.yz + rhs.yo;
+
+ float lzx = xx * rhs.zx + yx * rhs.zy + zx * rhs.zz;
+ float lzy = xy * rhs.zx + yy * rhs.zy + zy * rhs.zz;
+ float lzz = xz * rhs.zx + yz * rhs.zy + zz * rhs.zz;
+ float lzo = xo * rhs.zx + yo * rhs.zy + zo * rhs.zz + rhs.zo;
+
+ xx = lxx;
+ xy = lxy;
+ xz = lxz;
+ xo = lxo;
+
+ yx = lyx;
+ yy = lyy;
+ yz = lyz;
+ yo = lyo;
+
+ zx = lzx;
+ zy = lzy;
+ zz = lzz;
+ zo = lzo;
+ }
+
+ /** Reinitialize to the unit matrix */
+ void unit() {
+ xo = 0;
+ xx = 1;
+ xy = 0;
+ xz = 0;
+ yo = 0;
+ yx = 0;
+ yy = 1;
+ yz = 0;
+ zo = 0;
+ zx = 0;
+ zy = 0;
+ zz = 1;
+ }
+
+ /** Transform nvert points from v into tv. v contains the input
+ coordinates in floating point. Three successive entries in
+ the array constitute a point. tv ends up holding the transformed
+ points as integers; three successive entries per point */
+ void transform(float v[], int tv[], int nvert) {
+ float lxx = xx, lxy = xy, lxz = xz, lxo = xo;
+ float lyx = yx, lyy = yy, lyz = yz, lyo = yo;
+ float lzx = zx, lzy = zy, lzz = zz, lzo = zo;
+ for (int i = nvert * 3; (i -= 3) >= 0;) {
+ float x = v[i];
+ float y = v[i + 1];
+ float z = v[i + 2];
+ tv[i] = (int) (x * lxx + y * lxy + z * lxz + lxo);
+ tv[i + 1] = (int) (x * lyx + y * lyy + z * lyz + lyo);
+ tv[i + 2] = (int) (x * lzx + y * lzy + z * lzz + lzo);
+ }
+ }
+
+ @Override
+ public String toString() {
+ return ("[" + xo + "," + xx + "," + xy + "," + xz + ";"
+ + yo + "," + yx + "," + yy + "," + yz + ";"
+ + zo + "," + zx + "," + zy + "," + zz + "]");
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/MoleculeViewer.jar" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/MoleculeViewer.jar"
index 837873e94d9472ffe3db1e7cc91b95031f06c06f..cc47f7dab217e709acf6d61c95f72750a01c8575 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/MoleculeViewer.jar" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/MoleculeViewer.jar" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/XYZApp.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/XYZApp.java"
index 3fdc0ed19b5a4528d99d2d1dc8067489170db459..ec03636443610eea2d3edaf67aa5a97831c4d7ac 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/XYZApp.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/XYZApp.java"
@@ -1,3 +1,584 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e62f9cfd98dcf0e80145e3c4dece57eeb603cec6ccb0e70387534b99444b25bd
-size 17736
+/*
+ * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.applet.Applet;
+import java.awt.Image;
+import java.awt.Graphics;
+import java.awt.Dimension;
+import java.awt.event.MouseEvent;
+import java.awt.event.MouseListener;
+import java.awt.event.MouseMotionListener;
+import java.net.URL;
+import java.awt.image.IndexColorModel;
+import java.awt.image.MemoryImageSource;
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.StreamTokenizer;
+import java.util.HashMap;
+import java.util.Map;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+
+/*
+ * A set of classes to parse, represent and display Chemical compounds in
+ * .xyz format (see http://chem.leeds.ac.uk/Project/MIME.html)
+ */
+/** The representation of a Chemical .xyz model */
+final class XYZChemModel {
+
+ float vert[];
+ Atom atoms[];
+ int tvert[];
+ int ZsortMap[];
+ int nvert, maxvert;
+ static final Map atomTable = new HashMap();
+ static Atom defaultAtom;
+
+ static {
+ atomTable.put("c", new Atom(0, 0, 0));
+ atomTable.put("h", new Atom(210, 210, 210));
+ atomTable.put("n", new Atom(0, 0, 255));
+ atomTable.put("o", new Atom(255, 0, 0));
+ atomTable.put("p", new Atom(255, 0, 255));
+ atomTable.put("s", new Atom(255, 255, 0));
+ atomTable.put("hn", new Atom(150, 255, 150)); /* !!*/
+ defaultAtom = new Atom(255, 100, 200);
+ }
+ boolean transformed;
+ Matrix3D mat;
+ float xmin, xmax, ymin, ymax, zmin, zmax;
+
+ XYZChemModel() {
+ mat = new Matrix3D();
+ mat.xrot(20);
+ mat.yrot(30);
+ }
+
+ /** Create a Chemical model by parsing an input stream */
+ XYZChemModel(InputStream is) throws Exception {
+ this();
+ StreamTokenizer st = new StreamTokenizer(
+ new BufferedReader(new InputStreamReader(is, "UTF-8")));
+ st.eolIsSignificant(true);
+ st.commentChar('#');
+
+ try {
+ scan:
+ while (true) {
+ switch (st.nextToken()) {
+ case StreamTokenizer.TT_EOF:
+ break scan;
+ default:
+ break;
+ case StreamTokenizer.TT_WORD:
+ String name = st.sval;
+ double x = 0,
+ y = 0,
+ z = 0;
+ if (st.nextToken() == StreamTokenizer.TT_NUMBER) {
+ x = st.nval;
+ if (st.nextToken() == StreamTokenizer.TT_NUMBER) {
+ y = st.nval;
+ if (st.nextToken() == StreamTokenizer.TT_NUMBER) {
+ z = st.nval;
+ }
+ }
+ }
+ addVert(name, (float) x, (float) y, (float) z);
+ while (st.ttype != StreamTokenizer.TT_EOL
+ && st.ttype != StreamTokenizer.TT_EOF) {
+ st.nextToken();
+ }
+
+ } // end Switch
+
+ } // end while
+
+ is.close();
+
+ } // end Try
+ catch (IOException e) {
+ }
+
+ if (st.ttype != StreamTokenizer.TT_EOF) {
+ throw new Exception(st.toString());
+ }
+
+ } // end XYZChemModel()
+
+ /** Add a vertex to this model */
+ int addVert(String name, float x, float y, float z) {
+ int i = nvert;
+ if (i >= maxvert) {
+ if (vert == null) {
+ maxvert = 100;
+ vert = new float[maxvert * 3];
+ atoms = new Atom[maxvert];
+ } else {
+ maxvert *= 2;
+ float nv[] = new float[maxvert * 3];
+ System.arraycopy(vert, 0, nv, 0, vert.length);
+ vert = nv;
+ Atom na[] = new Atom[maxvert];
+ System.arraycopy(atoms, 0, na, 0, atoms.length);
+ atoms = na;
+ }
+ }
+ Atom a = atomTable.get(name.toLowerCase());
+ if (a == null) {
+ a = defaultAtom;
+ }
+ atoms[i] = a;
+ i *= 3;
+ vert[i] = x;
+ vert[i + 1] = y;
+ vert[i + 2] = z;
+ return nvert++;
+ }
+
+ /** Transform all the points in this model */
+ void transform() {
+ if (transformed || nvert <= 0) {
+ return;
+ }
+ if (tvert == null || tvert.length < nvert * 3) {
+ tvert = new int[nvert * 3];
+ }
+ mat.transform(vert, tvert, nvert);
+ transformed = true;
+ }
+
+ /** Paint this model to a graphics context. It uses the matrix associated
+ with this model to map from model space to screen space.
+ The next version of the browser should have double buffering,
+ which will make this *much* nicer */
+ void paint(Graphics g) {
+ if (vert == null || nvert <= 0) {
+ return;
+ }
+ transform();
+ int v[] = tvert;
+ int zs[] = ZsortMap;
+ if (zs == null) {
+ ZsortMap = zs = new int[nvert];
+ for (int i = nvert; --i >= 0;) {
+ zs[i] = i * 3;
+ }
+ }
+
+ /*
+ * I use a bubble sort since from one iteration to the next, the sort
+ * order is pretty stable, so I just use what I had last time as a
+ * "guess" of the sorted order. With luck, this reduces O(N log N)
+ * to O(N)
+ */
+
+ for (int i = nvert - 1; --i >= 0;) {
+ boolean flipped = false;
+ for (int j = 0; j <= i; j++) {
+ int a = zs[j];
+ int b = zs[j + 1];
+ if (v[a + 2] > v[b + 2]) {
+ zs[j + 1] = a;
+ zs[j] = b;
+ flipped = true;
+ }
+ }
+ if (!flipped) {
+ break;
+ }
+ }
+
+ int lim = nvert;
+ if (lim <= 0 || nvert <= 0) {
+ return;
+ }
+ for (int i = 0; i < lim; i++) {
+ int j = zs[i];
+ int grey = v[j + 2];
+ if (grey < 0) {
+ grey = 0;
+ }
+ if (grey > 15) {
+ grey = 15;
+ }
+ // g.drawString(names[i], v[j], v[j+1]);
+ atoms[j / 3].paint(g, v[j], v[j + 1], grey);
+ // g.drawImage(iBall, v[j] - (iBall.width >> 1), v[j + 1] -
+ // (iBall.height >> 1));
+ }
+ }
+
+ /** Find the bounding box of this model */
+ void findBB() {
+ if (nvert <= 0) {
+ return;
+ }
+ float v[] = vert;
+ float _xmin = v[0], _xmax = _xmin;
+ float _ymin = v[1], _ymax = _ymin;
+ float _zmin = v[2], _zmax = _zmin;
+ for (int i = nvert * 3; (i -= 3) > 0;) {
+ float x = v[i];
+ if (x < _xmin) {
+ _xmin = x;
+ }
+ if (x > _xmax) {
+ _xmax = x;
+ }
+ float y = v[i + 1];
+ if (y < _ymin) {
+ _ymin = y;
+ }
+ if (y > _ymax) {
+ _ymax = y;
+ }
+ float z = v[i + 2];
+ if (z < _zmin) {
+ _zmin = z;
+ }
+ if (z > _zmax) {
+ _zmax = z;
+ }
+ }
+ this.xmax = _xmax;
+ this.xmin = _xmin;
+ this.ymax = _ymax;
+ this.ymin = _ymin;
+ this.zmax = _zmax;
+ this.zmin = _zmin;
+ }
+}
+
+
+/** An applet to put a Chemical model into a page */
+@SuppressWarnings("serial")
+public class XYZApp extends Applet implements Runnable, MouseListener,
+ MouseMotionListener {
+
+ XYZChemModel md;
+ boolean painted = true;
+ float xfac;
+ int prevx, prevy;
+ float scalefudge = 1;
+ Matrix3D amat = new Matrix3D(), tmat = new Matrix3D();
+ String mdname = null;
+ String message = null;
+ Image backBuffer;
+ Graphics backGC;
+ Dimension backSize;
+
+ private synchronized void newBackBuffer() {
+ backBuffer = createImage(getSize().width, getSize().height);
+ if (backGC != null) {
+ backGC.dispose();
+ }
+ backGC = backBuffer.getGraphics();
+ backSize = getSize();
+ }
+
+ @Override
+ public void init() {
+ mdname = getParameter("model");
+ try {
+ scalefudge = Float.valueOf(getParameter("scale")).floatValue();
+ } catch (Exception ignored) {
+ }
+ amat.yrot(20);
+ amat.xrot(20);
+ if (mdname == null) {
+ mdname = "model.obj";
+ }
+ resize(getSize().width <= 20 ? 400 : getSize().width,
+ getSize().height <= 20 ? 400 : getSize().height);
+ newBackBuffer();
+ addMouseListener(this);
+ addMouseMotionListener(this);
+ }
+
+ @Override
+ public void destroy() {
+ removeMouseListener(this);
+ removeMouseMotionListener(this);
+ }
+
+ @Override
+ public void run() {
+ InputStream is = null;
+ try {
+ Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
+ is = getClass().getResourceAsStream(mdname);
+ XYZChemModel m = new XYZChemModel(is);
+ Atom.setApplet(this);
+ md = m;
+ m.findBB();
+ float xw = m.xmax - m.xmin;
+ float yw = m.ymax - m.ymin;
+ float zw = m.zmax - m.zmin;
+ if (yw > xw) {
+ xw = yw;
+ }
+ if (zw > xw) {
+ xw = zw;
+ }
+ float f1 = getSize().width / xw;
+ float f2 = getSize().height / xw;
+ xfac = 0.7f * (f1 < f2 ? f1 : f2) * scalefudge;
+ } catch (Exception e) {
+ Logger.getLogger(XYZApp.class.getName()).log(Level.SEVERE, null, e);
+ md = null;
+ message = e.toString();
+ }
+ try {
+ if (is != null) {
+ is.close();
+ }
+ } catch (Exception ignored) {
+ }
+ repaint();
+ }
+
+ @Override
+ public void start() {
+ if (md == null && message == null) {
+ new Thread(this).start();
+ }
+ }
+
+ @Override
+ public void stop() {
+ }
+ /* event handling */
+
+ @Override
+ public void mouseClicked(MouseEvent e) {
+ }
+
+ @Override
+ public void mousePressed(MouseEvent e) {
+ prevx = e.getX();
+ prevy = e.getY();
+ e.consume();
+ }
+
+ @Override
+ public void mouseReleased(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseEntered(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseExited(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseDragged(MouseEvent e) {
+ int x = e.getX();
+ int y = e.getY();
+ tmat.unit();
+ float xtheta = (prevy - y) * (360.0f / getSize().width);
+ float ytheta = (x - prevx) * (360.0f / getSize().height);
+ tmat.xrot(xtheta);
+ tmat.yrot(ytheta);
+ amat.mult(tmat);
+ if (painted) {
+ painted = false;
+ repaint();
+ }
+ prevx = x;
+ prevy = y;
+ e.consume();
+ }
+
+ @Override
+ public void mouseMoved(MouseEvent e) {
+ }
+
+ @Override
+ public void update(Graphics g) {
+ if (backBuffer == null) {
+ g.clearRect(0, 0, getSize().width, getSize().height);
+ }
+ paint(g);
+ }
+
+ @Override
+ public void paint(Graphics g) {
+ if (md != null) {
+ md.mat.unit();
+ md.mat.translate(-(md.xmin + md.xmax) / 2,
+ -(md.ymin + md.ymax) / 2,
+ -(md.zmin + md.zmax) / 2);
+ md.mat.mult(amat);
+ // md.mat.scale(xfac, -xfac, 8 * xfac / getSize().width);
+ md.mat.scale(xfac, -xfac, 16 * xfac / getSize().width);
+ md.mat.translate(getSize().width / 2, getSize().height / 2, 8);
+ md.transformed = false;
+ if (backBuffer != null) {
+ if (!backSize.equals(getSize())) {
+ newBackBuffer();
+ }
+ backGC.setColor(getBackground());
+ backGC.fillRect(0, 0, getSize().width, getSize().height);
+ md.paint(backGC);
+ g.drawImage(backBuffer, 0, 0, this);
+ } else {
+ md.paint(g);
+ }
+ setPainted();
+ } else if (message != null) {
+ g.drawString("Error in model:", 3, 20);
+ g.drawString(message, 10, 40);
+ }
+ }
+
+ private synchronized void setPainted() {
+ painted = true;
+ notifyAll();
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "Title: XYZApp \nAuthor: James Gosling \nAn applet to put"
+ + " a Chemical model into a page.";
+ }
+
+ @Override
+ public String[][] getParameterInfo() {
+ String[][] info = {
+ { "model", "path string", "The path to the model to be displayed"
+ + " in .xyz format "
+ + "(see http://chem.leeds.ac.uk/Project/MIME.html)."
+ + " Default is model.obj." },
+ { "scale", "float", "Scale factor. Default is 1 (i.e. no scale)." }
+ };
+ return info;
+ }
+} // end class XYZApp
+
+
+class Atom {
+
+ private static Applet applet;
+ private static byte[] data;
+ private final static int R = 40;
+ private final static int hx = 15;
+ private final static int hy = 15;
+ private final static int bgGrey = 192;
+ private final static int nBalls = 16;
+ private static int maxr;
+ private int Rl;
+ private int Gl;
+ private int Bl;
+ private Image balls[];
+
+ static {
+ data = new byte[R * 2 * R * 2];
+ int mr = 0;
+ for (int Y = 2 * R; --Y >= 0;) {
+ int x0 = (int) (Math.sqrt(R * R - (Y - R) * (Y - R)) + 0.5);
+ int p = Y * (R * 2) + R - x0;
+ for (int X = -x0; X < x0; X++) {
+ int x = X + hx;
+ int y = Y - R + hy;
+ int r = (int) (Math.sqrt(x * x + y * y) + 0.5);
+ if (r > mr) {
+ mr = r;
+ }
+ data[p++] = r <= 0 ? 1 : (byte) r;
+ }
+ }
+ maxr = mr;
+ }
+
+ static void setApplet(Applet app) {
+ applet = app;
+ }
+
+ Atom(int Rl, int Gl, int Bl) {
+ this.Rl = Rl;
+ this.Gl = Gl;
+ this.Bl = Bl;
+ }
+
+ private int blend(int fg, int bg, float fgfactor) {
+ return (int) (bg + (fg - bg) * fgfactor);
+ }
+
+ private void Setup() {
+ balls = new Image[nBalls];
+ byte red[] = new byte[256];
+ red[0] = (byte) bgGrey;
+ byte green[] = new byte[256];
+ green[0] = (byte) bgGrey;
+ byte blue[] = new byte[256];
+ blue[0] = (byte) bgGrey;
+ for (int r = 0; r < nBalls; r++) {
+ float b = (float) (r + 1) / nBalls;
+ for (int i = maxr; i >= 1; --i) {
+ float d = (float) i / maxr;
+ red[i] = (byte) blend(blend(Rl, 255, d), bgGrey, b);
+ green[i] = (byte) blend(blend(Gl, 255, d), bgGrey, b);
+ blue[i] = (byte) blend(blend(Bl, 255, d), bgGrey, b);
+ }
+ IndexColorModel model = new IndexColorModel(8, maxr + 1,
+ red, green, blue, 0);
+ balls[r] = applet.createImage(
+ new MemoryImageSource(R * 2, R * 2, model, data, 0, R * 2));
+ }
+ }
+
+ void paint(Graphics gc, int x, int y, int r) {
+ Image ba[] = balls;
+ if (ba == null) {
+ Setup();
+ ba = balls;
+ }
+ Image i = ba[r];
+ int size = 10 + r;
+ gc.drawImage(i, x - (size >> 1), y - (size >> 1), size, size, applet);
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/example1.html"
index 9b5adfcacfa315ad97f93de64d0875044a3872c9..f87aee60fe8b0b5e5e3ae96b2bd891873348ebf7 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/example1.html"
@@ -1,3 +1,22 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bfa56ff765a88d7a92a5ec512585add6af7e4a205a2a019e622e9092dd976309
-size 529
+
+
+ MoleculeViewer (example 1)
+
+
+ MoleculeViewer (example 1)
+
+
+
+ The source.
+
+
+
+
+
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/example2.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/example2.html"
index de9667f35433248bc29b689b37d2b3f7fe1e6343..8468cc816b504d746d659b7c81fb130faf5bbbcc 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/example2.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/example2.html"
@@ -1,3 +1,16 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:cdf33c4b44913576a56855a91860013b3cf9b9a6e37d54ee0c41b95f08681981
-size 533
+
+
+ MoleculeViewer (example 2)
+
+
+ MoleculeViewer (example 2)
+
+
+
+ The source.
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/example3.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/example3.html"
index e1af700eb5b614865ddd01b2765bc37dfc9eff56..c5673ea91a9c7df1b8cd600a4c3295551018bcad 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/example3.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/example3.html"
@@ -1,3 +1,35 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0ce84b7d2656b05fc11352efd1984f64598d27dbb11620af3da9965ec4336706
-size 1464
+
+
+ MoleculeViewer (example 3)
+
+
+ MoleculeViewer (example 3)
+
+
+
+
+
+
+
+
+
+ The source.
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/src.zip" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/src.zip"
index 0710feee5c8faa32ac75fdc2b8818d892355019b..19a5f1e85365e251b431ec9af939a42489a1d825 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/src.zip" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/MoleculeViewer/src.zip" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/NervousText/NervousText.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/NervousText/NervousText.class"
index 79a2cb57ae46c0dc152699a44a4e9fc04cf7b722..e0caba5f88984f9f7dc50d1fb93b2bd52c79aa74 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/NervousText/NervousText.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/NervousText/NervousText.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/NervousText/NervousText.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/NervousText/NervousText.java"
index 5f95b221671b592a98509ce9a935af6e31359792..12dd678d00a46f9c0d230905b8a5f72066558f5f 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/NervousText/NervousText.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/NervousText/NervousText.java"
@@ -1,3 +1,206 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:135846d51f4bbff474e7942939ff9e7780a64a5204a5b7a348a9e7408c6c70a2
-size 6510
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.awt.Graphics;
+import java.awt.Font;
+import java.applet.Applet;
+import java.awt.event.MouseEvent;
+import java.awt.event.MouseListener;
+
+
+/**
+ * An applet that displays jittering text on the screen.
+ *
+ * @author Daniel Wyszynski 04/12/95
+ * @author 05/09/95 kwalrath Changed string; added thread suspension
+ * @author 02/06/98 madbot removed use of suspend and resume and cleaned up
+ */
+@SuppressWarnings("serial")
+public class NervousText extends Applet implements Runnable, MouseListener {
+
+ String banner; // The text to be displayed
+ char bannerChars[]; // The same text as an array of characters
+ char attributes[]; // Character attributes ('^' for superscript)
+ Thread runner = null; // The thread that is displaying the text
+ boolean threadSuspended; // True when thread suspended (via mouse click)
+ static final int REGULAR_WD = 15;
+ static final int REGULAR_HT = 36;
+ static final int SMALL_WD = 12;
+ static final int SMALL_HT = 24;
+ Font regularFont = new Font("Serif", Font.BOLD, REGULAR_HT);
+ Font smallFont = new Font("Serif", Font.BOLD, SMALL_HT);
+
+ @Override
+ public void init() {
+ banner = getParameter("text");
+ if (banner == null) {
+ banner = "HotJava";
+ }
+
+ int bannerLength = banner.length();
+ StringBuilder bc = new StringBuilder(bannerLength);
+ StringBuilder attrs = new StringBuilder(bannerLength);
+ int wd = 0;
+ for (int i = 0; i < bannerLength; i++) {
+ char c = banner.charAt(i);
+ char a = 0;
+ if (c == '^') {
+ i++;
+ if (i < bannerLength) {
+ c = banner.charAt(i);
+ a = '^';
+ wd += SMALL_WD - REGULAR_WD;
+ } else {
+ break;
+ }
+ }
+ bc.append(c);
+ attrs.append(a);
+ wd += REGULAR_WD;
+ }
+
+ bannerLength = bc.length();
+ bannerChars = new char[bannerLength];
+ attributes = new char[bannerLength];
+ bc.getChars(0, bannerLength, bannerChars, 0);
+ attrs.getChars(0, bannerLength, attributes, 0);
+
+ threadSuspended = false;
+ resize(wd + 10, 50);
+ addMouseListener(this);
+ }
+
+ @Override
+ public void destroy() {
+ removeMouseListener(this);
+ }
+
+ @Override
+ public void start() {
+ runner = new Thread(this);
+ runner.start();
+ }
+
+ @Override
+ public synchronized void stop() {
+ runner = null;
+ if (threadSuspended) {
+ threadSuspended = false;
+ notify();
+ }
+ }
+
+ @Override
+ public void run() {
+ Thread me = Thread.currentThread();
+ while (runner == me) {
+ try {
+ Thread.sleep(100);
+ synchronized (this) {
+ while (threadSuspended) {
+ wait();
+ }
+ }
+ } catch (InterruptedException e) {
+ }
+ repaint();
+ }
+ }
+
+ @Override
+ public void paint(Graphics g) {
+ int length = bannerChars.length;
+ for (int i = 0, x = 0; i < length; i++) {
+ int wd, ht;
+ if (attributes[i] == '^') {
+ wd = SMALL_WD;
+ ht = SMALL_HT;
+ g.setFont(smallFont);
+ } else {
+ wd = REGULAR_WD;
+ ht = REGULAR_HT;
+ g.setFont(regularFont);
+ }
+ int px = (int) (10 * Math.random() + x);
+ int py = (int) (10 * Math.random() + ht);
+ g.drawChars(bannerChars, i, 1, px, py);
+ x += wd;
+ }
+ }
+
+ @Override
+ public synchronized void mousePressed(MouseEvent e) {
+ e.consume();
+ threadSuspended = !threadSuspended;
+ if (!threadSuspended) {
+ notify();
+ }
+ }
+
+ @Override
+ public void mouseReleased(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseEntered(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseExited(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseClicked(MouseEvent e) {
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "Title: NervousText\nAuthor: Daniel Wyszynski\n"
+ + "Displays a text banner that jitters.";
+ }
+
+ @Override
+ public String[][] getParameterInfo() {
+ String pinfo[][] = {
+ { "text", "string", "Text to display" }, };
+ return pinfo;
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/NervousText/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/NervousText/example1.html"
index b25c7f3c032a66073a1215f0056ac7757da939c4..96013da6f4520abb0602ae25727e5ac66d2550da 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/NervousText/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/NervousText/example1.html"
@@ -1,3 +1,7 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:54f99ec52165b9e6026e07e0ad948e73050ad4ece732b5e20154054b8a4dd8b1
-size 209
+Nervous Text 1.1
+
+
+
+The source.
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SimpleGraph/GraphApplet.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SimpleGraph/GraphApplet.class"
index 8527846c76c40f5010d5f79e6aecb1efdcfa0006..f27f1f57ef197fe51136bdd11c713d3ea3004bf7 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SimpleGraph/GraphApplet.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SimpleGraph/GraphApplet.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SimpleGraph/GraphApplet.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SimpleGraph/GraphApplet.java"
index b3d0484f338e5f6445ad9a517f82e551a0f9e6c6..dabbc209c47c61ce4648ef19864e76a7b6f01505 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SimpleGraph/GraphApplet.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SimpleGraph/GraphApplet.java"
@@ -1,3 +1,63 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1334e0199228a46eb4f191e75bb184de04de888f3bd117274d147167c30e73dc
-size 2423
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.awt.Graphics;
+
+
+@SuppressWarnings("serial")
+public class GraphApplet extends java.applet.Applet {
+
+ double f(double x) {
+ return (Math.cos(x / 5) + Math.sin(x / 7) + 2) * getSize().height / 4;
+ }
+
+ @Override
+ public void paint(Graphics g) {
+ for (int x = 0; x < getSize().width; x++) {
+ g.drawLine(x, (int) f(x), x + 1, (int) f(x + 1));
+ }
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "Draws a sin graph.";
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SimpleGraph/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SimpleGraph/example1.html"
index 05b59e454ba234d333b642047628036718fb4926..f31480fa07978603cce3aa8b93421afef03ebd1c 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SimpleGraph/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SimpleGraph/example1.html"
@@ -1,3 +1,16 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3c6d64738f7fbced6a82e29363637ab233dcbedbbbede7d713d54e0a0a906339
-size 436
+
+
+ Simple Graph (1.1)
+
+
+ Simple Graph(1.1)
+
+
+
+ The source.
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BidirBubbleSortAlgorithm.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BidirBubbleSortAlgorithm.class"
index 46a309acc1e1306d7381f6c1e9e2e83d6aac4d72..15cf9cef40a87b6671c4687266d8a94789f1baa2 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BidirBubbleSortAlgorithm.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BidirBubbleSortAlgorithm.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BidirBubbleSortAlgorithm.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BidirBubbleSortAlgorithm.java"
index 0297cf2ed53e348220020c26a19defd1a62f4862..c2478f899e67258ed7180148e76a0d8408c2fd24 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BidirBubbleSortAlgorithm.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BidirBubbleSortAlgorithm.java"
@@ -1,3 +1,93 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1d3d9488ed92ba93d9d10f5f47b52d4350bd5ccd4e9cbb0dffdbabb6e335fc33
-size 3295
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+/**
+ * A bi-directional bubble sort demonstration algorithm
+ * SortAlgorithm.java, Thu Oct 27 10:32:35 1994
+ *
+ * @author James Gosling
+ */
+class BidirBubbleSortAlgorithm extends SortAlgorithm {
+
+ @Override
+ void sort(int a[]) throws Exception {
+ int j;
+ int limit = a.length;
+ int st = -1;
+ while (st < limit) {
+ st++;
+ limit--;
+ boolean swapped = false;
+ for (j = st; j < limit; j++) {
+ if (stopRequested) {
+ return;
+ }
+ if (a[j] > a[j + 1]) {
+ int T = a[j];
+ a[j] = a[j + 1];
+ a[j + 1] = T;
+ swapped = true;
+ }
+ pause(st, limit);
+ }
+ if (!swapped) {
+ return;
+ } else {
+ swapped = false;
+ }
+ for (j = limit; --j >= st;) {
+ if (stopRequested) {
+ return;
+ }
+ if (a[j] > a[j + 1]) {
+ int T = a[j];
+ a[j] = a[j + 1];
+ a[j + 1] = T;
+ swapped = true;
+ }
+ pause(st, limit);
+ }
+ if (!swapped) {
+ return;
+ }
+ }
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BubbleSortAlgorithm.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BubbleSortAlgorithm.class"
index 995f3207df0488abee0df959a095bff4e5172fda..d480225d2aeb919646298502fd5de2ee49dfbe2d 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BubbleSortAlgorithm.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BubbleSortAlgorithm.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BubbleSortAlgorithm.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BubbleSortAlgorithm.java"
index 8a6c28bada328db32d9548ebbe370e32eb0c9ab2..946c864535ef092b3af301a7b0d778914695e707 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BubbleSortAlgorithm.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/BubbleSortAlgorithm.java"
@@ -1,3 +1,71 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:011fc69b05fcb3fe2abb90ec686d3d27c978f3eb2c4614c79545958d29b1dd29
-size 2688
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+/**
+ * A bubble sort demonstration algorithm
+ * SortAlgorithm.java, Thu Oct 27 10:32:35 1994
+ *
+ * @author James Gosling
+ */
+class BubbleSortAlgorithm extends SortAlgorithm {
+
+ @Override
+ void sort(int a[]) throws Exception {
+ for (int i = a.length; --i >= 0;) {
+ boolean swapped = false;
+ for (int j = 0; j < i; j++) {
+ if (stopRequested) {
+ return;
+ }
+ if (a[j] > a[j + 1]) {
+ int T = a[j];
+ a[j] = a[j + 1];
+ a[j + 1] = T;
+ swapped = true;
+ }
+ pause(i, j);
+ }
+ if (!swapped) {
+ return;
+ }
+ }
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/QSortAlgorithm.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/QSortAlgorithm.class"
index 587490d3ec94782aa436be923749da95b0a84111..5b216adbab6bd07871fc7a0b6c18a8e9abfe326b 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/QSortAlgorithm.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/QSortAlgorithm.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/QSortAlgorithm.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/QSortAlgorithm.java"
index 6f8bb3786d73bc019cc534e4ed538b0b20c9a585..045f222969cbb430c5ce1a808c0f1ecb7dff44c5 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/QSortAlgorithm.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/QSortAlgorithm.java"
@@ -1,3 +1,139 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6b9309668b8a4f03f6241f155dd0654f2d57d97d2391a319edffefee8f19d04e
-size 4905
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+/**
+ * A quick sort demonstration algorithm
+ * SortAlgorithm.java
+ *
+ * @author James Gosling
+ * @author Kevin A. Smith
+ */
+public class QSortAlgorithm extends SortAlgorithm {
+
+ /**
+ * A version of pause() that makes it easier to ensure that we pause
+ * exactly the right number of times.
+ */
+ private boolean pauseTrue(int lo, int hi) throws Exception {
+ super.pause(lo, hi);
+ return true;
+ }
+
+ /** This is a generic version of C.A.R Hoare's Quick Sort
+ * algorithm. This will handle arrays that are already
+ * sorted, and arrays with duplicate keys.
+ *
+ * If you think of a one dimensional array as going from
+ * the lowest index on the left to the highest index on the right
+ * then the parameters to this function are lowest index or
+ * left and highest index or right. The first time you call
+ * this function it will be with the parameters 0, a.length - 1.
+ *
+ * @param a an integer array
+ * @param lo0 left boundary of array partition
+ * @param hi0 right boundary of array partition
+ */
+ void QuickSort(int a[], int lo0, int hi0) throws Exception {
+ int lo = lo0;
+ int hi = hi0;
+ int mid;
+
+ if (hi0 > lo0) {
+
+ /* Arbitrarily establishing partition element as the midpoint of
+ * the array.
+ */
+ mid = a[(lo0 + hi0) / 2];
+
+ // loop through the array until indices cross
+ while (lo <= hi) {
+ /* find the first element that is greater than or equal to
+ * the partition element starting from the left Index.
+ */
+ while ((lo < hi0) && pauseTrue(lo0, hi0) && (a[lo] < mid)) {
+ ++lo;
+ }
+
+ /* find an element that is smaller than or equal to
+ * the partition element starting from the right Index.
+ */
+ while ((hi > lo0) && pauseTrue(lo0, hi0) && (a[hi] > mid)) {
+ --hi;
+ }
+
+ // if the indexes have not crossed, swap
+ if (lo <= hi) {
+ swap(a, lo, hi);
+ ++lo;
+ --hi;
+ }
+ }
+
+ /* If the right index has not reached the left side of array
+ * must now sort the left partition.
+ */
+ if (lo0 < hi) {
+ QuickSort(a, lo0, hi);
+ }
+
+ /* If the left index has not reached the right side of array
+ * must now sort the right partition.
+ */
+ if (lo < hi0) {
+ QuickSort(a, lo, hi0);
+ }
+
+ }
+ }
+
+ private void swap(int a[], int i, int j) {
+ int T;
+ T = a[i];
+ a[i] = a[j];
+ a[j] = T;
+
+ }
+
+ @Override
+ public void sort(int a[]) throws Exception {
+ QuickSort(a, 0, a.length - 1);
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortAlgorithm.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortAlgorithm.class"
index e049a73a9181749b62e7434d11465ab8c9d02045..38be6d9a5a44cc8e86fcdbf46ba733b14e249195 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortAlgorithm.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortAlgorithm.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortAlgorithm.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortAlgorithm.java"
index 86f6810ae716c766b66631e55bdc6e9e7f1946e3..c1a80aabc0b03cffa96d51d413dcce08e8824177 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortAlgorithm.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortAlgorithm.java"
@@ -1,3 +1,116 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:88cc498971d9c3ea5d038296ff63b006e1fedddd73262cd8c072aee8d3bf04a8
-size 3395
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+/**
+ * A generic sort demonstration algorithm
+ * SortAlgorithm.java, Thu Oct 27 10:32:35 1994
+ *
+ * @author James Gosling
+ */
+class SortAlgorithm {
+
+ /**
+ * The sort item.
+ */
+ private SortItem parent;
+ /**
+ * When true stop sorting.
+ */
+ protected boolean stopRequested = false;
+
+ /**
+ * Set the parent.
+ */
+ public void setParent(SortItem p) {
+ parent = p;
+ }
+
+ /**
+ * Pause for a while.
+ */
+ protected void pause() throws Exception {
+ if (stopRequested) {
+ throw new Exception("Sort Algorithm");
+ }
+ parent.pause(parent.h1, parent.h2);
+ }
+
+ /**
+ * Pause for a while and mark item 1.
+ */
+ protected void pause(int H1) throws Exception {
+ if (stopRequested) {
+ throw new Exception("Sort Algorithm");
+ }
+ parent.pause(H1, parent.h2);
+ }
+
+ /**
+ * Pause for a while and mark item 1 & 2.
+ */
+ protected void pause(int H1, int H2) throws Exception {
+ if (stopRequested) {
+ throw new Exception("Sort Algorithm");
+ }
+ parent.pause(H1, H2);
+ }
+
+ /**
+ * Stop sorting.
+ */
+ public void stop() {
+ stopRequested = true;
+ }
+
+ /**
+ * Initialize
+ */
+ public void init() {
+ stopRequested = false;
+ }
+
+ /**
+ * This method will be called to
+ * sort an array of integers.
+ */
+ void sort(int a[]) throws Exception {
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortItem.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortItem.class"
index 8b04b63c22b030c29b6be2ac977210f980212c6a..0307d621c87bcd817a9b5943d8898a2bd0891e90 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortItem.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortItem.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortItem.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortItem.java"
index e579cf133aea8de89f1cb70bbf5dff57181368ed..0ee60c9122f5a02507dac137c695051d3a6536eb 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortItem.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/SortItem.java"
@@ -1,3 +1,331 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:128b932c454f413666b4eca5b4e98e88b8cd5a2ac2fc5d2fd3a08d519b59fee6
-size 9550
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.awt.Color;
+import java.awt.Dimension;
+import java.awt.Graphics;
+import java.awt.event.MouseEvent;
+import java.awt.event.MouseListener;
+
+
+/**
+ * A simple applet class to demonstrate a sort algorithm.
+ * You can specify a sorting algorithm using the "alg"
+ * attribute. When you click on the applet, a thread is
+ * forked which animates the sorting algorithm.
+ *
+ * @author James Gosling
+ */
+@SuppressWarnings("serial")
+public class SortItem extends java.applet.Applet implements Runnable,
+ MouseListener {
+
+ /**
+ * The thread that is sorting (or null).
+ */
+ private Thread kicker;
+ /**
+ * The array that is being sorted.
+ */
+ int arr[];
+ /**
+ * The high water mark.
+ */
+ int h1 = -1;
+ /**
+ * The low water mark.
+ */
+ int h2 = -1;
+ /**
+ * The name of the algorithm.
+ */
+ String algName;
+ /**
+ * The sorting algorithm (or null).
+ */
+ SortAlgorithm algorithm;
+ Dimension initialSize = null;
+
+ /**
+ * Fill the array with random numbers from 0..n-1.
+ */
+ void scramble() {
+ initialSize = getSize();
+ int a[] = new int[initialSize.height / 2];
+ double f = initialSize.width / (double) a.length;
+
+ for (int i = a.length; --i >= 0;) {
+ a[i] = (int) (i * f);
+ }
+ for (int i = a.length; --i >= 0;) {
+ int j = (int) (i * Math.random());
+ int t = a[i];
+ a[i] = a[j];
+ a[j] = t;
+ }
+ arr = a;
+ }
+
+ /**
+ * Pause a while.
+ * @see SortAlgorithm
+ */
+ void pause() {
+ pause(-1, -1);
+ }
+
+ /**
+ * Pause a while, and draw the high water mark.
+ * @see SortAlgorithm
+ */
+ void pause(int H1) {
+ pause(H1, -1);
+ }
+
+ /**
+ * Pause a while, and draw the low&high water marks.
+ * @see SortAlgorithm
+ */
+ void pause(int H1, int H2) {
+ h1 = H1;
+ h2 = H2;
+ if (kicker != null) {
+ repaint();
+ }
+ try {
+ Thread.sleep(20);
+ } catch (InterruptedException e) {
+ }
+ }
+
+ /**
+ * Initialize the applet.
+ */
+ @Override
+ public void init() {
+ String at = getParameter("alg");
+ if (at == null) {
+ at = "BubbleSort";
+ }
+
+ algName = at + "Algorithm";
+ scramble();
+
+ resize(100, 100);
+ addMouseListener(this);
+ }
+
+ @Override
+ public void start() {
+ h1 = h2 = -1;
+ scramble();
+ repaint();
+ showStatus(getParameter("alg"));
+ }
+
+ /**
+ * Deallocate resources of applet.
+ */
+ @Override
+ public void destroy() {
+ removeMouseListener(this);
+ }
+
+ /**
+ * Paint the array of numbers as a list
+ * of horizontal lines of varying lengths.
+ */
+ @Override
+ public void paint(Graphics g) {
+ int a[] = arr;
+ int y = 0;
+ int deltaY = 0, deltaX = 0, evenY = 0;
+
+ Dimension currentSize = getSize();
+ int currentHeight = currentSize.height;
+ int currentWidth = currentSize.width;
+
+ // Check to see if the applet has been resized since it
+ // started running. If so, need the deltas to make sure
+ // the applet is centered in its containing panel.
+ // The evenX and evenY are because the high and low
+ // watermarks are calculated from the top, but the rest
+ // of the lines are calculated from the bottom, which
+ // can lead to a discrepancy if the window is not an
+ // even size.
+ if (!currentSize.equals(initialSize)) {
+ evenY = (currentHeight - initialSize.height) % 2;
+ deltaY = (currentHeight - initialSize.height) / 2;
+ deltaX = (currentWidth - initialSize.width) / 2;
+
+ if (deltaY < 0) {
+ deltaY = 0;
+ evenY = 0;
+ }
+ if (deltaX < 0) {
+ deltaX = 0;
+ }
+ }
+
+ // Erase old lines
+ g.setColor(getBackground());
+ y = currentHeight - deltaY - 1;
+ for (int i = a.length; --i >= 0; y -= 2) {
+ g.drawLine(deltaX + arr[i], y, currentWidth, y);
+ }
+
+ // Draw new lines
+ g.setColor(Color.black);
+ y = currentHeight - deltaY - 1;
+ for (int i = a.length; --i >= 0; y -= 2) {
+ g.drawLine(deltaX, y, deltaX + arr[i], y);
+ }
+
+ if (h1 >= 0) {
+ g.setColor(Color.red);
+ y = deltaY + evenY + h1 * 2 + 1;
+ g.drawLine(deltaX, y, deltaX + initialSize.width, y);
+ }
+ if (h2 >= 0) {
+ g.setColor(Color.blue);
+ y = deltaY + evenY + h2 * 2 + 1;
+ g.drawLine(deltaX, y, deltaX + initialSize.width, y);
+ }
+ }
+
+ /**
+ * Update without erasing the background.
+ */
+ @Override
+ public void update(Graphics g) {
+ paint(g);
+ }
+
+ /**
+ * Run the sorting algorithm. This method is
+ * called by class Thread once the sorting algorithm
+ * is started.
+ * @see java.lang.Thread#run
+ * @see SortItem#mouseUp
+ */
+ @Override
+ public void run() {
+ try {
+ if (algorithm == null) {
+ algorithm = (SortAlgorithm) Class.forName(algName).newInstance();
+ algorithm.setParent(this);
+ }
+ algorithm.init();
+ algorithm.sort(arr);
+ } catch (Exception e) {
+ }
+ }
+
+ /**
+ * Stop the applet. Kill any sorting algorithm that
+ * is still sorting.
+ */
+ @Override
+ public synchronized void stop() {
+ if (algorithm != null) {
+ try {
+ algorithm.stop();
+ } catch (IllegalThreadStateException e) {
+ // ignore this exception
+ }
+ kicker = null;
+ }
+ }
+
+ /**
+ * For a Thread to actually do the sorting. This routine makes
+ * sure we do not simultaneously start several sorts if the user
+ * repeatedly clicks on the sort item. It needs to be
+ * synchronized with the stop() method because they both
+ * manipulate the common kicker variable.
+ */
+ private synchronized void startSort() {
+ if (kicker == null || !kicker.isAlive()) {
+ kicker = new Thread(this);
+ kicker.start();
+ }
+ }
+
+ @Override
+ public void mouseClicked(MouseEvent e) {
+ showStatus(getParameter("alg"));
+ }
+
+ @Override
+ public void mousePressed(MouseEvent e) {
+ }
+
+ /**
+ * The user clicked in the applet. Start the clock!
+ */
+ @Override
+ public void mouseReleased(MouseEvent e) {
+ startSort();
+ e.consume();
+ }
+
+ @Override
+ public void mouseEntered(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseExited(MouseEvent e) {
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "Title: SortDemo \nAuthor: James Gosling 1.17f, 10 Apr 1995 \nA simple applet class to demonstrate a sort algorithm. \nYou can specify a sorting algorithm using the 'alg' attribute. \nWhen you click on the applet, a thread is forked which animates \nthe sorting algorithm.";
+ }
+
+ @Override
+ public String[][] getParameterInfo() {
+ String[][] info = {
+ { "alg", "string",
+ "The name of the algorithm to run. You can choose from the provided algorithms or suppply your own, as long as the classes are runnable as threads and their names end in 'Algorithm.' BubbleSort is the default. Example: Use 'QSort' to run the QSortAlgorithm class." }
+ };
+ return info;
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/debug.log" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/debug.log"
index 9b4ba1ce11c84106d04e8a7604b145eb8b9471f1..5b636922a8c332ec22e564dfaa432d2c8ab43413 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/debug.log"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/debug.log"
@@ -1,3 +1,4 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:53646429612c58abd06aace68436e639f5a7c311ce43315620b50802a454aeb6
-size 449
+[1109/113509.927:ERROR:process_info.cc(625)] range at 0x8efe2ac600000000, size 0xc fully unreadable
+[1109/113509.987:ERROR:process_info.cc(625)] range at 0x8efe2b2e00000000, size 0xc fully unreadable
+[1109/113509.987:ERROR:process_info.cc(625)] range at 0x0, size 0xc fully unreadable
+[1109/113510.705:ERROR:process_info.cc(389)] NtQuerySystemInformation SystemExtendedHandleInformation: 指定的信息记录长度与请求的信息类别长度不符合。 (0xc0000004)
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/example1.html"
index 412d3a7f8dbc45c479b741cc0a24f4b13e118170..537494518fabb29bfa911a2d7f41edb05f3b3ea1 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SortDemo/example1.html"
@@ -1,3 +1,39 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:40276517a953a7bbc056fa874f73a66590863d2f45df8f9a6a84da80e08a5fb2
-size 1658
+
+
+ The Sorting Algorithm Demo (1.1)
+
+
+ The Sorting Algorithm Demo (1.1)
+
+
+
+
+ | Bubble Sort |
+ Bidirectional Bubble Sort |
+ Quick Sort |
+
+
+
+ |
+
+ |
+
+
+ |
+
+
+ |
+
+
+
+
+
+ The Sources
+ The applet.
+ The "generic" sorting algorithm.
+ The Bi-directional Bubble Sort algorithm.
+ The Bubble Sort algorithm.
+ The Quick Sort algorithm.
+
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/Cell.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/Cell.class"
index 369181fdaaabf4c25b00cf8c273b596160c619d5..73e6b78118d4c26b3e51a27e8390a8a010b1c7fe 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/Cell.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/Cell.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/CellUpdater.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/CellUpdater.class"
index 1e1b8cf3dc71b9475bf4d5064e46c03114d2d6d5..399a3090687dea8b892aa220ec5a4b0d56d4946d 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/CellUpdater.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/CellUpdater.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/InputField.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/InputField.class"
index 22f924fd201333267b8a24ecb3a2caea81c93cce..e6e804f646b9c12517dab444adc1d7d16e33e165 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/InputField.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/InputField.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/Node.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/Node.class"
index 4e7dc065e1ee71105c9ec5883793f1138a29bfb8..e84b440e89704b4ce6b1e40bd02c5185ae93ba9f 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/Node.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/Node.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/SpreadSheet.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/SpreadSheet.class"
index 4d8498ae4e90c4aeb0608c79e96bdeea2b812158..a40a29f2c653ef98eee0e1d3d042759a1a58caaf 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/SpreadSheet.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/SpreadSheet.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/SpreadSheet.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/SpreadSheet.java"
index 52cd782f3f3a4dc1ce599007bbf4b993d1eb0f5b..9aa32866cd7ba79fd09d1ef3fb2c15a64ea6f963 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/SpreadSheet.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/SpreadSheet.java"
@@ -1,3 +1,956 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:f32e50574139dcf512cd342dc36a92788f55535e2e0f7023cd3c2f37b0a198ef
-size 28219
+/*
+ * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.applet.Applet;
+import java.awt.*;
+import java.awt.event.*;
+import java.io.*;
+import java.net.*;
+
+
+@SuppressWarnings("serial")
+public class SpreadSheet extends Applet implements MouseListener, KeyListener {
+
+ String title;
+ Font titleFont;
+ Color cellColor;
+ Color inputColor;
+ int cellWidth = 100;
+ int cellHeight = 15;
+ int titleHeight = 15;
+ int rowLabelWidth = 15;
+ Font inputFont;
+ boolean isStopped = false;
+ boolean fullUpdate = true;
+ int rows;
+ int columns;
+ int currentKey = -1;
+ int selectedRow = -1;
+ int selectedColumn = -1;
+ SpreadSheetInput inputArea;
+ Cell cells[][];
+ Cell current = null;
+
+ @Override
+ public synchronized void init() {
+ String rs;
+
+ cellColor = Color.white;
+ inputColor = new Color(100, 100, 225);
+ inputFont = new Font("Monospaced", Font.PLAIN, 10);
+ titleFont = new Font("Monospaced", Font.BOLD, 12);
+ title = getParameter("title");
+ if (title == null) {
+ title = "Spreadsheet";
+ }
+ rs = getParameter("rows");
+ if (rs == null) {
+ rows = 9;
+ } else {
+ rows = Integer.parseInt(rs);
+ }
+ rs = getParameter("columns");
+ if (rs == null) {
+ columns = 5;
+ } else {
+ columns = Integer.parseInt(rs);
+ }
+ cells = new Cell[rows][columns];
+ char l[] = new char[1];
+ for (int i = 0; i < rows; i++) {
+ for (int j = 0; j < columns; j++) {
+
+ cells[i][j] = new Cell(this,
+ Color.lightGray,
+ Color.black,
+ cellColor,
+ cellWidth - 2,
+ cellHeight - 2);
+ l[0] = (char) ((int) 'a' + j);
+ rs = getParameter("" + new String(l) + (i + 1));
+ if (rs != null) {
+ cells[i][j].setUnparsedValue(rs);
+ }
+ }
+ }
+
+ Dimension d = getSize();
+ inputArea = new SpreadSheetInput(null, this, d.width - 2, cellHeight - 1,
+ inputColor, Color.white);
+ resize(columns * cellWidth + rowLabelWidth,
+ (rows + 3) * cellHeight + titleHeight);
+ addMouseListener(this);
+ addKeyListener(this);
+ }
+
+ public void setCurrentValue(float val) {
+ if (selectedRow == -1 || selectedColumn == -1) {
+ return;
+ }
+ cells[selectedRow][selectedColumn].setValue(val);
+ repaint();
+ }
+
+ @Override
+ public void stop() {
+ isStopped = true;
+ }
+
+ @Override
+ public void start() {
+ isStopped = false;
+ }
+
+ @Override
+ public void destroy() {
+ for (int i = 0; i < rows; i++) {
+ for (int j = 0; j < columns; j++) {
+ if (cells[i][j].type == Cell.URL) {
+ cells[i][j].updaterThread.run = false;
+ }
+ }
+ }
+ }
+
+ public void setCurrentValue(int type, String val) {
+ if (selectedRow == -1 || selectedColumn == -1) {
+ return;
+ }
+ cells[selectedRow][selectedColumn].setValue(type, val);
+ repaint();
+ }
+
+ @Override
+ public void update(Graphics g) {
+ if (!fullUpdate) {
+ int cx, cy;
+
+ g.setFont(titleFont);
+ for (int i = 0; i < rows; i++) {
+ for (int j = 0; j < columns; j++) {
+ if (cells[i][j].needRedisplay) {
+ cx = (j * cellWidth) + 2 + rowLabelWidth;
+ cy = ((i + 1) * cellHeight) + 2 + titleHeight;
+ cells[i][j].paint(g, cx, cy);
+ }
+ }
+ }
+ } else {
+ paint(g);
+ fullUpdate = false;
+ }
+ }
+
+ public void recalculate() {
+ int i, j;
+
+ //System.out.println("SpreadSheet.recalculate");
+ for (i = 0; i < rows; i++) {
+ for (j = 0; j < columns; j++) {
+ if (cells[i][j] != null && cells[i][j].type == Cell.FORMULA) {
+ cells[i][j].setRawValue(evaluateFormula(
+ cells[i][j].parseRoot));
+ cells[i][j].needRedisplay = true;
+ }
+ }
+ }
+ repaint();
+ }
+
+ float evaluateFormula(Node n) {
+ float val = 0.0f;
+
+ //System.out.println("evaluateFormula:");
+ //n.print(3);
+ if (n == null) {
+ //System.out.println("Null node");
+ return val;
+ }
+ switch (n.type) {
+ case Node.OP:
+ val = evaluateFormula(n.left);
+ switch (n.op) {
+ case '+':
+ val += evaluateFormula(n.right);
+ break;
+ case '*':
+ val *= evaluateFormula(n.right);
+ break;
+ case '-':
+ val -= evaluateFormula(n.right);
+ break;
+ case '/':
+ val /= evaluateFormula(n.right);
+ break;
+ }
+ break;
+ case Node.VALUE:
+ //System.out.println("=>" + n.value);
+ return n.value;
+ case Node.CELL:
+ if (cells[n.row][n.column] == null) {
+ //System.out.println("NULL at 193");
+ } else {
+ //System.out.println("=>" + cells[n.row][n.column].value);
+ return cells[n.row][n.column].value;
+ }
+ }
+
+ //System.out.println("=>" + val);
+ return val;
+ }
+
+ @Override
+ public synchronized void paint(Graphics g) {
+ int i, j;
+ int cx, cy;
+ char l[] = new char[1];
+
+
+ Dimension d = getSize();
+
+ g.setFont(titleFont);
+ i = g.getFontMetrics().stringWidth(title);
+ g.drawString((title == null) ? "Spreadsheet" : title,
+ (d.width - i) / 2, 12);
+ g.setColor(inputColor);
+ g.fillRect(0, cellHeight, d.width, cellHeight);
+ g.setFont(titleFont);
+ for (i = 0; i < rows + 1; i++) {
+ cy = (i + 2) * cellHeight;
+ g.setColor(getBackground());
+ g.draw3DRect(0, cy, d.width, 2, true);
+ if (i < rows) {
+ g.setColor(Color.red);
+ g.drawString("" + (i + 1), 2, cy + 12);
+ }
+ }
+
+ g.setColor(Color.red);
+ cy = (rows + 3) * cellHeight + (cellHeight / 2);
+ for (i = 0; i < columns; i++) {
+ cx = i * cellWidth;
+ g.setColor(getBackground());
+ g.draw3DRect(cx + rowLabelWidth,
+ 2 * cellHeight, 1, d.height, true);
+ if (i < columns) {
+ g.setColor(Color.red);
+ l[0] = (char) ((int) 'A' + i);
+ g.drawString(new String(l),
+ cx + rowLabelWidth + (cellWidth / 2),
+ cy);
+ }
+ }
+
+ for (i = 0; i < rows; i++) {
+ for (j = 0; j < columns; j++) {
+ cx = (j * cellWidth) + 2 + rowLabelWidth;
+ cy = ((i + 1) * cellHeight) + 2 + titleHeight;
+ if (cells[i][j] != null) {
+ cells[i][j].paint(g, cx, cy);
+ }
+ }
+ }
+
+ g.setColor(getBackground());
+ g.draw3DRect(0, titleHeight,
+ d.width,
+ d.height - titleHeight,
+ false);
+ inputArea.paint(g, 1, titleHeight + 1);
+ }
+
+ //1.1 event handling
+ @Override
+ public void mouseClicked(MouseEvent e) {
+ }
+
+ @Override
+ public void mousePressed(MouseEvent e) {
+ int x = e.getX();
+ int y = e.getY();
+ Cell cell;
+ if (y < (titleHeight + cellHeight)) {
+ selectedRow = -1;
+ if (y <= titleHeight && current != null) {
+ current.deselect();
+ current = null;
+ }
+ e.consume();
+ }
+ if (x < rowLabelWidth) {
+ selectedRow = -1;
+ if (current != null) {
+ current.deselect();
+ current = null;
+ }
+ e.consume();
+
+ }
+ selectedRow = ((y - cellHeight - titleHeight) / cellHeight);
+ selectedColumn = (x - rowLabelWidth) / cellWidth;
+ if (selectedRow > rows
+ || selectedColumn >= columns) {
+ selectedRow = -1;
+ if (current != null) {
+ current.deselect();
+ current = null;
+ }
+ } else {
+ if (selectedRow >= rows) {
+ selectedRow = -1;
+ if (current != null) {
+ current.deselect();
+ current = null;
+ }
+ e.consume();
+ }
+ if (selectedRow != -1) {
+ cell = cells[selectedRow][selectedColumn];
+ inputArea.setText(cell.getPrintString());
+ if (current != null) {
+ current.deselect();
+ }
+ current = cell;
+ current.select();
+ requestFocus();
+ fullUpdate = true;
+ repaint();
+ }
+ e.consume();
+ }
+ }
+
+ @Override
+ public void mouseReleased(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseEntered(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseExited(MouseEvent e) {
+ }
+
+ @Override
+ public void keyPressed(KeyEvent e) {
+ }
+
+ @Override
+ public void keyTyped(KeyEvent e) {
+ fullUpdate = true;
+ inputArea.processKey(e);
+ e.consume();
+ }
+
+ @Override
+ public void keyReleased(KeyEvent e) {
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "Title: SpreadSheet \nAuthor: Sami Shaio \nA simple spread sheet.";
+ }
+
+ @Override
+ public String[][] getParameterInfo() {
+ String[][] info = {
+ { "title", "string",
+ "The title of the spread sheet. Default is 'Spreadsheet'" },
+ { "rows", "int", "The number of rows. Default is 9." },
+ { "columns", "int", "The number of columns. Default is 5." }
+ };
+ return info;
+ }
+}
+
+
+class CellUpdater extends Thread {
+
+ Cell target;
+ InputStream dataStream = null;
+ StreamTokenizer tokenStream;
+ public volatile boolean run = true;
+
+ public CellUpdater(Cell c) {
+ super("cell updater");
+ target = c;
+ }
+
+ @Override
+ public void run() {
+ try {
+ dataStream = new URL(target.app.getDocumentBase(),
+ target.getValueString()).openStream();
+ tokenStream = new StreamTokenizer(new BufferedReader(
+ new InputStreamReader(dataStream)));
+ tokenStream.eolIsSignificant(false);
+
+ while (run) {
+ switch (tokenStream.nextToken()) {
+ case StreamTokenizer.TT_EOF:
+ dataStream.close();
+ return;
+ default:
+ break;
+ case StreamTokenizer.TT_NUMBER:
+ target.setTransientValue((float) tokenStream.nval);
+ if (!target.app.isStopped && !target.paused) {
+ target.app.repaint();
+ }
+ break;
+ }
+ try {
+ Thread.sleep(2000);
+ } catch (InterruptedException e) {
+ break;
+ }
+ }
+ } catch (IOException e) {
+ return;
+ }
+ }
+}
+
+
+class Cell {
+
+ public static final int VALUE = 0;
+ public static final int LABEL = 1;
+ public static final int URL = 2;
+ public static final int FORMULA = 3;
+ Node parseRoot;
+ boolean needRedisplay;
+ boolean selected = false;
+ boolean transientValue = false;
+ public int type = Cell.VALUE;
+ String valueString = "";
+ String printString = "v";
+ float value;
+ Color bgColor;
+ Color fgColor;
+ Color highlightColor;
+ int width;
+ int height;
+ SpreadSheet app;
+ CellUpdater updaterThread;
+ boolean paused = false;
+
+ public Cell(SpreadSheet app,
+ Color bgColor,
+ Color fgColor,
+ Color highlightColor,
+ int width,
+ int height) {
+ this.app = app;
+ this.bgColor = bgColor;
+ this.fgColor = fgColor;
+ this.highlightColor = highlightColor;
+ this.width = width;
+ this.height = height;
+ needRedisplay = true;
+ }
+
+ public void setRawValue(float f) {
+ valueString = Float.toString(f);
+ value = f;
+ }
+
+ public void setValue(float f) {
+ setRawValue(f);
+ printString = "v" + valueString;
+ type = Cell.VALUE;
+ paused = false;
+ app.recalculate();
+ needRedisplay = true;
+ }
+
+ public void setTransientValue(float f) {
+ transientValue = true;
+ value = f;
+ needRedisplay = true;
+ app.recalculate();
+ }
+
+ public void setUnparsedValue(String s) {
+ switch (s.charAt(0)) {
+ case 'v':
+ setValue(Cell.VALUE, s.substring(1));
+ break;
+ case 'f':
+ setValue(Cell.FORMULA, s.substring(1));
+ break;
+ case 'l':
+ setValue(Cell.LABEL, s.substring(1));
+ break;
+ case 'u':
+ setValue(Cell.URL, s.substring(1));
+ break;
+ }
+ }
+
+ /**
+ * Parse a spreadsheet formula. The syntax is defined as:
+ *
+ * formula -> value
+ * formula -> value op value
+ * value -> '(' formula ')'
+ * value -> cell
+ * value ->
+ * op -> '+' | '*' | '/' | '-'
+ * cell ->
+ */
+ public String parseFormula(String formula, Node node) {
+ String subformula;
+ String restFormula;
+ Node left;
+ Node right;
+ char op;
+
+ if (formula == null) {
+ return null;
+ }
+ subformula = parseValue(formula, node);
+ //System.out.println("subformula = " + subformula);
+ if (subformula == null || subformula.length() == 0) {
+ //System.out.println("Parse succeeded");
+ return null;
+ }
+ if (subformula.equals(formula)) {
+ //System.out.println("Parse failed");
+ return formula;
+ }
+
+ // parse an operator and then another value
+ switch (op = subformula.charAt(0)) {
+ case 0:
+ //System.out.println("Parse succeeded");
+ return null;
+ case ')':
+ //System.out.println("Returning subformula=" + subformula);
+ return subformula;
+ case '+':
+ case '*':
+ case '-':
+ case '/':
+ restFormula = subformula.substring(1);
+ subformula = parseValue(restFormula, right = new Node());
+ //System.out.println("subformula(2) = " + subformula);
+ if (subformula == null ? restFormula != null : !subformula.
+ equals(restFormula)) {
+ //System.out.println("Parse succeeded");
+ left = new Node(node);
+ node.left = left;
+ node.right = right;
+ node.op = op;
+ node.type = Node.OP;
+ //node.print(3);
+ return subformula;
+ } else {
+ //System.out.println("Parse failed");
+ return formula;
+ }
+ default:
+ //System.out.println("Parse failed (bad operator): " + subformula);
+ return formula;
+ }
+ }
+
+ public String parseValue(String formula, Node node) {
+ char c = formula.charAt(0);
+ String subformula;
+ String restFormula;
+ float _value;
+ int row;
+ int column;
+
+ //System.out.println("parseValue: " + formula);
+ restFormula = formula;
+ if (c == '(') {
+ //System.out.println("parseValue(" + formula + ")");
+ restFormula = formula.substring(1);
+ subformula = parseFormula(restFormula, node);
+ //System.out.println("rest=(" + subformula + ")");
+ if (subformula == null
+ || subformula.length() == restFormula.length()) {
+ //System.out.println("Failed");
+ return formula;
+ } else if (!(subformula.charAt(0) == ')')) {
+ //System.out.println("Failed (missing parentheses)");
+ return formula;
+ }
+ restFormula = subformula;
+ } else if (c >= '0' && c <= '9') {
+ int i;
+
+ //System.out.println("formula=" + formula);
+ for (i = 0; i < formula.length(); i++) {
+ c = formula.charAt(i);
+ if ((c < '0' || c > '9') && c != '.') {
+ break;
+ }
+ }
+ try {
+ _value = Float.valueOf(formula.substring(0, i)).floatValue();
+ } catch (NumberFormatException e) {
+ //System.out.println("Failed (number format error)");
+ return formula;
+ }
+ node.type = Node.VALUE;
+ node.value = _value;
+ //node.print(3);
+ restFormula = formula.substring(i);
+ //System.out.println("value= " + value + " i=" + i +
+ // " rest = " + restFormula);
+ return restFormula;
+ } else if (c >= 'A' && c <= 'Z') {
+ int i;
+
+ column = c - 'A';
+ restFormula = formula.substring(1);
+ for (i = 0; i < restFormula.length(); i++) {
+ c = restFormula.charAt(i);
+ if (c < '0' || c > '9') {
+ break;
+ }
+ }
+ row = Float.valueOf(restFormula.substring(0, i)).intValue();
+ //System.out.println("row = " + row + " column = " + column);
+ node.row = row - 1;
+ node.column = column;
+ node.type = Node.CELL;
+ //node.print(3);
+ if (i == restFormula.length()) {
+ restFormula = null;
+ } else {
+ restFormula = restFormula.substring(i);
+ if (restFormula.charAt(0) == 0) {
+ return null;
+ }
+ }
+ }
+
+ return restFormula;
+ }
+
+ public void setValue(int type, String s) {
+ paused = false;
+ if (this.type == Cell.URL) {
+ updaterThread.run = false;
+ updaterThread = null;
+ }
+
+ valueString = s;
+ this.type = type;
+ needRedisplay = true;
+ switch (type) {
+ case Cell.VALUE:
+ setValue(Float.valueOf(s).floatValue());
+ break;
+ case Cell.LABEL:
+ printString = "l" + valueString;
+ break;
+ case Cell.URL:
+ printString = "u" + valueString;
+ updaterThread = new CellUpdater(this);
+ updaterThread.start();
+ break;
+ case Cell.FORMULA:
+ parseFormula(valueString, parseRoot = new Node());
+ printString = "f" + valueString;
+ break;
+ }
+ app.recalculate();
+ }
+
+ public String getValueString() {
+ return valueString;
+ }
+
+ public String getPrintString() {
+ return printString;
+ }
+
+ public void select() {
+ selected = true;
+ paused = true;
+ }
+
+ public void deselect() {
+ selected = false;
+ paused = false;
+ needRedisplay = true;
+ app.repaint();
+ }
+
+ public void paint(Graphics g, int x, int y) {
+ if (selected) {
+ g.setColor(highlightColor);
+ } else {
+ g.setColor(bgColor);
+ }
+ g.fillRect(x, y, width - 1, height);
+ if (valueString != null) {
+ switch (type) {
+ case Cell.VALUE:
+ case Cell.LABEL:
+ g.setColor(fgColor);
+ break;
+ case Cell.FORMULA:
+ g.setColor(Color.red);
+ break;
+ case Cell.URL:
+ g.setColor(Color.blue);
+ break;
+ }
+ if (transientValue) {
+ g.drawString("" + value, x, y + (height / 2) + 5);
+ } else {
+ if (valueString.length() > 14) {
+ g.drawString(valueString.substring(0, 14),
+ x, y + (height / 2) + 5);
+ } else {
+ g.drawString(valueString, x, y + (height / 2) + 5);
+ }
+ }
+ }
+ needRedisplay = false;
+ }
+}
+
+
+class Node {
+
+ public static final int OP = 0;
+ public static final int VALUE = 1;
+ public static final int CELL = 2;
+ int type;
+ Node left;
+ Node right;
+ int row;
+ int column;
+ float value;
+ char op;
+
+ public Node() {
+ left = null;
+ right = null;
+ value = 0;
+ row = -1;
+ column = -1;
+ op = 0;
+ type = Node.VALUE;
+ }
+
+ public Node(Node n) {
+ left = n.left;
+ right = n.right;
+ value = n.value;
+ row = n.row;
+ column = n.column;
+ op = n.op;
+ type = n.type;
+ }
+
+ public void indent(int ind) {
+ for (int i = 0; i < ind; i++) {
+ System.out.print(" ");
+ }
+ }
+
+ public void print(int indentLevel) {
+ char l[] = new char[1];
+ indent(indentLevel);
+ System.out.println("NODE type=" + type);
+ indent(indentLevel);
+ switch (type) {
+ case Node.VALUE:
+ System.out.println(" value=" + value);
+ break;
+ case Node.CELL:
+ l[0] = (char) ((int) 'A' + column);
+ System.out.println(" cell=" + new String(l) + (row + 1));
+ break;
+ case Node.OP:
+ System.out.println(" op=" + op);
+ left.print(indentLevel + 3);
+ right.print(indentLevel + 3);
+ break;
+ }
+ }
+}
+
+
+class InputField {
+
+ int maxchars = 50;
+ int cursorPos = 0;
+ Applet app;
+ String sval;
+ char buffer[];
+ int nChars;
+ int width;
+ int height;
+ Color bgColor;
+ Color fgColor;
+
+ public InputField(String initValue, Applet app, int width, int height,
+ Color bgColor, Color fgColor) {
+ this.width = width;
+ this.height = height;
+ this.bgColor = bgColor;
+ this.fgColor = fgColor;
+ this.app = app;
+ buffer = new char[maxchars];
+ nChars = 0;
+ if (initValue != null) {
+ initValue.getChars(0, initValue.length(), this.buffer, 0);
+ nChars = initValue.length();
+ }
+ sval = initValue;
+ }
+
+ public void setText(String val) {
+ int i;
+
+ for (i = 0; i < maxchars; i++) {
+ buffer[i] = 0;
+ }
+ if (val == null) {
+ sval = "";
+ } else {
+ sval = val;
+ }
+ nChars = sval.length();
+ sval.getChars(0, sval.length(), buffer, 0);
+ }
+
+ public String getValue() {
+ return sval;
+ }
+
+ public void paint(Graphics g, int x, int y) {
+ g.setColor(bgColor);
+ g.fillRect(x, y, width, height);
+ if (sval != null) {
+ g.setColor(fgColor);
+ g.drawString(sval, x, y + (height / 2) + 3);
+ }
+ }
+
+ public void processKey(KeyEvent e) {
+ char ch = e.getKeyChar();
+ switch (ch) {
+ case '\b': // delete
+ if (nChars > 0) {
+ nChars--;
+ sval = new String(buffer, 0, nChars);
+ }
+ break;
+ case '\n': // return
+ selected();
+ break;
+ default:
+ if (nChars < maxchars && ch >= '0') {
+ buffer[nChars++] = ch;
+ sval = new String(buffer, 0, nChars);
+ }
+ }
+ app.repaint();
+ }
+
+ public void keyReleased(KeyEvent e) {
+ }
+
+ public void selected() {
+ }
+}
+
+
+class SpreadSheetInput
+ extends InputField {
+
+ public SpreadSheetInput(String initValue,
+ SpreadSheet app,
+ int width,
+ int height,
+ Color bgColor,
+ Color fgColor) {
+ super(initValue, app, width, height, bgColor, fgColor);
+ }
+
+ @Override
+ public void selected() {
+ float f;
+ sval = ("".equals(sval)) ? "v" : sval;
+ switch (sval.charAt(0)) {
+ case 'v':
+ String s = sval.substring(1);
+ try {
+ int i;
+ for (i = 0; i < s.length(); i++) {
+ char c = s.charAt(i);
+ if (c < '0' || c > '9') {
+ break;
+ }
+ }
+ s = s.substring(0, i);
+ f = Float.valueOf(s).floatValue();
+ ((SpreadSheet) app).setCurrentValue(f);
+ } catch (NumberFormatException e) {
+ System.out.println("Not a float: '" + s + "'");
+ }
+ break;
+ case 'l':
+ ((SpreadSheet) app).setCurrentValue(Cell.LABEL,
+ sval.substring(1));
+ break;
+ case 'u':
+ ((SpreadSheet) app).setCurrentValue(Cell.URL, sval.substring(1));
+ break;
+ case 'f':
+ ((SpreadSheet) app).setCurrentValue(Cell.FORMULA,
+ sval.substring(1));
+ break;
+ }
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/SpreadSheetInput.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/SpreadSheetInput.class"
index cfc1912495367e6bc3a2a02d5e778e242512f733..2ec66fdb677898b2cd2fbe79a016f11d58925ea5 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/SpreadSheetInput.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/SpreadSheetInput.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/example1.html"
index 2b63d8097e9b3c06812858814aad86bdc0737c11..13134c8a536cf54fa43dc7a20198f0704fc9bf5d 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/SpreadSheet/example1.html"
@@ -1,3 +1,25 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:57adee094535d4603192e806798e85f057e33ec9f93575935cbc0a5dfa27c8cc
-size 754
+
+
+ SpreadSheet
+
+
+ SpreadSheet
+
+
+
+ The source.
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/TicTacToe$1.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/TicTacToe$1.class"
index 081a580cb03115cd73fd7f31fdb41da0241a0984..f4e72479c5083450a84d1cca8e7b92c0531a6602 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/TicTacToe$1.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/TicTacToe$1.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/TicTacToe.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/TicTacToe.class"
index 158dd2a930929071eb59e4e73020cad3249297f7..6ba6cddfceb26a43a0e83ffe525c8ced7f6531ee 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/TicTacToe.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/TicTacToe.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/TicTacToe.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/TicTacToe.java"
index 6459f7c746adfdfb9bf6116bf623ae63ba10e81f..517719ec8764cce599ac2016fa86022c6ce4eede 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/TicTacToe.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/TicTacToe.java"
@@ -1,3 +1,317 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a7c14e2da49fb3d4c884a9eddcf89ee115e1a508e6e64972552ec81854ebbdd8
-size 9584
+/*
+ *
+ * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+import java.applet.Applet;
+import java.awt.Color;
+import java.awt.Dimension;
+import java.awt.Graphics;
+import java.awt.Image;
+import java.awt.event.MouseEvent;
+import java.awt.event.MouseAdapter;
+
+
+/**
+ * A TicTacToe applet. A very simple, and mostly brain-dead
+ * implementation of your favorite game!
+ *
+ * In this game a position is represented by a white and black
+ * bitmask. A bit is set if a position is ocupied. There are
+ * 9 squares so there are 1<<9 possible positions for each
+ * side. An array of 1<<9 booleans is created, it marks
+ * all the winning positions.
+ *
+ * @author Arthur van Hoff
+ * @author 04/23/96 Jim Hagen : winning sounds
+ * @author 02/10/98 Mike McCloskey : added destroy()
+ */
+@SuppressWarnings("serial")
+public class TicTacToe extends Applet {
+
+ /**
+ * White's current position. The computer is white.
+ */
+ int white;
+ /**
+ * Black's current position. The user is black.
+ */
+ int black;
+ /**
+ * The squares in order of importance...
+ */
+ final static int moves[] = { 4, 0, 2, 6, 8, 1, 3, 5, 7 };
+ /**
+ * The winning positions.
+ */
+ static boolean won[] = new boolean[1 << 9];
+ static final int DONE = (1 << 9) - 1;
+ static final int OK = 0;
+ static final int WIN = 1;
+ static final int LOSE = 2;
+ static final int STALEMATE = 3;
+
+ /**
+ * Mark all positions with these bits set as winning.
+ */
+ static void isWon(int pos) {
+ for (int i = 0; i < DONE; i++) {
+ if ((i & pos) == pos) {
+ won[i] = true;
+ }
+ }
+ }
+
+ /**
+ * Initialize all winning positions.
+ */
+ static {
+ isWon((1 << 0) | (1 << 1) | (1 << 2));
+ isWon((1 << 3) | (1 << 4) | (1 << 5));
+ isWon((1 << 6) | (1 << 7) | (1 << 8));
+ isWon((1 << 0) | (1 << 3) | (1 << 6));
+ isWon((1 << 1) | (1 << 4) | (1 << 7));
+ isWon((1 << 2) | (1 << 5) | (1 << 8));
+ isWon((1 << 0) | (1 << 4) | (1 << 8));
+ isWon((1 << 2) | (1 << 4) | (1 << 6));
+ }
+
+ /**
+ * Compute the best move for white.
+ * @return the square to take
+ */
+ int bestMove(int white, int black) {
+ int bestmove = -1;
+
+ loop:
+ for (int i = 0; i < 9; i++) {
+ int mw = moves[i];
+ if (((white & (1 << mw)) == 0) && ((black & (1 << mw)) == 0)) {
+ int pw = white | (1 << mw);
+ if (won[pw]) {
+ // white wins, take it!
+ return mw;
+ }
+ for (int mb = 0; mb < 9; mb++) {
+ if (((pw & (1 << mb)) == 0) && ((black & (1 << mb)) == 0)) {
+ int pb = black | (1 << mb);
+ if (won[pb]) {
+ // black wins, take another
+ continue loop;
+ }
+ }
+ }
+ // Neither white nor black can win in one move, this will do.
+ if (bestmove == -1) {
+ bestmove = mw;
+ }
+ }
+ }
+ if (bestmove != -1) {
+ return bestmove;
+ }
+
+ // No move is totally satisfactory, try the first one that is open
+ for (int i = 0; i < 9; i++) {
+ int mw = moves[i];
+ if (((white & (1 << mw)) == 0) && ((black & (1 << mw)) == 0)) {
+ return mw;
+ }
+ }
+
+ // No more moves
+ return -1;
+ }
+
+ /**
+ * User move.
+ * @return true if legal
+ */
+ boolean yourMove(int m) {
+ if ((m < 0) || (m > 8)) {
+ return false;
+ }
+ if (((black | white) & (1 << m)) != 0) {
+ return false;
+ }
+ black |= 1 << m;
+ return true;
+ }
+
+ /**
+ * Computer move.
+ * @return true if legal
+ */
+ boolean myMove() {
+ if ((black | white) == DONE) {
+ return false;
+ }
+ int best = bestMove(white, black);
+ white |= 1 << best;
+ return true;
+ }
+
+ /**
+ * Figure what the status of the game is.
+ */
+ int status() {
+ if (won[white]) {
+ return WIN;
+ }
+ if (won[black]) {
+ return LOSE;
+ }
+ if ((black | white) == DONE) {
+ return STALEMATE;
+ }
+ return OK;
+ }
+ /**
+ * Who goes first in the next game?
+ */
+ boolean first = true;
+ /**
+ * The image for white.
+ */
+ Image notImage;
+ /**
+ * The image for black.
+ */
+ Image crossImage;
+
+ /**
+ * Initialize the applet. Resize and load images.
+ */
+ @Override
+ public void init() {
+ notImage = getImage(getCodeBase(), "images/not.gif");
+ crossImage = getImage(getCodeBase(), "images/cross.gif");
+
+ addMouseListener(new MouseAdapter() {
+
+ @Override
+ public void mouseReleased(MouseEvent e) {
+ TicTacToe.this.mouseReleased(e.getX(), e.getY());
+ }
+ });
+ }
+
+ /**
+ * Paint it.
+ */
+ @Override
+ public void paint(Graphics g) {
+ Dimension d = getSize();
+ g.setColor(Color.black);
+ int xoff = d.width / 3;
+ int yoff = d.height / 3;
+ g.drawLine(xoff, 0, xoff, d.height);
+ g.drawLine(2 * xoff, 0, 2 * xoff, d.height);
+ g.drawLine(0, yoff, d.width, yoff);
+ g.drawLine(0, 2 * yoff, d.width, 2 * yoff);
+
+ int i = 0;
+ for (int r = 0; r < 3; r++) {
+ for (int c = 0; c < 3; c++, i++) {
+ if ((white & (1 << i)) != 0) {
+ g.drawImage(notImage, c * xoff + 1, r * yoff + 1, this);
+ } else if ((black & (1 << i)) != 0) {
+ g.drawImage(crossImage, c * xoff + 1, r * yoff + 1, this);
+ }
+ }
+ }
+ }
+
+ /**
+ * The user has clicked in the applet. Figure out where
+ * and see if a legal move is possible. If it is a legal
+ * move, respond with a legal move (if possible).
+ */
+ public void mouseReleased(int x, int y) {
+ switch (status()) {
+ case WIN:
+ case LOSE:
+ case STALEMATE:
+ play(getCodeBase(), "audio/return.au");
+ white = black = 0;
+ if (first) {
+ white |= 1 << (int) (Math.random() * 9);
+ }
+ first = !first;
+ repaint();
+ return;
+ }
+
+ // Figure out the row/column
+ Dimension d = getSize();
+ int c = (x * 3) / d.width;
+ int r = (y * 3) / d.height;
+ if (yourMove(c + r * 3)) {
+ repaint();
+
+ switch (status()) {
+ case WIN:
+ play(getCodeBase(), "audio/yahoo1.au");
+ break;
+ case LOSE:
+ play(getCodeBase(), "audio/yahoo2.au");
+ break;
+ case STALEMATE:
+ break;
+ default:
+ if (myMove()) {
+ repaint();
+ switch (status()) {
+ case WIN:
+ play(getCodeBase(), "audio/yahoo1.au");
+ break;
+ case LOSE:
+ play(getCodeBase(), "audio/yahoo2.au");
+ break;
+ case STALEMATE:
+ break;
+ default:
+ play(getCodeBase(), "audio/ding.au");
+ }
+ } else {
+ play(getCodeBase(), "audio/beep.au");
+ }
+ }
+ } else {
+ play(getCodeBase(), "audio/beep.au");
+ }
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "TicTacToe by Arthur van Hoff";
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/beep.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/beep.au"
index a3b5f99c5c2f087e433d14bed00b209e4c351837..9f82f5cec421c463c72893b1d3fda1378051f3f8 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/beep.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/beep.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/ding.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/ding.au"
index 26d80c3e029e2186afb98abfb8dd84324aaddfbd..7552fe9704a29b639e968549159e17c1b786a038 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/ding.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/ding.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/return.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/return.au"
index 16dcab8b201371e23a7e104be1fc556d904b8ed5..15474e5f9d258e10abf6bce1d3c41ad7dccad20f 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/return.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/return.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/yahoo1.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/yahoo1.au"
index 41835e73a9729cbb648a7d6893d1595249541645..2f95a69e9cdf6e18d864b3cf65ac41a23cbec1ca 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/yahoo1.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/yahoo1.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/yahoo2.au" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/yahoo2.au"
index 48db3e8e83be4466d809bbe608e11f376f2ea4a5..88a2a93dae5a664670233b5bfe7e0bc44792ac61 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/yahoo2.au" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/audio/yahoo2.au" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/example1.html"
index 3adf2b190c318203a930594fd12ea00b8a2d95c9..af63ff03886dd9ac677f70e0da95f7e6a7c5a0bd 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/example1.html"
@@ -1,3 +1,15 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:ea2a8ac37d51453e9d90561137cf2f072d47e8d3b383b5084342c5122bdbdf6b
-size 424
+
+
+ TicTacToe v1.1
+
+
+ TicTacToe v1.1
+
+
+
+ The source.
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/images/cross.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/images/cross.gif"
index 4b4e4b26ce98afc090757ec19bc08f585ef4bc2a..ecaff95c965b2a4bdfb10a7728f6b8ae30fd88eb 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/images/cross.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/images/cross.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/images/not.gif" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/images/not.gif"
index 6121aee69648ee8c2e3f0a4592968d81917b2697..50af0d92e2d068833489b965b0d4994779e725b6 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/images/not.gif" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/TicTacToe/images/not.gif" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/Matrix3D.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/Matrix3D.java"
index 19ec9f61fcf3ca70cf6462d152a19e072130c487..e7afced493da2f08bf9e311844641cb3a2ea4d3d 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/Matrix3D.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/Matrix3D.java"
@@ -1,3 +1,248 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:09c6c4e7c4f5e343bf238ec6c0deea61b35e74e0034a5f3e7d49ba119c75d8b4
-size 7640
+/*
+ * Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+/** A fairly conventional 3D matrix object that can transform sets of
+3D points and perform a variety of manipulations on the transform */
+class Matrix3D {
+
+ float xx, xy, xz, xo;
+ float yx, yy, yz, yo;
+ float zx, zy, zz, zo;
+ static final double pi = 3.14159265;
+
+ /** Create a new unit matrix */
+ Matrix3D() {
+ xx = 1.0f;
+ yy = 1.0f;
+ zz = 1.0f;
+ }
+
+ /** Scale by f in all dimensions */
+ void scale(float f) {
+ xx *= f;
+ xy *= f;
+ xz *= f;
+ xo *= f;
+ yx *= f;
+ yy *= f;
+ yz *= f;
+ yo *= f;
+ zx *= f;
+ zy *= f;
+ zz *= f;
+ zo *= f;
+ }
+
+ /** Scale along each axis independently */
+ void scale(float xf, float yf, float zf) {
+ xx *= xf;
+ xy *= xf;
+ xz *= xf;
+ xo *= xf;
+ yx *= yf;
+ yy *= yf;
+ yz *= yf;
+ yo *= yf;
+ zx *= zf;
+ zy *= zf;
+ zz *= zf;
+ zo *= zf;
+ }
+
+ /** Translate the origin */
+ void translate(float x, float y, float z) {
+ xo += x;
+ yo += y;
+ zo += z;
+ }
+
+ /** rotate theta degrees about the y axis */
+ void yrot(double theta) {
+ theta *= (pi / 180);
+ double ct = Math.cos(theta);
+ double st = Math.sin(theta);
+
+ float Nxx = (float) (xx * ct + zx * st);
+ float Nxy = (float) (xy * ct + zy * st);
+ float Nxz = (float) (xz * ct + zz * st);
+ float Nxo = (float) (xo * ct + zo * st);
+
+ float Nzx = (float) (zx * ct - xx * st);
+ float Nzy = (float) (zy * ct - xy * st);
+ float Nzz = (float) (zz * ct - xz * st);
+ float Nzo = (float) (zo * ct - xo * st);
+
+ xo = Nxo;
+ xx = Nxx;
+ xy = Nxy;
+ xz = Nxz;
+ zo = Nzo;
+ zx = Nzx;
+ zy = Nzy;
+ zz = Nzz;
+ }
+
+ /** rotate theta degrees about the x axis */
+ void xrot(double theta) {
+ theta *= (pi / 180);
+ double ct = Math.cos(theta);
+ double st = Math.sin(theta);
+
+ float Nyx = (float) (yx * ct + zx * st);
+ float Nyy = (float) (yy * ct + zy * st);
+ float Nyz = (float) (yz * ct + zz * st);
+ float Nyo = (float) (yo * ct + zo * st);
+
+ float Nzx = (float) (zx * ct - yx * st);
+ float Nzy = (float) (zy * ct - yy * st);
+ float Nzz = (float) (zz * ct - yz * st);
+ float Nzo = (float) (zo * ct - yo * st);
+
+ yo = Nyo;
+ yx = Nyx;
+ yy = Nyy;
+ yz = Nyz;
+ zo = Nzo;
+ zx = Nzx;
+ zy = Nzy;
+ zz = Nzz;
+ }
+
+ /** rotate theta degrees about the z axis */
+ void zrot(double theta) {
+ theta *= (pi / 180);
+ double ct = Math.cos(theta);
+ double st = Math.sin(theta);
+
+ float Nyx = (float) (yx * ct + xx * st);
+ float Nyy = (float) (yy * ct + xy * st);
+ float Nyz = (float) (yz * ct + xz * st);
+ float Nyo = (float) (yo * ct + xo * st);
+
+ float Nxx = (float) (xx * ct - yx * st);
+ float Nxy = (float) (xy * ct - yy * st);
+ float Nxz = (float) (xz * ct - yz * st);
+ float Nxo = (float) (xo * ct - yo * st);
+
+ yo = Nyo;
+ yx = Nyx;
+ yy = Nyy;
+ yz = Nyz;
+ xo = Nxo;
+ xx = Nxx;
+ xy = Nxy;
+ xz = Nxz;
+ }
+
+ /** Multiply this matrix by a second: M = M*R */
+ void mult(Matrix3D rhs) {
+ float lxx = xx * rhs.xx + yx * rhs.xy + zx * rhs.xz;
+ float lxy = xy * rhs.xx + yy * rhs.xy + zy * rhs.xz;
+ float lxz = xz * rhs.xx + yz * rhs.xy + zz * rhs.xz;
+ float lxo = xo * rhs.xx + yo * rhs.xy + zo * rhs.xz + rhs.xo;
+
+ float lyx = xx * rhs.yx + yx * rhs.yy + zx * rhs.yz;
+ float lyy = xy * rhs.yx + yy * rhs.yy + zy * rhs.yz;
+ float lyz = xz * rhs.yx + yz * rhs.yy + zz * rhs.yz;
+ float lyo = xo * rhs.yx + yo * rhs.yy + zo * rhs.yz + rhs.yo;
+
+ float lzx = xx * rhs.zx + yx * rhs.zy + zx * rhs.zz;
+ float lzy = xy * rhs.zx + yy * rhs.zy + zy * rhs.zz;
+ float lzz = xz * rhs.zx + yz * rhs.zy + zz * rhs.zz;
+ float lzo = xo * rhs.zx + yo * rhs.zy + zo * rhs.zz + rhs.zo;
+
+ xx = lxx;
+ xy = lxy;
+ xz = lxz;
+ xo = lxo;
+
+ yx = lyx;
+ yy = lyy;
+ yz = lyz;
+ yo = lyo;
+
+ zx = lzx;
+ zy = lzy;
+ zz = lzz;
+ zo = lzo;
+ }
+
+ /** Reinitialize to the unit matrix */
+ void unit() {
+ xo = 0;
+ xx = 1;
+ xy = 0;
+ xz = 0;
+ yo = 0;
+ yx = 0;
+ yy = 1;
+ yz = 0;
+ zo = 0;
+ zx = 0;
+ zy = 0;
+ zz = 1;
+ }
+
+ /** Transform nvert points from v into tv. v contains the input
+ coordinates in floating point. Three successive entries in
+ the array constitute a point. tv ends up holding the transformed
+ points as integers; three successive entries per point */
+ void transform(float v[], int tv[], int nvert) {
+ float lxx = xx, lxy = xy, lxz = xz, lxo = xo;
+ float lyx = yx, lyy = yy, lyz = yz, lyo = yo;
+ float lzx = zx, lzy = zy, lzz = zz, lzo = zo;
+ for (int i = nvert * 3; (i -= 3) >= 0;) {
+ float x = v[i];
+ float y = v[i + 1];
+ float z = v[i + 2];
+ tv[i] = (int) (x * lxx + y * lxy + z * lxz + lxo);
+ tv[i + 1] = (int) (x * lyx + y * lyy + z * lyz + lyo);
+ tv[i + 2] = (int) (x * lzx + y * lzy + z * lzz + lzo);
+ }
+ }
+
+ @Override
+ public String toString() {
+ return ("[" + xo + "," + xx + "," + xy + "," + xz + ";"
+ + yo + "," + yx + "," + yy + "," + yz + ";"
+ + zo + "," + zx + "," + zy + "," + zz + "]");
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/ThreeD.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/ThreeD.java"
index 77c44a54dc59c4cc61cbf1c8bb8f0d3fdc70325c..f4bb345884859edbf8c517f00518082cbf6f1ec3 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/ThreeD.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/ThreeD.java"
@@ -1,3 +1,545 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0630e720bd485b6ffdda069d5c013a47f4afe8fa237a1656322c84c2272394d3
-size 16493
+/*
+ * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+/*
+ * This source code is provided to illustrate the usage of a given feature
+ * or technique and has been deliberately simplified. Additional steps
+ * required for a production-quality application, such as security checks,
+ * input validation and proper error handling, might not be present in
+ * this sample code.
+ */
+
+
+
+import java.applet.Applet;
+import java.awt.Graphics;
+import java.awt.Color;
+import java.awt.event.*;
+import java.io.*;
+import java.net.URL;
+
+
+/* A set of classes to parse, represent and display 3D wireframe models
+represented in Wavefront .obj format. */
+@SuppressWarnings("serial")
+class FileFormatException extends Exception {
+
+ public FileFormatException(String s) {
+ super(s);
+ }
+}
+
+
+/** The representation of a 3D model */
+final class Model3D {
+
+ float vert[];
+ int tvert[];
+ int nvert, maxvert;
+ int con[];
+ int ncon, maxcon;
+ boolean transformed;
+ Matrix3D mat;
+ float xmin, xmax, ymin, ymax, zmin, zmax;
+
+ Model3D() {
+ mat = new Matrix3D();
+ mat.xrot(20);
+ mat.yrot(30);
+ }
+
+ /** Create a 3D model by parsing an input stream */
+ Model3D(InputStream is) throws IOException, FileFormatException {
+ this();
+ StreamTokenizer st = new StreamTokenizer(
+ new BufferedReader(new InputStreamReader(is, "UTF-8")));
+ st.eolIsSignificant(true);
+ st.commentChar('#');
+ scan:
+ while (true) {
+ switch (st.nextToken()) {
+ default:
+ break scan;
+ case StreamTokenizer.TT_EOL:
+ break;
+ case StreamTokenizer.TT_WORD:
+ if ("v".equals(st.sval)) {
+ double x = 0, y = 0, z = 0;
+ if (st.nextToken() == StreamTokenizer.TT_NUMBER) {
+ x = st.nval;
+ if (st.nextToken() == StreamTokenizer.TT_NUMBER) {
+ y = st.nval;
+ if (st.nextToken() == StreamTokenizer.TT_NUMBER) {
+ z = st.nval;
+ }
+ }
+ }
+ addVert((float) x, (float) y, (float) z);
+ while (st.ttype != StreamTokenizer.TT_EOL && st.ttype
+ != StreamTokenizer.TT_EOF) {
+ st.nextToken();
+ }
+ } else if ("f".equals(st.sval) || "fo".equals(st.sval) || "l".
+ equals(st.sval)) {
+ int start = -1;
+ int prev = -1;
+ int n = -1;
+ while (true) {
+ if (st.nextToken() == StreamTokenizer.TT_NUMBER) {
+ n = (int) st.nval;
+ if (prev >= 0) {
+ add(prev - 1, n - 1);
+ }
+ if (start < 0) {
+ start = n;
+ }
+ prev = n;
+ } else if (st.ttype == '/') {
+ st.nextToken();
+ } else {
+ break;
+ }
+ }
+ if (start >= 0) {
+ add(start - 1, prev - 1);
+ }
+ if (st.ttype != StreamTokenizer.TT_EOL) {
+ break scan;
+ }
+ } else {
+ while (st.nextToken() != StreamTokenizer.TT_EOL
+ && st.ttype != StreamTokenizer.TT_EOF) {
+ // no-op
+ }
+ }
+ }
+ }
+ is.close();
+ if (st.ttype != StreamTokenizer.TT_EOF) {
+ throw new FileFormatException(st.toString());
+ }
+ }
+
+ /** Add a vertex to this model */
+ int addVert(float x, float y, float z) {
+ int i = nvert;
+ if (i >= maxvert) {
+ if (vert == null) {
+ maxvert = 100;
+ vert = new float[maxvert * 3];
+ } else {
+ maxvert *= 2;
+ float nv[] = new float[maxvert * 3];
+ System.arraycopy(vert, 0, nv, 0, vert.length);
+ vert = nv;
+ }
+ }
+ i *= 3;
+ vert[i] = x;
+ vert[i + 1] = y;
+ vert[i + 2] = z;
+ return nvert++;
+ }
+
+ /** Add a line from vertex p1 to vertex p2 */
+ void add(int p1, int p2) {
+ int i = ncon;
+ if (p1 >= nvert || p2 >= nvert) {
+ return;
+ }
+ if (i >= maxcon) {
+ if (con == null) {
+ maxcon = 100;
+ con = new int[maxcon];
+ } else {
+ maxcon *= 2;
+ int nv[] = new int[maxcon];
+ System.arraycopy(con, 0, nv, 0, con.length);
+ con = nv;
+ }
+ }
+ if (p1 > p2) {
+ int t = p1;
+ p1 = p2;
+ p2 = t;
+ }
+ con[i] = (p1 << 16) | p2;
+ ncon = i + 1;
+ }
+
+ /** Transform all the points in this model */
+ void transform() {
+ if (transformed || nvert <= 0) {
+ return;
+ }
+ if (tvert == null || tvert.length < nvert * 3) {
+ tvert = new int[nvert * 3];
+ }
+ mat.transform(vert, tvert, nvert);
+ transformed = true;
+ }
+
+ /* Quick Sort implementation
+ */
+ private void quickSort(int a[], int left, int right) {
+ int leftIndex = left;
+ int rightIndex = right;
+ int partionElement;
+ if (right > left) {
+
+ /* Arbitrarily establishing partition element as the midpoint of
+ * the array.
+ */
+ partionElement = a[(left + right) / 2];
+
+ // loop through the array until indices cross
+ while (leftIndex <= rightIndex) {
+ /* find the first element that is greater than or equal to
+ * the partionElement starting from the leftIndex.
+ */
+ while ((leftIndex < right) && (a[leftIndex] < partionElement)) {
+ ++leftIndex;
+ }
+
+ /* find an element that is smaller than or equal to
+ * the partionElement starting from the rightIndex.
+ */
+ while ((rightIndex > left) && (a[rightIndex] > partionElement)) {
+ --rightIndex;
+ }
+
+ // if the indexes have not crossed, swap
+ if (leftIndex <= rightIndex) {
+ swap(a, leftIndex, rightIndex);
+ ++leftIndex;
+ --rightIndex;
+ }
+ }
+
+ /* If the right index has not reached the left side of array
+ * must now sort the left partition.
+ */
+ if (left < rightIndex) {
+ quickSort(a, left, rightIndex);
+ }
+
+ /* If the left index has not reached the right side of array
+ * must now sort the right partition.
+ */
+ if (leftIndex < right) {
+ quickSort(a, leftIndex, right);
+ }
+
+ }
+ }
+
+ private void swap(int a[], int i, int j) {
+ int T;
+ T = a[i];
+ a[i] = a[j];
+ a[j] = T;
+ }
+
+ /** eliminate duplicate lines */
+ void compress() {
+ int limit = ncon;
+ int c[] = con;
+ quickSort(con, 0, ncon - 1);
+ int d = 0;
+ int pp1 = -1;
+ for (int i = 0; i < limit; i++) {
+ int p1 = c[i];
+ if (pp1 != p1) {
+ c[d] = p1;
+ d++;
+ }
+ pp1 = p1;
+ }
+ ncon = d;
+ }
+ static Color gr[];
+
+ /** Paint this model to a graphics context. It uses the matrix associated
+ with this model to map from model space to screen space.
+ The next version of the browser should have double buffering,
+ which will make this *much* nicer */
+ void paint(Graphics g) {
+ if (vert == null || nvert <= 0) {
+ return;
+ }
+ transform();
+ if (gr == null) {
+ gr = new Color[16];
+ for (int i = 0; i < 16; i++) {
+ int grey = (int) (170 * (1 - Math.pow(i / 15.0, 2.3)));
+ gr[i] = new Color(grey, grey, grey);
+ }
+ }
+ int lg = 0;
+ int lim = ncon;
+ int c[] = con;
+ int v[] = tvert;
+ if (lim <= 0 || nvert <= 0) {
+ return;
+ }
+ for (int i = 0; i < lim; i++) {
+ int T = c[i];
+ int p1 = ((T >> 16) & 0xFFFF) * 3;
+ int p2 = (T & 0xFFFF) * 3;
+ int grey = v[p1 + 2] + v[p2 + 2];
+ if (grey < 0) {
+ grey = 0;
+ }
+ if (grey > 15) {
+ grey = 15;
+ }
+ if (grey != lg) {
+ lg = grey;
+ g.setColor(gr[grey]);
+ }
+ g.drawLine(v[p1], v[p1 + 1],
+ v[p2], v[p2 + 1]);
+ }
+ }
+
+ /** Find the bounding box of this model */
+ void findBB() {
+ if (nvert <= 0) {
+ return;
+ }
+ float v[] = vert;
+ float _xmin = v[0], _xmax = _xmin;
+ float _ymin = v[1], _ymax = _ymin;
+ float _zmin = v[2], _zmax = _zmin;
+ for (int i = nvert * 3; (i -= 3) > 0;) {
+ float x = v[i];
+ if (x < _xmin) {
+ _xmin = x;
+ }
+ if (x > _xmax) {
+ _xmax = x;
+ }
+ float y = v[i + 1];
+ if (y < _ymin) {
+ _ymin = y;
+ }
+ if (y > _ymax) {
+ _ymax = y;
+ }
+ float z = v[i + 2];
+ if (z < _zmin) {
+ _zmin = z;
+ }
+ if (z > _zmax) {
+ _zmax = z;
+ }
+ }
+ this.xmax = _xmax;
+ this.xmin = _xmin;
+ this.ymax = _ymax;
+ this.ymin = _ymin;
+ this.zmax = _zmax;
+ this.zmin = _zmin;
+ }
+}
+
+
+/** An applet to put a 3D model into a page */
+@SuppressWarnings("serial")
+public class ThreeD extends Applet
+ implements Runnable, MouseListener, MouseMotionListener {
+
+ Model3D md;
+ boolean painted = true;
+ float xfac;
+ int prevx, prevy;
+ float scalefudge = 1;
+ Matrix3D amat = new Matrix3D(), tmat = new Matrix3D();
+ String mdname = null;
+ String message = null;
+
+ @Override
+ public void init() {
+ mdname = getParameter("model");
+ try {
+ scalefudge = Float.valueOf(getParameter("scale")).floatValue();
+ } catch (Exception ignored) {
+ // fall back to default scalefudge = 1
+ }
+ amat.yrot(20);
+ amat.xrot(20);
+ if (mdname == null) {
+ mdname = "model.obj";
+ }
+ resize(getSize().width <= 20 ? 400 : getSize().width,
+ getSize().height <= 20 ? 400 : getSize().height);
+ addMouseListener(this);
+ addMouseMotionListener(this);
+ }
+
+ @Override
+ public void destroy() {
+ removeMouseListener(this);
+ removeMouseMotionListener(this);
+ }
+
+ @Override
+ public void run() {
+ InputStream is = null;
+ try {
+ Thread.currentThread().setPriority(Thread.MIN_PRIORITY);
+ is = getClass().getResourceAsStream(mdname);
+ Model3D m = new Model3D(is);
+ md = m;
+ m.findBB();
+ m.compress();
+ float xw = m.xmax - m.xmin;
+ float yw = m.ymax - m.ymin;
+ float zw = m.zmax - m.zmin;
+ if (yw > xw) {
+ xw = yw;
+ }
+ if (zw > xw) {
+ xw = zw;
+ }
+ float f1 = getSize().width / xw;
+ float f2 = getSize().height / xw;
+ xfac = 0.7f * (f1 < f2 ? f1 : f2) * scalefudge;
+ } catch (Exception e) {
+ md = null;
+ message = e.toString();
+ }
+ try {
+ if (is != null) {
+ is.close();
+ }
+ } catch (Exception e) {
+ }
+ repaint();
+ }
+
+ @Override
+ public void start() {
+ if (md == null && message == null) {
+ new Thread(this).start();
+ }
+ }
+
+ @Override
+ public void stop() {
+ }
+
+ @Override
+ public void mouseClicked(MouseEvent e) {
+ }
+
+ @Override
+ public void mousePressed(MouseEvent e) {
+ prevx = e.getX();
+ prevy = e.getY();
+ e.consume();
+ }
+
+ @Override
+ public void mouseReleased(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseEntered(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseExited(MouseEvent e) {
+ }
+
+ @Override
+ public void mouseDragged(MouseEvent e) {
+ int x = e.getX();
+ int y = e.getY();
+
+ tmat.unit();
+ float xtheta = (prevy - y) * 360.0f / getSize().width;
+ float ytheta = (x - prevx) * 360.0f / getSize().height;
+ tmat.xrot(xtheta);
+ tmat.yrot(ytheta);
+ amat.mult(tmat);
+ if (painted) {
+ painted = false;
+ repaint();
+ }
+ prevx = x;
+ prevy = y;
+ e.consume();
+ }
+
+ @Override
+ public void mouseMoved(MouseEvent e) {
+ }
+
+ @Override
+ public void paint(Graphics g) {
+ if (md != null) {
+ md.mat.unit();
+ md.mat.translate(-(md.xmin + md.xmax) / 2,
+ -(md.ymin + md.ymax) / 2,
+ -(md.zmin + md.zmax) / 2);
+ md.mat.mult(amat);
+ md.mat.scale(xfac, -xfac, 16 * xfac / getSize().width);
+ md.mat.translate(getSize().width / 2, getSize().height / 2, 8);
+ md.transformed = false;
+ md.paint(g);
+ setPainted();
+ } else if (message != null) {
+ g.drawString("Error in model:", 3, 20);
+ g.drawString(message, 10, 40);
+ }
+ }
+
+ private synchronized void setPainted() {
+ painted = true;
+ notifyAll();
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "Title: ThreeD \nAuthor: James Gosling? \n"
+ + "An applet to put a 3D model into a page.";
+ }
+
+ @Override
+ public String[][] getParameterInfo() {
+ String[][] info = {
+ { "model", "path string", "The path to the model to be displayed." },
+ { "scale", "float", "The scale of the model. Default is 1." }
+ };
+ return info;
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/WireFrame.jar" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/WireFrame.jar"
index 0fbfe16c0e0b00167c09f58fff05cd7f4244f016..8f0390290bf4469ccac0690ad326805868f08827 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/WireFrame.jar" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/WireFrame.jar" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example1.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example1.html"
index c304573e9abef171a72bdcaf204d89585b447536..6cc9c552e323b65e190f3e5396004095207b4860 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example1.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example1.html"
@@ -1,3 +1,16 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:6a868bdf12d4c758ce135b7cb2d55912e75c5c0fde3ce7bed4365185f88af54c
-size 486
+
+
+ 3D Model: Cube
+
+
+ 3D Model: Cube
+
+
+
+ The source.
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example2.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example2.html"
index 10e563addc03967edf9c5d7c11e25f0d05fb1d8e..fb59eff3f827e01419f5ddad7e2cb7993bf8ff1c 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example2.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example2.html"
@@ -1,3 +1,16 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bc4874c5f8c3046c21d8efeff6cc12377ce2b11def11f7d4993c7acb9f425aa9
-size 500
+
+
+ 3D Model: Dinosaur
+
+
+ 3D Model: Dinosaur
+
+
+
+ The source.
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example3.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example3.html"
index 224956feb410b26e561711ab0a8846a767af2b35..4e4f5f186df1896f894fb1f13b8b63b20231a637 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example3.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example3.html"
@@ -1,3 +1,16 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:cee6839bcc3ca644e07285ab8ecdd4afb1fee095ebbcd1e59bbb63f8971f684c
-size 498
+
+
+ 3D Model: Hughes
+
+
+ 3D Model: Hughes
+
+
+
+ The source.
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example4.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example4.html"
index 95c553898185e9703f8399862487c4906408394b..664ee1eaa94224d6ce7c8b5578adc5c368b50636 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example4.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/example4.html"
@@ -1,3 +1,16 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:26ccbb1d5a2445fa46346447c45c67fd244803cc2c489d444781b45a55fba746
-size 491
+
+
+ 3D Model: knoxS
+
+
+ 3D Model: knoxS
+
+
+
+ The source.
+
+
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/src.zip" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/src.zip"
index c643125b769a608216aa01c2f48183ac83fb3132..75597e11e1b9ed0ed740cbf808bc056b05a745bc 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/src.zip" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/applets/applets/WireFrame/src.zip" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\226\260\345\273\272 \346\226\207\346\234\254\346\226\207\346\241\243.txt" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\226\260\345\273\272 \346\226\207\346\234\254\346\226\207\346\241\243.txt"
index a27668269d0a7a39f38f4e51958321e3c4a7eaf2..581201fe7d9b33b1eca825b40823c86340cf0769 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\226\260\345\273\272 \346\226\207\346\234\254\346\226\207\346\241\243.txt"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\226\260\345\273\272 \346\226\207\346\234\254\346\226\207\346\241\243.txt"
@@ -1,3 +1,4 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:83054199f6b3f795a4e03f43e0fb01ad2480272c1245599993d953ef19b0f786
-size 166
+appletviewer .\example1.html
+鍦ㄥ綋鍓嶅懡浠よ缁堢涓緭鍏ヤ互涓婃寚浠�
+鍙互鍦ㄤ笉鏀寔applet娴忚鍣ㄧ殑澶х幆澧冧笅
+浠嶆棫鍙互鐪嬭灏忕▼搴忕殑浣跨敤
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/TicTacToe$1.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/TicTacToe$1.class"
index 081a580cb03115cd73fd7f31fdb41da0241a0984..f4e72479c5083450a84d1cca8e7b92c0531a6602 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/TicTacToe$1.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/TicTacToe$1.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/TicTacToe.class" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/TicTacToe.class"
index 158dd2a930929071eb59e4e73020cad3249297f7..6ba6cddfceb26a43a0e83ffe525c8ced7f6531ee 100644
Binary files "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/TicTacToe.class" and "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/TicTacToe.class" differ
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/TicTacToe.java" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/TicTacToe.java"
index 6459f7c746adfdfb9bf6116bf623ae63ba10e81f..517719ec8764cce599ac2016fa86022c6ce4eede 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/TicTacToe.java"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/TicTacToe.java"
@@ -1,3 +1,317 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:a7c14e2da49fb3d4c884a9eddcf89ee115e1a508e6e64972552ec81854ebbdd8
-size 9584
+/*
+ *
+ * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * - Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * - Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * - Neither the name of Oracle nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
+ * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+ * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+
+import java.applet.Applet;
+import java.awt.Color;
+import java.awt.Dimension;
+import java.awt.Graphics;
+import java.awt.Image;
+import java.awt.event.MouseEvent;
+import java.awt.event.MouseAdapter;
+
+
+/**
+ * A TicTacToe applet. A very simple, and mostly brain-dead
+ * implementation of your favorite game!
+ *
+ * In this game a position is represented by a white and black
+ * bitmask. A bit is set if a position is ocupied. There are
+ * 9 squares so there are 1<<9 possible positions for each
+ * side. An array of 1<<9 booleans is created, it marks
+ * all the winning positions.
+ *
+ * @author Arthur van Hoff
+ * @author 04/23/96 Jim Hagen : winning sounds
+ * @author 02/10/98 Mike McCloskey : added destroy()
+ */
+@SuppressWarnings("serial")
+public class TicTacToe extends Applet {
+
+ /**
+ * White's current position. The computer is white.
+ */
+ int white;
+ /**
+ * Black's current position. The user is black.
+ */
+ int black;
+ /**
+ * The squares in order of importance...
+ */
+ final static int moves[] = { 4, 0, 2, 6, 8, 1, 3, 5, 7 };
+ /**
+ * The winning positions.
+ */
+ static boolean won[] = new boolean[1 << 9];
+ static final int DONE = (1 << 9) - 1;
+ static final int OK = 0;
+ static final int WIN = 1;
+ static final int LOSE = 2;
+ static final int STALEMATE = 3;
+
+ /**
+ * Mark all positions with these bits set as winning.
+ */
+ static void isWon(int pos) {
+ for (int i = 0; i < DONE; i++) {
+ if ((i & pos) == pos) {
+ won[i] = true;
+ }
+ }
+ }
+
+ /**
+ * Initialize all winning positions.
+ */
+ static {
+ isWon((1 << 0) | (1 << 1) | (1 << 2));
+ isWon((1 << 3) | (1 << 4) | (1 << 5));
+ isWon((1 << 6) | (1 << 7) | (1 << 8));
+ isWon((1 << 0) | (1 << 3) | (1 << 6));
+ isWon((1 << 1) | (1 << 4) | (1 << 7));
+ isWon((1 << 2) | (1 << 5) | (1 << 8));
+ isWon((1 << 0) | (1 << 4) | (1 << 8));
+ isWon((1 << 2) | (1 << 4) | (1 << 6));
+ }
+
+ /**
+ * Compute the best move for white.
+ * @return the square to take
+ */
+ int bestMove(int white, int black) {
+ int bestmove = -1;
+
+ loop:
+ for (int i = 0; i < 9; i++) {
+ int mw = moves[i];
+ if (((white & (1 << mw)) == 0) && ((black & (1 << mw)) == 0)) {
+ int pw = white | (1 << mw);
+ if (won[pw]) {
+ // white wins, take it!
+ return mw;
+ }
+ for (int mb = 0; mb < 9; mb++) {
+ if (((pw & (1 << mb)) == 0) && ((black & (1 << mb)) == 0)) {
+ int pb = black | (1 << mb);
+ if (won[pb]) {
+ // black wins, take another
+ continue loop;
+ }
+ }
+ }
+ // Neither white nor black can win in one move, this will do.
+ if (bestmove == -1) {
+ bestmove = mw;
+ }
+ }
+ }
+ if (bestmove != -1) {
+ return bestmove;
+ }
+
+ // No move is totally satisfactory, try the first one that is open
+ for (int i = 0; i < 9; i++) {
+ int mw = moves[i];
+ if (((white & (1 << mw)) == 0) && ((black & (1 << mw)) == 0)) {
+ return mw;
+ }
+ }
+
+ // No more moves
+ return -1;
+ }
+
+ /**
+ * User move.
+ * @return true if legal
+ */
+ boolean yourMove(int m) {
+ if ((m < 0) || (m > 8)) {
+ return false;
+ }
+ if (((black | white) & (1 << m)) != 0) {
+ return false;
+ }
+ black |= 1 << m;
+ return true;
+ }
+
+ /**
+ * Computer move.
+ * @return true if legal
+ */
+ boolean myMove() {
+ if ((black | white) == DONE) {
+ return false;
+ }
+ int best = bestMove(white, black);
+ white |= 1 << best;
+ return true;
+ }
+
+ /**
+ * Figure what the status of the game is.
+ */
+ int status() {
+ if (won[white]) {
+ return WIN;
+ }
+ if (won[black]) {
+ return LOSE;
+ }
+ if ((black | white) == DONE) {
+ return STALEMATE;
+ }
+ return OK;
+ }
+ /**
+ * Who goes first in the next game?
+ */
+ boolean first = true;
+ /**
+ * The image for white.
+ */
+ Image notImage;
+ /**
+ * The image for black.
+ */
+ Image crossImage;
+
+ /**
+ * Initialize the applet. Resize and load images.
+ */
+ @Override
+ public void init() {
+ notImage = getImage(getCodeBase(), "images/not.gif");
+ crossImage = getImage(getCodeBase(), "images/cross.gif");
+
+ addMouseListener(new MouseAdapter() {
+
+ @Override
+ public void mouseReleased(MouseEvent e) {
+ TicTacToe.this.mouseReleased(e.getX(), e.getY());
+ }
+ });
+ }
+
+ /**
+ * Paint it.
+ */
+ @Override
+ public void paint(Graphics g) {
+ Dimension d = getSize();
+ g.setColor(Color.black);
+ int xoff = d.width / 3;
+ int yoff = d.height / 3;
+ g.drawLine(xoff, 0, xoff, d.height);
+ g.drawLine(2 * xoff, 0, 2 * xoff, d.height);
+ g.drawLine(0, yoff, d.width, yoff);
+ g.drawLine(0, 2 * yoff, d.width, 2 * yoff);
+
+ int i = 0;
+ for (int r = 0; r < 3; r++) {
+ for (int c = 0; c < 3; c++, i++) {
+ if ((white & (1 << i)) != 0) {
+ g.drawImage(notImage, c * xoff + 1, r * yoff + 1, this);
+ } else if ((black & (1 << i)) != 0) {
+ g.drawImage(crossImage, c * xoff + 1, r * yoff + 1, this);
+ }
+ }
+ }
+ }
+
+ /**
+ * The user has clicked in the applet. Figure out where
+ * and see if a legal move is possible. If it is a legal
+ * move, respond with a legal move (if possible).
+ */
+ public void mouseReleased(int x, int y) {
+ switch (status()) {
+ case WIN:
+ case LOSE:
+ case STALEMATE:
+ play(getCodeBase(), "audio/return.au");
+ white = black = 0;
+ if (first) {
+ white |= 1 << (int) (Math.random() * 9);
+ }
+ first = !first;
+ repaint();
+ return;
+ }
+
+ // Figure out the row/column
+ Dimension d = getSize();
+ int c = (x * 3) / d.width;
+ int r = (y * 3) / d.height;
+ if (yourMove(c + r * 3)) {
+ repaint();
+
+ switch (status()) {
+ case WIN:
+ play(getCodeBase(), "audio/yahoo1.au");
+ break;
+ case LOSE:
+ play(getCodeBase(), "audio/yahoo2.au");
+ break;
+ case STALEMATE:
+ break;
+ default:
+ if (myMove()) {
+ repaint();
+ switch (status()) {
+ case WIN:
+ play(getCodeBase(), "audio/yahoo1.au");
+ break;
+ case LOSE:
+ play(getCodeBase(), "audio/yahoo2.au");
+ break;
+ case STALEMATE:
+ break;
+ default:
+ play(getCodeBase(), "audio/ding.au");
+ }
+ } else {
+ play(getCodeBase(), "audio/beep.au");
+ }
+ }
+ } else {
+ play(getCodeBase(), "audio/beep.au");
+ }
+ }
+
+ @Override
+ public String getAppletInfo() {
+ return "TicTacToe by Arthur van Hoff";
+ }
+}
diff --git "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/tictactoe.html" "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/tictactoe.html"
index c53f745ef8e23e93c670df5abaa6cd679302d0fe..430b7837c969f4c2928702848c8575a8649342f9 100644
--- "a/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/tictactoe.html"
+++ "b/Java\345\274\200\345\217\221\350\256\241\345\210\222/\346\270\270\346\210\217\344\270\200\345\217\267/tictactoe.html"
@@ -1,3 +1,10 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1975cefcbd95008c1c66c72ca56fe31f686bea85a3b59f8dc6276671b4013224
-size 217
+
+
+ 浜曞瓧妫嬪皬绋嬪簭
+
+
+
+
+
diff --git "a/Java\347\250\213\345\272\217\345\221\230\345\277\205\344\274\232\347\232\204Linux/java\347\250\213\345\272\217\345\221\230\345\277\205\344\274\232\347\232\204Linux(2022)-\350\257\276\347\250\213\344\273\213\347\273\215-\350\256\262\345\270\210\344\273\213\347\273\215\343\200\220\347\221\236\345\256\242\350\256\272\345\235\233\357\274\232www.ruike1.com\343\200\221.docx" "b/Java\347\250\213\345\272\217\345\221\230\345\277\205\344\274\232\347\232\204Linux/java\347\250\213\345\272\217\345\221\230\345\277\205\344\274\232\347\232\204Linux(2022)-\350\257\276\347\250\213\344\273\213\347\273\215-\350\256\262\345\270\210\344\273\213\347\273\215\343\200\220\347\221\236\345\256\242\350\256\272\345\235\233\357\274\232www.ruike1.com\343\200\221.docx"
index 63ad3bbeb1d4bd7e9dd3b189f93b24e5ae468786..1df7ce26bd89beffd9b95aac951d0725a2f3e822 100644
Binary files "a/Java\347\250\213\345\272\217\345\221\230\345\277\205\344\274\232\347\232\204Linux/java\347\250\213\345\272\217\345\221\230\345\277\205\344\274\232\347\232\204Linux(2022)-\350\257\276\347\250\213\344\273\213\347\273\215-\350\256\262\345\270\210\344\273\213\347\273\215\343\200\220\347\221\236\345\256\242\350\256\272\345\235\233\357\274\232www.ruike1.com\343\200\221.docx" and "b/Java\347\250\213\345\272\217\345\221\230\345\277\205\344\274\232\347\232\204Linux/java\347\250\213\345\272\217\345\221\230\345\277\205\344\274\232\347\232\204Linux(2022)-\350\257\276\347\250\213\344\273\213\347\273\215-\350\256\262\345\270\210\344\273\213\347\273\215\343\200\220\347\221\236\345\256\242\350\256\272\345\235\233\357\274\232www.ruike1.com\343\200\221.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0000\346\265\213\350\257\225\347\211\210/Main.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0000\346\265\213\350\257\225\347\211\210/Main.class"
index 542342cd167d8c616b4d76ca05a8e3fe2586bbce..0eb4f2814e2d3756ce355a76631c66901bf933d4 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0000\346\265\213\350\257\225\347\211\210/Main.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0000\346\265\213\350\257\225\347\211\210/Main.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0000\346\265\213\350\257\225\347\211\210/Main.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0000\346\265\213\350\257\225\347\211\210/Main.java"
index 52df4f83d93e9e2394a999fbed6d326e237677e7..834f2ac36dc894fb65972f6bf3557bbf9fb4c620 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0000\346\265\213\350\257\225\347\211\210/Main.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0000\346\265\213\350\257\225\347\211\210/Main.java"
@@ -1,3 +1,15 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:9e9db903272631cab3b9f0c3171ccc35acd335b504935f3d366a31fc9e71d214
-size 430
+public class Main {
+ public static void main(String[] args) {
+ int n = 5; // 示例:计算5的阶乘
+ long result = factorial(n); // 调用递归方法
+ System.out.println(n + "! = " + result); // 输出结果
+ }
+
+ public static long factorial(int n) {
+ if (n == 0) {
+ return 1; // 递归终止条件
+ } else {
+ return n * factorial(n - 1); // 递归调用
+ }
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0000\346\265\213\350\257\225\347\211\210/Main.java.bak" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0000\346\265\213\350\257\225\347\211\210/Main.java.bak"
index 9333f44374b2a1d140573734bf5aca2fd08263a2..fc39676f7537d602f5b748f1445cb4cf793a76a1 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0000\346\265\213\350\257\225\347\211\210/Main.java.bak"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0000\346\265\213\350\257\225\347\211\210/Main.java.bak"
@@ -1,3 +1,15 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:837eb397e3d719d1b5a1a054b0baa7386672b1a3e3b80aab6ec293267a422665
-size 435
+public class Factorial {
+ public static void main(String[] args) {
+ int n = 5; // 示例:计算5的阶乘
+ long result = factorial(n); // 调用递归方法
+ System.out.println(n + "! = " + result); // 输出结果
+ }
+
+ public static long factorial(int n) {
+ if (n == 0) {
+ return 1; // 递归终止条件
+ } else {
+ return n * factorial(n - 1); // 递归调用
+ }
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0001Java\350\257\255\350\250\200\345\217\221\345\261\225\345\216\206\345\217\262/0001Java\350\257\255\350\250\200\345\217\221\345\261\225\345\216\206\345\217\262.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0001Java\350\257\255\350\250\200\345\217\221\345\261\225\345\216\206\345\217\262/0001Java\350\257\255\350\250\200\345\217\221\345\261\225\345\216\206\345\217\262.docx"
index 9f18fc7bf8a399bfb3329f9b942f6927c4175079..cf8b02d66ff29177c4fedcadb1e7c8e1661ea607 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0001Java\350\257\255\350\250\200\345\217\221\345\261\225\345\216\206\345\217\262/0001Java\350\257\255\350\250\200\345\217\221\345\261\225\345\216\206\345\217\262.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0001Java\350\257\255\350\250\200\345\217\221\345\261\225\345\216\206\345\217\262/0001Java\350\257\255\350\250\200\345\217\221\345\261\225\345\216\206\345\217\262.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0002Java\350\257\255\350\250\200\347\232\204\347\211\271\347\202\271/0002Java\350\257\255\350\250\200\347\232\204\347\211\271\347\202\271.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0002Java\350\257\255\350\250\200\347\232\204\347\211\271\347\202\271/0002Java\350\257\255\350\250\200\347\232\204\347\211\271\347\202\271.docx"
index 7e20b77fa53f86cc11032f49da94b64ccad1013d..21a1030ae696eef4afab391d24833a32150f1e15 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0002Java\350\257\255\350\250\200\347\232\204\347\211\271\347\202\271/0002Java\350\257\255\350\250\200\347\232\204\347\211\271\347\202\271.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0002Java\350\257\255\350\250\200\347\232\204\347\211\271\347\202\271/0002Java\350\257\255\350\250\200\347\232\204\347\211\271\347\202\271.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0003HelloJava/HelloJava.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0003HelloJava/HelloJava.class"
index f007f1048f3faa9ca5745bc583f235cb316e84cc..4fb4f2cd5f06c0815c87c36d12e0fd87c7f0e925 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0003HelloJava/HelloJava.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0003HelloJava/HelloJava.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0003HelloJava/HelloJava.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0003HelloJava/HelloJava.java"
index ab7df7b8274a96c80f8da91aa23d169d42a3dc96..d612254093ec159f0ef6a17f658db3fd705f25da 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0003HelloJava/HelloJava.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0003HelloJava/HelloJava.java"
@@ -1,3 +1,7 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1f70493cf87b03baf30f8001794dbe1a4cda27d0ef11e4d6c0b04e9be0c0c52c
-size 112
+class HelloJava
+{
+ public static void main(String[] args)
+ {
+ System.out.println("Hello World!");
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/Factorial.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/Factorial.class"
index 50beaf5b3cb10b4833a7ae65ec2df8dfa3d70d1e..6f79088453d203d7cb9193f075639773acf7b347 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/Factorial.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/Factorial.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/Factorial.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/Factorial.java"
index 8320467951f5e34645612c0f00c3ee34c5ab5ca5..48d505625dff65b4b8ba469bf7c791c737001b71 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/Factorial.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/Factorial.java"
@@ -1,3 +1,18 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:084cf2154f8b274ca2344de757537b0d402123376daa451198952dc69e4e1a34
-size 326
+public class Factorial
+{
+ public static long factorial(int n){
+ if(n==0){
+ return 1;
+ }else{
+ return n * factorial(n - 1);
+ }
+ }
+
+ public static void main (String[] args){
+ int[] numbers = {2,4,6,10};
+ for(int num : numbers){
+ System.out.println(num + "鐨勯樁涔樹负锛�" + factorial(num));
+ }
+ }
+
+}
\ No newline at end of file
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/Factorial.java.bak" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/Factorial.java.bak"
index f01ac8f2a0ad32036f863f185c5ff96e73af6eb8..a30f4fd0d9ee09164e2b14f1afbe42bf37e38034 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/Factorial.java.bak"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/Factorial.java.bak"
@@ -1,3 +1,7 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7aa19ca422c2fcbd62dcc475fced839bee2dcf39d9803a0daee747850055e79a
-size 104
+class
+{
+ public static void main(String[] args)
+ {
+ System.out.println("Hello World!");
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/\350\257\264\346\230\216\346\214\207\345\257\274\357\274\210\345\205\210\347\234\213\357\274\211.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/\350\257\264\346\230\216\346\214\207\345\257\274\357\274\210\345\205\210\347\234\213\357\274\211.docx"
index 3351698980229853fcf8cbb21fc7cb914c433334..bb8e3cafd42cc61686f8311956f5c942143aa211 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/\350\257\264\346\230\216\346\214\207\345\257\274\357\274\210\345\205\210\347\234\213\357\274\211.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0004N\347\232\204\351\230\266\344\271\230/\350\257\264\346\230\216\346\214\207\345\257\274\357\274\210\345\205\210\347\234\213\357\274\211.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MInMax.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MInMax.java"
index 402f72e9b21c72a3943b1cca27cdfca331504bb1..c4322d788cfda98c711118c64ecb2c7b6e699889 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MInMax.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MInMax.java"
@@ -1,3 +1,25 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0b9e90904a19a1e1cc472a586c4645f42f725b731b492558b366cbb1ef329d13
-size 761
+import java.util.Scanner;
+
+public class MinMax {
+ public static void main(String args[]) {
+ // 鍒涘缓Scanner瀵硅薄锛岀敤浜庢帴鍙楃敤鎴疯緭鍏�
+ Scanner scanner = new Scanner(System.in);
+
+ // 鎻愮ず鐢ㄦ埛杈撳叆涓変釜鏁存暟
+ System.out.println("璇疯緭鍏ヤ笁涓暣鏁帮細");
+ int x = scanner.nextInt();
+ int y = scanner.nextInt();
+ int z = scanner.nextInt();
+
+ // 鍏抽棴Scanner瀵硅薄
+ scanner.close();
+
+ // 璁$畻鏈�澶у�煎拰鏈�灏忓��
+ int max = Math.max(x, Math.max(y, z));
+ int min = Math.min(x, Math.min(y, z));
+
+ // 杈撳嚭缁撴灉
+ System.out.println("鏈�澶у�间负锛�" + max);
+ System.out.println("鏈�灏忓�间负锛�" + min);
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MInMax.java.bak" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MInMax.java.bak"
index 2216934c2d3ab1e7f05499167dcd0cf653754534..7f4377ea8b74878529e32124de18ecd20f3182f3 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MInMax.java.bak"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MInMax.java.bak"
@@ -1,3 +1,25 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:9be5660d784d5bde98041a447c40b6bf709a6138f9df4312d3fcbf4b10bee2a1
-size 761
+import java.util.Scanner;
+
+public class MinMax {
+ public static void main(String[] args) {
+ // 鍒涘缓Scanner瀵硅薄锛岀敤浜庢帴鍙楃敤鎴疯緭鍏�
+ Scanner scanner = new Scanner(System.in);
+
+ // 鎻愮ず鐢ㄦ埛杈撳叆涓変釜鏁存暟
+ System.out.println("璇疯緭鍏ヤ笁涓暣鏁帮細");
+ int x = scanner.nextInt();
+ int y = scanner.nextInt();
+ int z = scanner.nextInt();
+
+ // 鍏抽棴Scanner瀵硅薄
+ scanner.close();
+
+ // 璁$畻鏈�澶у�煎拰鏈�灏忓��
+ int max = Math.max(x, Math.max(y, z));
+ int min = Math.min(x, Math.min(y, z));
+
+ // 杈撳嚭缁撴灉
+ System.out.println("鏈�澶у�间负锛�" + max);
+ System.out.println("鏈�灏忓�间负锛�" + min);
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MinMax.bak" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MinMax.bak"
index f01ac8f2a0ad32036f863f185c5ff96e73af6eb8..a30f4fd0d9ee09164e2b14f1afbe42bf37e38034 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MinMax.bak"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MinMax.bak"
@@ -1,3 +1,7 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7aa19ca422c2fcbd62dcc475fced839bee2dcf39d9803a0daee747850055e79a
-size 104
+class
+{
+ public static void main(String[] args)
+ {
+ System.out.println("Hello World!");
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MinMax.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MinMax.class"
index 758a2fe5426b9e2ee46c543bc1a43b594de3753a..f62241f27509b63a34948ef31ab7928f26f12fb5 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MinMax.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/MinMax.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/\345\276\252\347\216\257\345\257\273\346\211\276.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/\345\276\252\347\216\257\345\257\273\346\211\276.docx"
index 8ce510e298b6fec6c10f27b3dfa46c3866e569d1..1add56774ed7593b9f6e12504e7355149889afa0 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/\345\276\252\347\216\257\345\257\273\346\211\276.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/\345\276\252\347\216\257\345\257\273\346\211\276.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/\350\257\264\346\230\216\346\226\207\346\241\243\357\274\210\345\277\205\347\234\213\357\274\211 .docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/\350\257\264\346\230\216\346\226\207\346\241\243\357\274\210\345\277\205\347\234\213\357\274\211 .docx"
index 05b6789bc585b36430f6212e3d33a2d14f6cc279..2b7b4be247d1d98e33f3ef033ddb840f023231b5 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/\350\257\264\346\230\216\346\226\207\346\241\243\357\274\210\345\277\205\347\234\213\357\274\211 .docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0005\346\211\276\345\210\260\344\270\211\344\270\252\346\225\260\344\270\255\347\232\204\346\234\200\345\244\247\346\225\260/\350\257\264\346\230\216\346\226\207\346\241\243\357\274\210\345\277\205\347\234\213\357\274\211 .docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0006\347\231\276\344\273\245\345\206\205\347\264\240\346\225\260/PrimeNumbers.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0006\347\231\276\344\273\245\345\206\205\347\264\240\346\225\260/PrimeNumbers.class"
index 89f011d89819b4188c3fb6f4aa89a086ca5105af..9a7b66808a9195361626949eb74f933a1607aae2 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0006\347\231\276\344\273\245\345\206\205\347\264\240\346\225\260/PrimeNumbers.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0006\347\231\276\344\273\245\345\206\205\347\264\240\346\225\260/PrimeNumbers.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0006\347\231\276\344\273\245\345\206\205\347\264\240\346\225\260/PrimeNumbers.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0006\347\231\276\344\273\245\345\206\205\347\264\240\346\225\260/PrimeNumbers.java"
index 78ee20b3ca792270a363793828278fd0f69c0abb..bcc115ed14e0848d66ad01078977c0ef6b1c5825 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0006\347\231\276\344\273\245\345\206\205\347\264\240\346\225\260/PrimeNumbers.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0006\347\231\276\344\273\245\345\206\205\347\264\240\346\225\260/PrimeNumbers.java"
@@ -1,3 +1,27 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:65d890ba931ffb837cf04d39a9a71c763c78ae8252fa94b6f2d00cd4af83fb9f
-size 701
+public class PrimeNumbers {
+ public static void main(String[] args) {
+ int count = 0;
+ for (int i = 2; i <= 100; i++) {
+ if (isPrime(i)) {
+ System.out.print(i + " ");
+ count++;
+ if (count % 5 == 0) {
+ System.out.println();
+ }
+ }
+ }
+ }
+
+ // Function to check if a number is prime
+ public static boolean isPrime(int n) {
+ if (n <= 1) {
+ return false;
+ }
+ for (int i = 2; i <= Math.sqrt(n); i++) {
+ if (n % i == 0) {
+ return false;
+ }
+ }
+ return true;
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0007\351\232\217\346\234\272\346\225\264\346\225\260/RandomNumbers.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0007\351\232\217\346\234\272\346\225\264\346\225\260/RandomNumbers.class"
index e920d4b5ec827614fe597747b6fe67a39112e1a8..ef504ed4d9e710fe89a0fc64aaf89cf669a4eeb5 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0007\351\232\217\346\234\272\346\225\264\346\225\260/RandomNumbers.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0007\351\232\217\346\234\272\346\225\264\346\225\260/RandomNumbers.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0007\351\232\217\346\234\272\346\225\264\346\225\260/RandomNumbers.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0007\351\232\217\346\234\272\346\225\264\346\225\260/RandomNumbers.java"
index b3e9be79fa394d1527d0e8b6c9fd3a1f264712d4..eb93aff17d463185a4e29161cd342879b968dac1 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0007\351\232\217\346\234\272\346\225\264\346\225\260/RandomNumbers.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0007\351\232\217\346\234\272\346\225\264\346\225\260/RandomNumbers.java"
@@ -1,3 +1,34 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:81337307acd7000f40d13bb542ca96bc18599bf6f494689b2995235a13d5ad80
-size 651
+import java.util.Random;
+
+public class RandomNumbers
+{
+ public static void main(String[] args){
+ Random rand = new Random();
+ int min = 99;//鍒濆鍖栦负涓�涓ぇ鍊�
+ int max = 0;//鍒濆鍖栦负涓�涓皬鍊�
+ int countAbove50 = 0;
+
+ for (int i = 0; i < 100 ; i++ )
+ {
+ int num = rand.nextInt(100);//鐢熸垚0~99鐨勬暣鏁�
+ if (num < min)
+ {
+ min=num;
+ }
+ if (num > max)
+ {
+ max = num;
+ }
+ if (num > 50)
+ {
+ countAbove50++;
+ }
+ }
+ System.out.println("鏈�灏忓��" + min);
+ System.out.println("鏈�澶у��" + max);
+ System.out.println("澶т簬50鐨勬暣鏁颁釜鏁帮細" + countAbove50);
+ }
+
+
+}
+
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0007\351\232\217\346\234\272\346\225\264\346\225\260/RandomNumbers.java.bak" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0007\351\232\217\346\234\272\346\225\264\346\225\260/RandomNumbers.java.bak"
index ef8b9600456646058361537573f249b2c8252cd9..b4e87980089223b99e000d415b5e5081b6a8a29e 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0007\351\232\217\346\234\272\346\225\264\346\225\260/RandomNumbers.java.bak"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0007\351\232\217\346\234\272\346\225\264\346\225\260/RandomNumbers.java.bak"
@@ -1,3 +1,34 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3e17ced91c77376fab3ca8ebcc77131a3b97fefbaad81cde853f00952c5a1401
-size 650
+import java.util.Random
+
+public class RandomNumbers
+{
+ public static void main(String[] args){
+ Random rand = new Random();
+ int min = 99;//鍒濆鍖栦负涓�涓ぇ鍊�
+ int max = 0;//鍒濆鍖栦负涓�涓皬鍊�
+ int countAbove50 = 0;
+
+ for (int i = 0; i < 100 ; i++ )
+ {
+ int num = rand.nextInt(100);//鐢熸垚0~99鐨勬暣鏁�
+ if (num < min)
+ {
+ min=num;
+ }
+ if (num > max)
+ {
+ max = num;
+ }
+ if (num > 50)
+ {
+ countAbove50++;
+ }
+ }
+ System.out.println("鏈�灏忓��" + min);
+ System.out.println("鏈�澶у��" + max);
+ System.out.println("澶т簬50鐨勬暣鏁颁釜鏁帮細" + countAbove50);
+ }
+
+
+}
+
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/GCD_LCM.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/GCD_LCM.class"
index 91e213acabaad4753c349399db55de6f998d3a1b..d1dc13788c0dd50f7d041cbe9e200312a9b12319 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/GCD_LCM.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/GCD_LCM.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/GCD_LCM.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/GCD_LCM.java"
index bbc88d7e4ed2c25a444fcfb0404c3c8178f2565f..ef41fed94fb576d94a501dd637ded5a09e046f1b 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/GCD_LCM.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/GCD_LCM.java"
@@ -1,3 +1,34 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:43e4161d4e2fff15ddb4f351e8a36798cb0c377f942764ad6f9f248226feebe5
-size 872
+import java.util.Scanner;
+
+public class GCD_LCM{
+ public static void main (String[] args){
+ Scanner scan = new Scanner(System.in);
+
+ //浠庨敭鐩樹笂杈撳叆涓や釜鏁�
+ System.out.println("璇疯緭鍏ョ涓�涓暣鏁帮細");
+ int num1 = scan.nextInt();//Scanner绫荤殑涓�涓疄渚媠can
+ System.out.println("璇疯緭鍏ョ浜屼釜鏁存暟锛�");
+ int num2 = scan.nextInt();
+
+ int gcd = GCD(num1,num2);
+ int lcm = LCM(num1,num2);
+
+ System.out.println("鏈�澶у叕绾︽暟鏄細" + gcd);
+ System.out.println("鏈�灏忓叕鍊嶆暟鏄細" + lcm);
+
+ scan.close();
+ }
+ //杈楄浆鐩搁櫎
+ public static int GCD(int a, int b) {
+ if (b == 0) {
+ return a;
+ } else {
+ return GCD(b, a % b);
+ }
+ }
+
+ // 璁$畻鏈�灏忓叕鍊嶆暟鐨勬柟娉�
+ public static int LCM(int a, int b) {
+ return (a * b) / GCD(a, b);
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/GCD_LCM.java.bak" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/GCD_LCM.java.bak"
index 3838c4efaad1c52c90b4842df42e1d62456f145a..01115daa1c49d37f3ff30662ef086c3002131299 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/GCD_LCM.java.bak"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/GCD_LCM.java.bak"
@@ -1,3 +1,36 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:cd103096e412ab3e423f58b720036c3bb836ce8a1cf242947ba1c7ff3a681c91
-size 878
+import java.util.Scanner;
+
+public class GCD_LCM
+{
+ public static void main (String[] args)
+ {
+ Scanner scan = new Scanner(System.in);
+
+ //浠庨敭鐩樹笂杈撳叆涓や釜鏁�
+ System.out.println("璇疯緭鍏ョ涓�涓暣鏁帮細");
+ int num1 = scan.nextInt();//Scanner绫荤殑涓�涓疄渚媠can
+ System.out.println("璇疯緭鍏ョ浜屼釜鏁存暟锛�");
+ int num2 = scan.nextInt();
+
+ int gcd = GCD(num1,num2);
+ int lcm = LCM(num1,num2);
+
+ System.out.println("鏈�澶у叕绾︽暟鏄細" + gcd);
+ System.out.println("鏈�灏忓叕鍊嶆暟鏄細" + lcm);
+
+ scan.close();
+ }
+//杈楄浆鐩搁櫎
+public static int GCD(int a, int b) {
+ if (b == 0) {
+ return a;
+ } else {
+ return GCD(b, a % b);
+ }
+ }
+
+ // 璁$畻鏈�灏忓叕鍊嶆暟鐨勬柟娉�
+ public static int LCM(int a, int b) {
+ return (a * b) / GCD(a, b);
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/Untitled1 - \345\211\257\346\234\254 (8).java.bak" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/Untitled1 - \345\211\257\346\234\254 (8).java.bak"
index f01ac8f2a0ad32036f863f185c5ff96e73af6eb8..a30f4fd0d9ee09164e2b14f1afbe42bf37e38034 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/Untitled1 - \345\211\257\346\234\254 (8).java.bak"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/Untitled1 - \345\211\257\346\234\254 (8).java.bak"
@@ -1,3 +1,7 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7aa19ca422c2fcbd62dcc475fced839bee2dcf39d9803a0daee747850055e79a
-size 104
+class
+{
+ public static void main(String[] args)
+ {
+ System.out.println("Hello World!");
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/\350\257\264\346\230\216\346\226\207\346\241\243.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/\350\257\264\346\230\216\346\226\207\346\241\243.docx"
index 33c6e35f3a0f19820d9737e09d7ea32379b86b53..d21ddd2dea4ab32a9a6c4b4eb6487d649e9193cf 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/\350\257\264\346\230\216\346\226\207\346\241\243.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0008\344\270\244\346\225\264\346\225\260\345\205\254\347\272\246\345\205\254\345\200\215\346\225\260/\350\257\264\346\230\216\346\226\207\346\241\243.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0009\344\271\235\344\271\235\344\271\230\346\263\225\350\241\250/MultiplicationTable.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0009\344\271\235\344\271\235\344\271\230\346\263\225\350\241\250/MultiplicationTable.class"
index f28388f2c73aa7305ee657499646830f70c63699..ff54154eaaccf773cb05b04056043f230a5f97f4 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0009\344\271\235\344\271\235\344\271\230\346\263\225\350\241\250/MultiplicationTable.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0009\344\271\235\344\271\235\344\271\230\346\263\225\350\241\250/MultiplicationTable.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0009\344\271\235\344\271\235\344\271\230\346\263\225\350\241\250/MultiplicationTable.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0009\344\271\235\344\271\235\344\271\230\346\263\225\350\241\250/MultiplicationTable.java"
index 4be1af6cf2a2db35a610288a88f442a1bce16beb..fdde11b0525daf671a0880a0915d10cfc8a1e0db 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0009\344\271\235\344\271\235\344\271\230\346\263\225\350\241\250/MultiplicationTable.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0009\344\271\235\344\271\235\344\271\230\346\263\225\350\241\250/MultiplicationTable.java"
@@ -1,3 +1,14 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:462ddc289dc0d9a242cc695563548124f1e522c32b950090d880b6a402223921
-size 323
+
+public class MultiplicationTable {
+
+ public static void main(String[] args) {
+
+ for (int i = 1; i <= 9; i++) {
+
+ for (int j = 1; j <= i; j++) {
+ System.out.print(j + " 脳 " + i + " = " + (i * j) + "\t");
+ }
+ System.out.println();
+ }
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0010\346\230\237\346\234\237\344\270\200\345\210\260\346\230\237\346\234\237\345\244\251_\345\242\236\345\274\272for\345\276\252\347\216\257/PrintDay.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0010\346\230\237\346\234\237\344\270\200\345\210\260\346\230\237\346\234\237\345\244\251_\345\242\236\345\274\272for\345\276\252\347\216\257/PrintDay.class"
index a1ff5188b3d8f6e8e6bff62ed26bdaab522090d3..e5ac1f9afd2416a1e41adb5f629c4b6e7be262d8 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0010\346\230\237\346\234\237\344\270\200\345\210\260\346\230\237\346\234\237\345\244\251_\345\242\236\345\274\272for\345\276\252\347\216\257/PrintDay.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0010\346\230\237\346\234\237\344\270\200\345\210\260\346\230\237\346\234\237\345\244\251_\345\242\236\345\274\272for\345\276\252\347\216\257/PrintDay.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0010\346\230\237\346\234\237\344\270\200\345\210\260\346\230\237\346\234\237\345\244\251_\345\242\236\345\274\272for\345\276\252\347\216\257/PrintDay.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0010\346\230\237\346\234\237\344\270\200\345\210\260\346\230\237\346\234\237\345\244\251_\345\242\236\345\274\272for\345\276\252\347\216\257/PrintDay.java"
index 46e7718f14d0319029f8fdfb625f4c3c2f52afc9..e2aff8fa7c04e734fc22410c6d01e43cf39aafe7 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0010\346\230\237\346\234\237\344\270\200\345\210\260\346\230\237\346\234\237\345\244\251_\345\242\236\345\274\272for\345\276\252\347\216\257/PrintDay.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0010\346\230\237\346\234\237\344\270\200\345\210\260\346\230\237\346\234\237\345\244\251_\345\242\236\345\274\272for\345\276\252\347\216\257/PrintDay.java"
@@ -1,3 +1,8 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:de6ec84df57377e2643cf5826ec6cb7d2c88add273a03e39ce339c19348ad76a
-size 287
+public class PrintDay {
+ public static void main(String[] args) {
+ String[] days = {"鏄熸湡涓�", "鏄熸湡浜�", "鏄熸湡涓�", "鏄熸湡鍥�", "鏄熸湡浜�", "鏄熸湡鍏�", "鏄熸湡鏃�"};
+ for (String day : days) {
+ System.out.print(day + " ");
+ }
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0011\346\227\266\351\222\237\350\256\241\346\227\266/SimpleClock.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0011\346\227\266\351\222\237\350\256\241\346\227\266/SimpleClock.class"
index 0eb46b1a2c2e3201cb8f12b545021c34dccb77e3..28e7a4f612d3268a2ecbf887e96871166c417942 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0011\346\227\266\351\222\237\350\256\241\346\227\266/SimpleClock.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0011\346\227\266\351\222\237\350\256\241\346\227\266/SimpleClock.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0011\346\227\266\351\222\237\350\256\241\346\227\266/SimpleClock.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0011\346\227\266\351\222\237\350\256\241\346\227\266/SimpleClock.java"
index aadd7a1708089bf9d7f21ea01b18f707a941a0da..d88e90ee4b3360266fffa4d42676bec40643bbab 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0011\346\227\266\351\222\237\350\256\241\346\227\266/SimpleClock.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0011\346\227\266\351\222\237\350\256\241\346\227\266/SimpleClock.java"
@@ -1,3 +1,24 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:9cc95966e62c80a22eca4ae36eef968d7549fd51371ccf267c551efdec47c332
-size 709
+import java.text.SimpleDateFormat;
+import java.util.Date;
+
+public class SimpleClock {
+ public static void main(String[] args) {
+ while (true) {
+ // 鑾峰彇褰撳墠鏃堕棿
+ Date now = new Date();
+
+ // 瀹氫箟鏃堕棿鏍煎紡
+ SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss");
+
+ // 鏍煎紡鍖栧綋鍓嶆椂闂村苟鎵撳嵃
+ System.out.println("褰撳墠鏃堕棿锛�" + sdf.format(now));
+
+ try {
+ // 鏆傚仠涓�绉掗挓
+ Thread.sleep(1000);
+ } catch (InterruptedException e) {
+ e.printStackTrace();
+ }
+ }
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0012\345\257\271\350\261\241\344\270\216\347\261\273\344\271\213\351\227\264\347\232\204\345\205\263\347\263\273/\345\257\271\350\261\241\344\270\216\347\261\273\344\271\213\351\227\264\347\232\204\345\205\263\347\263\273.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0012\345\257\271\350\261\241\344\270\216\347\261\273\344\271\213\351\227\264\347\232\204\345\205\263\347\263\273/\345\257\271\350\261\241\344\270\216\347\261\273\344\271\213\351\227\264\347\232\204\345\205\263\347\263\273.docx"
index d0dc0614d7c8525f64e678d19cd1be143045fac8..6cdcf7bf7b08dbfaf6905a732b588c39c0d3c5e2 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0012\345\257\271\350\261\241\344\270\216\347\261\273\344\271\213\351\227\264\347\232\204\345\205\263\347\263\273/\345\257\271\350\261\241\344\270\216\347\261\273\344\271\213\351\227\264\347\232\204\345\205\263\347\263\273.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0012\345\257\271\350\261\241\344\270\216\347\261\273\344\271\213\351\227\264\347\232\204\345\205\263\347\263\273/\345\257\271\350\261\241\344\270\216\347\261\273\344\271\213\351\227\264\347\232\204\345\205\263\347\263\273.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0013\351\235\242\345\220\221\345\257\271\350\261\241\347\232\204\347\250\213\345\272\217\350\256\276\350\256\241\346\226\271\346\263\225\347\232\204\347\211\271\345\276\201/0013\351\235\242\345\220\221\345\257\271\350\261\241\347\232\204\347\250\213\345\272\217\350\256\276\350\256\241\346\226\271\346\263\225\347\232\204\347\211\271\345\276\201.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0013\351\235\242\345\220\221\345\257\271\350\261\241\347\232\204\347\250\213\345\272\217\350\256\276\350\256\241\346\226\271\346\263\225\347\232\204\347\211\271\345\276\201/0013\351\235\242\345\220\221\345\257\271\350\261\241\347\232\204\347\250\213\345\272\217\350\256\276\350\256\241\346\226\271\346\263\225\347\232\204\347\211\271\345\276\201.docx"
index 1745601027622b831a19aa60eeaec093b30383cb..3d36a34fc3afb47d60b7e231a2aff655d3fc379c 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0013\351\235\242\345\220\221\345\257\271\350\261\241\347\232\204\347\250\213\345\272\217\350\256\276\350\256\241\346\226\271\346\263\225\347\232\204\347\211\271\345\276\201/0013\351\235\242\345\220\221\345\257\271\350\261\241\347\232\204\347\250\213\345\272\217\350\256\276\350\256\241\346\226\271\346\263\225\347\232\204\347\211\271\345\276\201.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0013\351\235\242\345\220\221\345\257\271\350\261\241\347\232\204\347\250\213\345\272\217\350\256\276\350\256\241\346\226\271\346\263\225\347\232\204\347\211\271\345\276\201/0013\351\235\242\345\220\221\345\257\271\350\261\241\347\232\204\347\250\213\345\272\217\350\256\276\350\256\241\346\226\271\346\263\225\347\232\204\347\211\271\345\276\201.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Airline.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Airline.class"
index 8b4ff7e80a76414ad63a28dbff83aa9236a2b65f..7ff7572f80d6c015be98acfc93d0bf6b2f4f34e4 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Airline.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Airline.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/AirlineBookingSystem.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/AirlineBookingSystem.class"
index b31035966163953a72f83fbc0e7f1fa9f67858e6..c47c9d055ae34875346136c909afbd290ef64527 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/AirlineBookingSystem.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/AirlineBookingSystem.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Flight.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Flight.class"
index 02609af45d667c7ecb44bd782dd420fb8bd9af64..4bea893c186442713d1b14d8944606bc520a2efd 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Flight.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Flight.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Main.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Main.class"
index ddbd30bc4e06d7e0a6e3fa826606eef4d5f43f2b..5ebce7681d97718e2e3e3de2cd96699b76c445a4 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Main.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Main.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Main.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Main.java"
index b8d2752b05837c3f54e1543ea2563095e4ca6772..a999c80515a9d1306ec61062da95170e1eaeabd9 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Main.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Main.java"
@@ -1,3 +1,271 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:31aa62b5746c298093e5f56c3937d77ec267e9dd0b902c5aaa100da14e4a3a5a
-size 7502
+import java.util.ArrayList;
+import java.util.List;
+
+// 涔樺绫�
+class Passenger {
+ private String name;
+ private int age;
+ private String gender;
+ private String contact;
+
+ public Passenger(String name, int age, String gender, String contact) {
+ this.name = name;
+ this.age = age;
+ this.gender = gender;
+ this.contact = contact;
+ }
+
+ // Getter鍜宻etter鏂规硶
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public int getAge() {
+ return age;
+ }
+
+ public void setAge(int age) {
+ this.age = age;
+ }
+
+ public String getGender() {
+ return gender;
+ }
+
+ public void setGender(String gender) {
+ this.gender = gender;
+ }
+
+ public String getContact() {
+ return contact;
+ }
+
+ public void setContact(String contact) {
+ this.contact = contact;
+ }
+}
+
+// 鑸彮绫�
+class Flight {
+ private String flightNumber;
+ private String departure;
+ private String destination;
+ private String departureTime;
+ private String arrivalTime;
+ private double price;
+
+ public Flight(String flightNumber, String departure, String destination, String departureTime, String arrivalTime, double price) {
+ this.flightNumber = flightNumber;
+ this.departure = departure;
+ this.destination = destination;
+ this.departureTime = departureTime;
+ this.arrivalTime = arrivalTime;
+ this.price = price;
+ }
+
+ // Getter鏂规硶
+ public String getFlightNumber() {
+ return flightNumber;
+ }
+
+ public String getDeparture() {
+ return departure;
+ }
+
+ public String getDestination() {
+ return destination;
+ }
+
+ public String getDepartureTime() {
+ return departureTime;
+ }
+
+ public String getArrivalTime() {
+ return arrivalTime;
+ }
+
+ public double getPrice() {
+ return price;
+ }
+}
+
+
+// 璁㈠崟绫�
+class Order {
+ private int orderId;
+ private Passenger passenger;
+ private Flight flight;
+
+ public Order(int orderId, Passenger passenger, Flight flight) {
+ this.orderId = orderId;
+ this.passenger = passenger;
+ this.flight = flight;
+ }
+
+ // Getter鏂规硶
+ public int getOrderId() {
+ return orderId;
+ }
+
+ public Passenger getPassenger() {
+ return passenger;
+ }
+
+ public Flight getFlight() {
+ return flight;
+ }
+}
+
+// 鑸┖鍏徃绫�
+
+
+class Airline {
+ private String name;
+ private List flights;
+
+ public Airline(String name) {
+ this.name = name;
+ this.flights = new ArrayList<>();
+ }
+
+ public void addFlight(Flight flight) {
+ flights.add(flight);
+ }
+
+ public List getFlights() {
+ return flights;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ public void removeFlight(Flight flight) {
+ flights.remove(flight);
+ }
+
+ public void removeAllFlights() {
+ flights.clear();
+ }
+
+ public Flight getFlightByNumber(String flightNumber) {
+ for (Flight flight : flights) {
+ if (flight.getFlightNumber().equals(flightNumber)) {
+ return flight;
+ }
+ }
+ return null; // 濡傛灉鎵句笉鍒板搴旇埅鐝紝杩斿洖null
+ }
+
+ public void updateFlight(Flight oldFlight, Flight newFlight) {
+ int index = flights.indexOf(oldFlight);
+ if (index != -1) { // 濡傛灉鎵惧埌浜嗘棫鑸彮
+ flights.set(index, newFlight); // 鏇挎崲涓烘柊鑸彮
+ }
+ }
+}
+
+// 鑸┖浜ゆ槗绯荤粺绫�
+
+
+class AirlineBookingSystem {
+ private List airlines;
+
+ public AirlineBookingSystem() {
+ this.airlines = new ArrayList<>();
+ }
+
+ public void addAirline(Airline airline) {
+ airlines.add(airline);
+ }
+
+ public List getAirlines() {
+ return airlines;
+ }
+
+ public Airline getAirlineByName(String name) {
+ for (Airline airline : airlines) {
+ if (airline.getName().equals(name)) {
+ return airline;
+ }
+ }
+ return null; // 濡傛灉鎵句笉鍒板搴旇埅绌哄叕鍙革紝杩斿洖null
+ }
+
+ public Airline getAirlineByFlightNumber(String flightNumber) {
+ for (Airline airline : airlines) {
+ for (Flight flight : airline.getFlights()) {
+ if (flight.getFlightNumber().equals(flightNumber)) {
+ return airline;
+ }
+ }
+ }
+ return null; // 濡傛灉鎵句笉鍒板搴旇埅鐝彿鐨勮埅绌哄叕鍙革紝杩斿洖null
+ }
+
+ public void removeAirline(Airline airline) {
+ airlines.remove(airline);
+ }
+
+ // 鐪佺暐鍏朵粬鏂规硶锛屾瘮濡傛牴鎹埅鐝彿鏌ヨ鑸┖鍏徃绛�
+}
+
+public class Main {
+ public static void main(String[] args) {
+ // 鍒涘缓鑸┖鍏徃
+ Airline airline1 = new Airline("Airline1");
+ Airline airline2 = new Airline("Airline2");
+
+ // 鍒涘缓鑸彮
+ Flight flight1 = new Flight("FL001", "CityA", "CityB", "2024-03-15 08:00", "2024-03-15 10:00", 100.0);
+ Flight flight2 = new Flight("FL002", "CityB", "CityC", "2024-03-15 12:00", "2024-03-15 14:00", 120.0);
+
+ // 娣诲姞鑸彮鍒拌埅绌哄叕鍙�
+ airline1.addFlight(flight1);
+ airline2.addFlight(flight2);
+
+ // 鍒涘缓涔樺
+ Passenger passenger1 = new Passenger("Alice", 30, "Female", "123456789");
+ Passenger passenger2 = new Passenger("Bob", 25, "Male", "987654321");
+
+ // 鍒涘缓璁㈠崟
+ Order order1 = new Order(1, passenger1, flight1);
+ Order order2 = new Order(2, passenger2, flight2);
+
+ // 鍒涘缓鑸┖浜ゆ槗绯荤粺
+ AirlineBookingSystem bookingSystem = new AirlineBookingSystem();
+ bookingSystem.addAirline(airline1);
+ bookingSystem.addAirline(airline2);
+
+ // 鏌ヨ鑸彮
+ System.out.println("鎵�鏈夎埅绌哄叕鍙哥殑鑸彮淇℃伅锛�");
+ for (Airline airline : bookingSystem.getAirlines()) {
+ System.out.println("鑸┖鍏徃锛�" + airline.getName());
+ System.out.println("鑸彮鍒楄〃锛�");
+ for (Flight flight : airline.getFlights()) {
+ System.out.println("鑸彮鍙凤細" + flight.getFlightNumber() + " 鍑哄彂鍦帮細" + flight.getDeparture() + " 鐩殑鍦帮細" + flight.getDestination());
+ }
+ }
+
+ // 棰勮鏈虹エ锛堢ず渚嬶細涔樺1棰勮鑸彮1锛�
+ Order newOrder = new Order(3, passenger1, flight1);
+ System.out.println("棰勮鎴愬姛锛佽鍗曞彿锛�" + newOrder.getOrderId() + " 涔樺锛�" + newOrder.getPassenger().getName() + " 鑸彮锛�" + newOrder.getFlight().getFlightNumber());
+
+ // 鏌ヨ鑸彮鍙蜂负FL002鐨勮埅绌哄叕鍙�
+ String flightNumber = "FL002";
+ Airline airlineOfFlight = bookingSystem.getAirlineByFlightNumber(flightNumber);
+ if (airlineOfFlight != null) {
+ System.out.println("鑸彮鍙蜂负" + flightNumber + "鐨勮埅绌哄叕鍙告槸锛�" + airlineOfFlight.getName());
+ } else {
+ System.out.println("鏈壘鍒拌埅鐝彿涓�" + flightNumber + "鐨勮埅绌哄叕鍙革紒");
+ }
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Order.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Order.class"
index f705d2816a35608e05cb009a2f9255feff2a029f..61cddc13cc361b9fffe6d3599d5c618b84c91354 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Order.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Order.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Passenger.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Passenger.class"
index 3c8e6ae7110fb9b09648448aeb461669d3f16cdc..a7d42117138397f25d8d048b2eee8cc2b430119f 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Passenger.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/Passenger.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/\347\250\213\345\272\217\347\232\204\350\257\264\346\230\216.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/\347\250\213\345\272\217\347\232\204\350\257\264\346\230\216.docx"
index 998b8aa860dfe92bee3a11aa3ad267d3ce0ebfd3..7fcb903ce06228c94675b6f3a04660901f8060a1 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/\347\250\213\345\272\217\347\232\204\350\257\264\346\230\216.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0014\346\250\241\346\213\237\350\210\252\347\251\272\344\272\244\346\230\223\347\263\273\347\273\237/\347\250\213\345\272\217\347\232\204\350\257\264\346\230\216.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Account.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Account.class"
index 161ab4b48ec4ae8f2e39aa4c94448830acdaf33a..c45a47c826741524360cbef99569eadadbe0a42f 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Account.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Account.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Bank.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Bank.class"
index 9c832727152cd46a4e902691c65142bca65a4d95..790e7089c4fc1478ba4e546af0ec8efdb678a280 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Bank.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Bank.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Main.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Main.class"
index 2c5d3c8a2aea7a8080b55b11dfc9a0978a70c4ce..91d4ed35327d7a99553749e1b0f548ef1999189c 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Main.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Main.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Main.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Main.java"
index e387915483c31514e603d6b8806f62cabd657d75..b01dbc494893b03e5685c30fb514bd599685f9fb 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Main.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Main.java"
@@ -1,3 +1,111 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d44e00a12de0ecea9eaf827b2f425837f9c2e4adaf059a34f77733e2a76419ae
-size 2782
+
+import java.util.ArrayList;
+import java.util.List;
+
+// 璐︽埛绫�
+class Account {
+ private String accountNumber;
+ private double balance;
+
+ public Account(String accountNumber, double initialBalance) {
+ this.accountNumber = accountNumber;
+ this.balance = initialBalance;
+ }
+
+ // 瀛樻
+ public void deposit(double amount) {
+ balance += amount;
+ }
+
+ // 鍙栨
+ public void withdraw(double amount) {
+ if (balance >= amount) {
+ balance -= amount;
+ } else {
+ System.out.println("浣欓涓嶈冻锛�");
+ }
+ }
+
+ // 鑾峰彇璐︽埛浣欓
+ public double getBalance() {
+ return balance;
+ }
+}
+
+// 浜ゆ槗绫�
+class Transaction {
+ private String type;
+ private double amount;
+
+ public Transaction(String type, double amount) {
+ this.type = type;
+ this.amount = amount;
+ }
+
+ // 鑾峰彇浜ゆ槗绫诲瀷
+ public String getType() {
+ return type;
+ }
+
+ // 鑾峰彇浜ゆ槗閲戦
+ public double getAmount() {
+ return amount;
+ }
+}
+
+// 閾惰绫�
+class Bank {
+ private List accounts;
+
+ public Bank() {
+ this.accounts = new ArrayList<>();
+ }
+
+ // 娣诲姞璐︽埛
+ public void addAccount(Account account) {
+ accounts.add(account);
+ }
+
+ // 鍒犻櫎璐︽埛
+ public void removeAccount(Account account) {
+ accounts.remove(account);
+ }
+
+ // 杩涜浜ゆ槗
+ public void processTransaction(Account account, Transaction transaction) {
+ if (transaction.getType().equals("Deposit")) {
+ account.deposit(transaction.getAmount());
+ } else if (transaction.getType().equals("Withdraw")) {
+ account.withdraw(transaction.getAmount());
+ } else {
+ System.out.println("鏃犳晥鐨勪氦鏄撶被鍨嬶紒");
+ }
+ }
+}
+
+// 涓荤被
+public class Main {
+ public static void main(String[] args) {
+ // 鍒涘缓閾惰
+ Bank bank = new Bank();
+
+ // 鍒涘缓璐︽埛
+ Account account1 = new Account("123456", 1000.0);
+ Account account2 = new Account("789012", 500.0);
+
+ // 娣诲姞璐︽埛鍒伴摱琛�
+ bank.addAccount(account1);
+ bank.addAccount(account2);
+
+ // 鎵ц浜ゆ槗
+ Transaction transaction1 = new Transaction("Deposit", 200.0);
+ bank.processTransaction(account1, transaction1);
+
+ Transaction transaction2 = new Transaction("Withdraw", 300.0);
+ bank.processTransaction(account2, transaction2);
+
+ // 杈撳嚭璐︽埛浣欓
+ System.out.println("璐︽埛1浣欓锛�" + account1.getBalance());
+ System.out.println("璐︽埛2浣欓锛�" + account2.getBalance());
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Main.java.bak" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Main.java.bak"
index 4d5b334290a14e1954863cb0a56324a370e96954..726af537667fd80642ff544a960569d7408e076d 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Main.java.bak"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Main.java.bak"
@@ -1,3 +1,117 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c52cddad60d5d69eac9f269612e565bbcf6bff5a681b5306283be87b844f195f
-size 2884
+class
+{
+ public static void main(String[] args)
+ {
+ System.out.println("Hello World!");
+ }
+}
+import java.util.ArrayList;
+import java.util.List;
+
+// 璐︽埛绫�
+class Account {
+ private String accountNumber;
+ private double balance;
+
+ public Account(String accountNumber, double initialBalance) {
+ this.accountNumber = accountNumber;
+ this.balance = initialBalance;
+ }
+
+ // 瀛樻
+ public void deposit(double amount) {
+ balance += amount;
+ }
+
+ // 鍙栨
+ public void withdraw(double amount) {
+ if (balance >= amount) {
+ balance -= amount;
+ } else {
+ System.out.println("浣欓涓嶈冻锛�");
+ }
+ }
+
+ // 鑾峰彇璐︽埛浣欓
+ public double getBalance() {
+ return balance;
+ }
+}
+
+// 浜ゆ槗绫�
+class Transaction {
+ private String type;
+ private double amount;
+
+ public Transaction(String type, double amount) {
+ this.type = type;
+ this.amount = amount;
+ }
+
+ // 鑾峰彇浜ゆ槗绫诲瀷
+ public String getType() {
+ return type;
+ }
+
+ // 鑾峰彇浜ゆ槗閲戦
+ public double getAmount() {
+ return amount;
+ }
+}
+
+// 閾惰绫�
+class Bank {
+ private List accounts;
+
+ public Bank() {
+ this.accounts = new ArrayList<>();
+ }
+
+ // 娣诲姞璐︽埛
+ public void addAccount(Account account) {
+ accounts.add(account);
+ }
+
+ // 鍒犻櫎璐︽埛
+ public void removeAccount(Account account) {
+ accounts.remove(account);
+ }
+
+ // 杩涜浜ゆ槗
+ public void processTransaction(Account account, Transaction transaction) {
+ if (transaction.getType().equals("Deposit")) {
+ account.deposit(transaction.getAmount());
+ } else if (transaction.getType().equals("Withdraw")) {
+ account.withdraw(transaction.getAmount());
+ } else {
+ System.out.println("鏃犳晥鐨勪氦鏄撶被鍨嬶紒");
+ }
+ }
+}
+
+// 涓荤被
+public class Main {
+ public static void main(String[] args) {
+ // 鍒涘缓閾惰
+ Bank bank = new Bank();
+
+ // 鍒涘缓璐︽埛
+ Account account1 = new Account("123456", 1000.0);
+ Account account2 = new Account("789012", 500.0);
+
+ // 娣诲姞璐︽埛鍒伴摱琛�
+ bank.addAccount(account1);
+ bank.addAccount(account2);
+
+ // 鎵ц浜ゆ槗
+ Transaction transaction1 = new Transaction("Deposit", 200.0);
+ bank.processTransaction(account1, transaction1);
+
+ Transaction transaction2 = new Transaction("Withdraw", 300.0);
+ bank.processTransaction(account2, transaction2);
+
+ // 杈撳嚭璐︽埛浣欓
+ System.out.println("璐︽埛1浣欓锛�" + account1.getBalance());
+ System.out.println("璐︽埛2浣欓锛�" + account2.getBalance());
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Transaction.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Transaction.class"
index fc0e94b1b3fe756d2ec63fc6976c5eae1d37c124..2dfd260eddd26d2f94a707553c6c88727fc92a2c 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Transaction.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0015\346\250\241\346\213\237\351\223\266\350\241\214\344\272\244\346\230\223\347\250\213\345\272\217/Transaction.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Account.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Account.class"
index 85d3b35ad55b291687d5104cf267ca9de8864402..a17a55fdf74032e726831426629a512385cc3139 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Account.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Account.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Bank.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Bank.class"
index 8d8982afacaa50cb99782667da250defb9ceb732..bcbc759985d4eda8d99e117271ea0d0c7ef10dde 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Bank.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Bank.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Main.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Main.class"
index eb4e3a3d52e0a8e79859d859682feafc1dd9f43d..00b0bf8e53c5d4c3b622fd8439982f91ba3bc5f5 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Main.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Main.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Main.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Main.java"
index c7985475443e164c2f957f16cae408cc750876fb..809c6bcfc8c9501ac8a514706eda45769370997c 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Main.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Main.java"
@@ -1,3 +1,155 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:28f60e303fbf35cb8d1ba296a465831d0f513d9c0e1c55c30a07bf7dd6bbec6b
-size 4340
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Scanner;
+
+// 璐︽埛绫�
+class Account {
+ private String accountNumber;
+ private double balance;
+
+ public Account(String accountNumber, double initialBalance) {
+ this.accountNumber = accountNumber;
+ this.balance = initialBalance;
+ }
+
+ // 瀛樻
+ public void deposit(double amount) {
+ balance += amount;
+ }
+
+ // 鍙栨
+ public void withdraw(double amount) {
+ if (balance >= amount) {
+ balance -= amount;
+ } else {
+ System.out.println("浣欓涓嶈冻锛�");
+ }
+ }
+
+ // 鑾峰彇璐︽埛浣欓
+ public double getBalance() {
+ return balance;
+ }
+
+ // 鑾峰彇璐︽埛鍙�
+ public String getAccountNumber() {
+ return accountNumber;
+ }
+}
+
+// 浜ゆ槗绫�
+class Transaction {
+ private String type;
+ private double amount;
+
+ public Transaction(String type, double amount) {
+ this.type = type;
+ this.amount = amount;
+ }
+
+ // 鑾峰彇浜ゆ槗绫诲瀷
+ public String getType() {
+ return type;
+ }
+
+ // 鑾峰彇浜ゆ槗閲戦
+ public double getAmount() {
+ return amount;
+ }
+}
+
+/// 閾惰绫�
+class Bank {
+ private List accounts;
+
+ public Bank() {
+ this.accounts = new ArrayList<>();
+ }
+
+ // 娣诲姞璐︽埛
+ public void addAccount(Account account) {
+ accounts.add(account);
+ }
+
+ // 鍒犻櫎璐︽埛
+ public void removeAccount(Account account) {
+ accounts.remove(account);
+ }
+
+ // 鑾峰彇璐︽埛鍒楄〃
+ public List getAccounts() {
+ return accounts;
+ }
+
+ // 杩涜浜ゆ槗
+ public void processTransaction(Account account, Transaction transaction) {
+ if (transaction.getType().equals("Deposit")) {
+ account.deposit(transaction.getAmount());
+ } else if (transaction.getType().equals("Withdraw")) {
+ account.withdraw(transaction.getAmount());
+ } else {
+ System.out.println("鏃犳晥鐨勪氦鏄撶被鍨嬶紒");
+ }
+ }
+}
+
+
+
+// 涓荤被
+public class Main {
+ public static void main(String[] args) {
+ Scanner scanner = new Scanner(System.in);
+ Bank bank = new Bank();
+
+ // 鍒涘缓璐︽埛
+ Account account1 = new Account("123456", 1000.0);
+ Account account2 = new Account("789012", 500.0);
+
+ // 娣诲姞璐︽埛鍒伴摱琛�
+ bank.addAccount(account1);
+ bank.addAccount(account2);
+
+ System.out.println("璇烽�夋嫨鎿嶄綔锛�");
+ System.out.println("1. 瀛樻");
+ System.out.println("2. 鍙栨");
+ int choice = scanner.nextInt();
+ System.out.println("璇疯緭鍏ヨ处鎴峰彿锛�");
+ String accountNumber = scanner.next();
+ System.out.println("璇疯緭鍏ラ噾棰濓細");
+ double amount = scanner.nextDouble();
+
+ if (choice == 1) {
+ Transaction transaction = new Transaction("Deposit", amount);
+ Account account = findAccount(bank, accountNumber);
+ if (account != null) {
+ bank.processTransaction(account, transaction);
+ System.out.println("瀛樻鎴愬姛锛佸綋鍓嶄綑棰濅负锛�" + account.getBalance());
+ } else {
+ System.out.println("璐︽埛涓嶅瓨鍦紒");
+ }
+ } else if (choice == 2) {
+ Transaction transaction = new Transaction("Withdraw", amount);
+ Account account = findAccount(bank, accountNumber);
+ if (account != null) {
+ bank.processTransaction(account, transaction);
+ System.out.println("鍙栨鎴愬姛锛佸綋鍓嶄綑棰濅负锛�" + account.getBalance());
+ } else {
+ System.out.println("璐︽埛涓嶅瓨鍦紒");
+ }
+ } else {
+ System.out.println("鏃犳晥鐨勯�夋嫨锛�");
+ }
+
+ scanner.close();
+ }
+
+ // 杈呭姪鏂规硶锛氭牴鎹处鎴峰彿鏌ユ壘璐︽埛
+ private static Account findAccount(Bank bank, String accountNumber) {
+ for (Account account : bank.getAccounts()) {
+ if (account.getAccountNumber().equals(accountNumber)) {
+ return account;
+ }
+ }
+ return null;
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Main.java.bak" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Main.java.bak"
index eea58be6d6535fc589700cab490a9dbbb49f88cc..bfefbc93db50e375dccfd56dc238a2e88fdcab02 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Main.java.bak"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Main.java.bak"
@@ -1,3 +1,143 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3f767bb6b5588871a35454234adb666b9424b6cd73e9621d1e288d8ea9f3dd6c
-size 4127
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Scanner;
+
+// 璐︽埛绫�
+class Account {
+ private String accountNumber;
+ private double balance;
+
+ public Account(String accountNumber, double initialBalance) {
+ this.accountNumber = accountNumber;
+ this.balance = initialBalance;
+ }
+
+ // 瀛樻
+ public void deposit(double amount) {
+ balance += amount;
+ }
+
+ // 鍙栨
+ public void withdraw(double amount) {
+ if (balance >= amount) {
+ balance -= amount;
+ } else {
+ System.out.println("浣欓涓嶈冻锛�");
+ }
+ }
+
+ // 鑾峰彇璐︽埛浣欓
+ public double getBalance() {
+ return balance;
+ }
+}
+
+// 浜ゆ槗绫�
+class Transaction {
+ private String type;
+ private double amount;
+
+ public Transaction(String type, double amount) {
+ this.type = type;
+ this.amount = amount;
+ }
+
+ // 鑾峰彇浜ゆ槗绫诲瀷
+ public String getType() {
+ return type;
+ }
+
+ // 鑾峰彇浜ゆ槗閲戦
+ public double getAmount() {
+ return amount;
+ }
+}
+
+// 閾惰绫�
+class Bank {
+ private List accounts;
+
+ public Bank() {
+ this.accounts = new ArrayList<>();
+ }
+
+ // 娣诲姞璐︽埛
+ public void addAccount(Account account) {
+ accounts.add(account);
+ }
+
+ // 鍒犻櫎璐︽埛
+ public void removeAccount(Account account) {
+ accounts.remove(account);
+ }
+
+ // 杩涜浜ゆ槗
+ public void processTransaction(Account account, Transaction transaction) {
+ if (transaction.getType().equals("Deposit")) {
+ account.deposit(transaction.getAmount());
+ } else if (transaction.getType().equals("Withdraw")) {
+ account.withdraw(transaction.getAmount());
+ } else {
+ System.out.println("鏃犳晥鐨勪氦鏄撶被鍨嬶紒");
+ }
+ }
+}
+
+// 涓荤被
+public class Main {
+ public static void main(String[] args) {
+ Scanner scanner = new Scanner(System.in);
+ Bank bank = new Bank();
+
+ // 鍒涘缓璐︽埛
+ Account account1 = new Account("123456", 1000.0);
+ Account account2 = new Account("789012", 500.0);
+
+ // 娣诲姞璐︽埛鍒伴摱琛�
+ bank.addAccount(account1);
+ bank.addAccount(account2);
+
+ System.out.println("璇烽�夋嫨鎿嶄綔锛�");
+ System.out.println("1. 瀛樻");
+ System.out.println("2. 鍙栨");
+ int choice = scanner.nextInt();
+ System.out.println("璇疯緭鍏ヨ处鎴峰彿锛�");
+ String accountNumber = scanner.next();
+ System.out.println("璇疯緭鍏ラ噾棰濓細");
+ double amount = scanner.nextDouble();
+
+ if (choice == 1) {
+ Transaction transaction = new Transaction("Deposit", amount);
+ Account account = findAccount(bank, accountNumber);
+ if (account != null) {
+ bank.processTransaction(account, transaction);
+ System.out.println("瀛樻鎴愬姛锛佸綋鍓嶄綑棰濅负锛�" + account.getBalance());
+ } else {
+ System.out.println("璐︽埛涓嶅瓨鍦紒");
+ }
+ } else if (choice == 2) {
+ Transaction transaction = new Transaction("Withdraw", amount);
+ Account account = findAccount(bank, accountNumber);
+ if (account != null) {
+ bank.processTransaction(account, transaction);
+ System.out.println("鍙栨鎴愬姛锛佸綋鍓嶄綑棰濅负锛�" + account.getBalance());
+ } else {
+ System.out.println("璐︽埛涓嶅瓨鍦紒");
+ }
+ } else {
+ System.out.println("鏃犳晥鐨勯�夋嫨锛�");
+ }
+
+ scanner.close();
+ }
+
+ // 杈呭姪鏂规硶锛氭牴鎹处鎴峰彿鏌ユ壘璐︽埛
+ private static Account findAccount(Bank bank, String accountNumber) {
+ for (Account account : bank.getAccounts()) {
+ if (account.getAccountNumber().equals(accountNumber)) {
+ return account;
+ }
+ }
+ return null;
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Transaction.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Transaction.class"
index a6b56a3c80b17ff4e9e98662dfed1fbd02ec7351..e5859681ca448da014cc39bdf2f6578f57f01edf 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Transaction.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0016\346\250\241\346\213\237\344\272\244\346\230\223\351\223\266\350\241\214\347\250\213\345\272\217/Transaction.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/~$\351\200\240\346\226\271\346\263\225\347\232\204\347\211\271\347\202\271.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/~$\351\200\240\346\226\271\346\263\225\347\232\204\347\211\271\347\202\271.docx"
index 4132cca17f448ecbe4a40b86f73df843cc077313..cc8684f91ca9d96bd53601e48a15a454cdcd5848 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/~$\351\200\240\346\226\271\346\263\225\347\232\204\347\211\271\347\202\271.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/~$\351\200\240\346\226\271\346\263\225\347\232\204\347\211\271\347\202\271.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\346\236\204\351\200\240\346\226\271\346\263\225\347\232\204\347\211\271\347\202\271.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\346\236\204\351\200\240\346\226\271\346\263\225\347\232\204\347\211\271\347\202\271.docx"
index 6b49e3515b1970cfb1b9146ab4a5061979cb4163..d36f053d19c3d605b68545d61d609edbca8d39a3 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\346\236\204\351\200\240\346\226\271\346\263\225\347\232\204\347\211\271\347\202\271.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\346\236\204\351\200\240\346\226\271\346\263\225\347\232\204\347\211\271\347\202\271.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\345\243\260\346\230\216\344\270\255\345\243\260\346\230\216\344\272\206\346\236\204\351\200\240\346\226\271\346\263\225\344\270\216\347\263\273\347\273\237\346\217\220\344\276\233\347\232\204\351\273\230\350\256\244\346\236\204\351\200\240\346\226\271\346\263\225.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\345\243\260\346\230\216\344\270\255\345\243\260\346\230\216\344\272\206\346\236\204\351\200\240\346\226\271\346\263\225\344\270\216\347\263\273\347\273\237\346\217\220\344\276\233\347\232\204\351\273\230\350\256\244\346\236\204\351\200\240\346\226\271\346\263\225.docx"
index f989d16b6686d3da1ec3bca4c9dc3d902ef966a0..c548288e5ab1252a858c14fae39eaa9867a90796 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\345\243\260\346\230\216\344\270\255\345\243\260\346\230\216\344\272\206\346\236\204\351\200\240\346\226\271\346\263\225\344\270\216\347\263\273\347\273\237\346\217\220\344\276\233\347\232\204\351\273\230\350\256\244\346\236\204\351\200\240\346\226\271\346\263\225.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\345\243\260\346\230\216\344\270\255\345\243\260\346\230\216\344\272\206\346\236\204\351\200\240\346\226\271\346\263\225\344\270\216\347\263\273\347\273\237\346\217\220\344\276\233\347\232\204\351\273\230\350\256\244\346\236\204\351\200\240\346\226\271\346\263\225.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\345\261\236\346\200\247\357\274\214\345\256\236\344\276\213\345\261\236\346\200\247\345\217\212\345\214\272\345\210\253.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\345\261\236\346\200\247\357\274\214\345\256\236\344\276\213\345\261\236\346\200\247\345\217\212\345\214\272\345\210\253.docx"
index 10512635c1c3737cec4b39ddf53c00622ba5667c..3c0782a6051e93743ff3228157dfb7a1375724de 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\345\261\236\346\200\247\357\274\214\345\256\236\344\276\213\345\261\236\346\200\247\345\217\212\345\214\272\345\210\253.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\345\261\236\346\200\247\357\274\214\345\256\236\344\276\213\345\261\236\346\200\247\345\217\212\345\214\272\345\210\253.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\346\210\220\345\221\230\347\232\204\350\256\277\351\227\256\346\216\247\345\210\266\347\254\246\345\217\212\345\257\271\347\261\273\346\210\220\345\221\230\347\232\204\350\256\277\351\227\256\351\231\220\345\210\266\344\275\234\347\224\250.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\346\210\220\345\221\230\347\232\204\350\256\277\351\227\256\346\216\247\345\210\266\347\254\246\345\217\212\345\257\271\347\261\273\346\210\220\345\221\230\347\232\204\350\256\277\351\227\256\351\231\220\345\210\266\344\275\234\347\224\250.docx"
index c013f03d2519947e917379433cedb5e4553f89d8..e01b03c25ba457b54fb2e0af795b6c0224cc4fe9 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\346\210\220\345\221\230\347\232\204\350\256\277\351\227\256\346\216\247\345\210\266\347\254\246\345\217\212\345\257\271\347\261\273\346\210\220\345\221\230\347\232\204\350\256\277\351\227\256\351\231\220\345\210\266\344\275\234\347\224\250.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\346\210\220\345\221\230\347\232\204\350\256\277\351\227\256\346\216\247\345\210\266\347\254\246\345\217\212\345\257\271\347\261\273\346\210\220\345\221\230\347\232\204\350\256\277\351\227\256\351\231\220\345\210\266\344\275\234\347\224\250.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\346\226\271\346\263\225\357\274\214\345\256\236\344\276\213\346\226\271\346\263\225\345\217\212\345\214\272\345\210\253.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\346\226\271\346\263\225\357\274\214\345\256\236\344\276\213\346\226\271\346\263\225\345\217\212\345\214\272\345\210\253.docx"
index 7a77e8f8c6d057964bc7f7e52bd341337b7a18ca..8cc3a78df753b9e2f5c3ac65e0c5f77d011edcf9 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\346\226\271\346\263\225\357\274\214\345\256\236\344\276\213\346\226\271\346\263\225\345\217\212\345\214\272\345\210\253.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\346\226\271\346\263\225\357\274\214\345\256\236\344\276\213\346\226\271\346\263\225\345\217\212\345\214\272\345\210\253.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\347\232\204\350\256\277\351\227\256\346\216\247\345\210\266\347\254\246\345\217\212\345\205\266\345\220\253\344\271\211.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\347\232\204\350\256\277\351\227\256\346\216\247\345\210\266\347\254\246\345\217\212\345\205\266\345\220\253\344\271\211.docx"
index a8dbfdf030dd052123b033b1be7726dc05b7843b..433c59c81f407b5bea248b036656c586d5369af6 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\347\232\204\350\256\277\351\227\256\346\216\247\345\210\266\347\254\246\345\217\212\345\205\266\345\220\253\344\271\211.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0017\350\247\243\351\207\212\347\261\273_\350\256\277\351\227\256_\346\236\204\351\200\240/\347\261\273\347\232\204\350\256\277\351\227\256\346\216\247\345\210\266\347\254\246\345\217\212\345\205\266\345\220\253\344\271\211.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/ComplexNumber.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/ComplexNumber.class"
index d42bba61c85724294c26b190af70da67b824cec7..b7f05960c04824c6321d2678ff9b86de3315c8c9 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/ComplexNumber.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/ComplexNumber.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/ComplexNumber.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/ComplexNumber.java"
index 2014bcb682abd19dbb24b442a7c9972a6cbf786d..7510db8ac32dac86ee8e2b2fb01b79414b48eb2d 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/ComplexNumber.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/ComplexNumber.java"
@@ -1,3 +1,86 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:28a9e0f895ce57e462d1487463fa320f05bb53f040a44161f4bbca4423648efb
-size 3676
+import java.util.Scanner;
+
+public class ComplexNumber {//鍒涘缓澶嶆暟绫�
+ // 瀹為儴
+ private double real;//绉佹湁璁块棶灞炴�� 鍙岀簿搴� real 瀹為儴鐨勫0鏄�
+
+ // 铏氶儴
+ private double imaginary;//绉佹湁璁块棶灞炴�� 鍙岀簿搴� inaginary 铏氶儴鐨勫0鏄�
+
+ // 鏋勯�� 鏂规硶锛岀敤浜庡垱寤哄鏁板璞�
+ public ComplexNumber(double real, double imaginary) {
+ this.real = real;
+ this.imaginary = imaginary;
+ }
+
+ // 鍔犳硶杩愮畻锛岃繑鍥炰袱涓鏁扮浉鍔犵殑缁撴灉
+ public ComplexNumber add(ComplexNumber other) {
+ double realSum = this.real + other.real;
+ double imaginarySum = this.imaginary + other.imaginary;
+ return new ComplexNumber(realSum, imaginarySum);
+ }
+
+ // 鍑忔硶杩愮畻锛岃繑鍥炰袱涓鏁扮浉鍑忕殑缁撴灉
+ public ComplexNumber subtract(ComplexNumber other) {
+ double realDifference = this.real - other.real;
+ double imaginaryDifference = this.imaginary - other.imaginary;
+ return new ComplexNumber(realDifference, imaginaryDifference);
+ }
+
+ // 涔樻硶杩愮畻锛岃繑鍥炰袱涓鏁扮浉涔樼殑缁撴灉
+ public ComplexNumber multiply(ComplexNumber other) {
+ double realProduct = this.real * other.real - this.imaginary * other.imaginary;
+ double imaginaryProduct = this.real * other.imaginary + this.imaginary * other.real;
+ return new ComplexNumber(realProduct, imaginaryProduct);
+ }
+
+ // 闄ゆ硶杩愮畻锛岃繑鍥炰袱涓鏁扮浉闄ょ殑缁撴灉
+ public ComplexNumber divide(ComplexNumber other) {
+ double divisor = other.real * other.real + other.imaginary * other.imaginary;
+ double realQuotient = (this.real * other.real + this.imaginary * other.imaginary) / divisor;
+ double imaginaryQuotient = (this.imaginary * other.real - this.real * other.imaginary) / divisor;
+ return new ComplexNumber(realQuotient, imaginaryQuotient);
+ }
+
+ // 閲嶅啓 toString 鏂规硶锛屽皢澶嶆暟瀵硅薄杞崲涓哄瓧绗︿覆琛ㄧず褰㈠紡
+ @Override
+ public String toString() {
+ if (imaginary >= 0) {
+ return real + " + " + imaginary + "i";
+ } else {
+ return real + " - " + Math.abs(imaginary) + "i";
+ }
+ }
+
+ // 涓绘柟娉曪紝绋嬪簭鍏ュ彛
+ public static void main(String[] args) {
+ Scanner scanner = new Scanner(System.in);
+
+ // 浠庢帶鍒跺彴璇诲彇绗竴涓鏁扮殑瀹為儴鍜岃櫄閮�
+ System.out.println("璇疯緭鍏ヤ竴涓鏁扮殑瀹為儴:");
+ double real1 = scanner.nextDouble(); // 鎺ュ彈杈撳叆
+ System.out.println("璇疯緭鍏ョ涓�涓鏁扮殑铏氶儴:");
+ double imaginary1 = scanner.nextDouble(); // 鎺ュ彈杈撳叆
+ ComplexNumber c1 = new ComplexNumber(real1, imaginary1);
+
+ // 浠庢帶鍒跺彴璇诲彇绗簩涓鏁扮殑瀹為儴鍜岃櫄閮�
+ System.out.println("璇疯緭鍏ヤ簩涓鏁扮殑瀹為儴:");
+ double real2 = scanner.nextDouble(); // 鎺ュ彈杈撳叆
+ System.out.println("璇疯緭鍏ヤ簩涓鏁扮殑铏氶儴:");
+ double imaginary2 = scanner.nextDouble(); // 鎺ュ彈杈撳叆
+ ComplexNumber c2 = new ComplexNumber(real2, imaginary2);
+
+ scanner.close(); // 鍏抽棴绫伙紝閲婃斁鍐呭瓨
+
+ // 鎵ц鍔犮�佸噺銆佷箻銆侀櫎杩愮畻锛屽苟鎵撳嵃缁撴灉
+ ComplexNumber sum = c1.add(c2);
+ ComplexNumber difference = c1.subtract(c2);
+ ComplexNumber product = c1.multiply(c2);
+ ComplexNumber quotient = c1.divide(c2);
+
+ System.out.println("鍜�: " + sum);
+ System.out.println("宸�: " + difference);
+ System.out.println("绉�: " + product);
+ System.out.println("鍟�: " + quotient);
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/ComplexNumber.java.bak" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/ComplexNumber.java.bak"
index 6ce1b14a3d90fd44f01ed2c2ab0934912d88cd6e..7d23f65784171204c8a64032395fc91d7d34a16c 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/ComplexNumber.java.bak"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/ComplexNumber.java.bak"
@@ -1,3 +1,86 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:06fae5d3ef700d3fd0f292e2bb5586f72d9a641adddf505b309717490dee1e38
-size 3550
+import java.util.Scanner;
+
+public class ComplexNumber {
+ // 瀹為儴
+ private double real;
+
+ // 铏氶儴
+ private double imaginary;
+
+ // 鏋勯�犳柟娉曪紝鐢ㄤ簬鍒涘缓澶嶆暟瀵硅薄
+ public ComplexNumber(double real, double imaginary) {
+ this.real = real;
+ this.imaginary = imaginary;
+ }
+
+ // 鍔犳硶杩愮畻锛岃繑鍥炰袱涓鏁扮浉鍔犵殑缁撴灉
+ public ComplexNumber add(ComplexNumber other) {
+ double realSum = this.real + other.real;
+ double imaginarySum = this.imaginary + other.imaginary;
+ return new ComplexNumber(realSum, imaginarySum);
+ }
+
+ // 鍑忔硶杩愮畻锛岃繑鍥炰袱涓鏁扮浉鍑忕殑缁撴灉
+ public ComplexNumber subtract(ComplexNumber other) {
+ double realDifference = this.real - other.real;
+ double imaginaryDifference = this.imaginary - other.imaginary;
+ return new ComplexNumber(realDifference, imaginaryDifference);
+ }
+
+ // 涔樻硶杩愮畻锛岃繑鍥炰袱涓鏁扮浉涔樼殑缁撴灉
+ public ComplexNumber multiply(ComplexNumber other) {
+ double realProduct = this.real * other.real - this.imaginary * other.imaginary;
+ double imaginaryProduct = this.real * other.imaginary + this.imaginary * other.real;
+ return new ComplexNumber(realProduct, imaginaryProduct);
+ }
+
+ // 闄ゆ硶杩愮畻锛岃繑鍥炰袱涓鏁扮浉闄ょ殑缁撴灉
+ public ComplexNumber divide(ComplexNumber other) {
+ double divisor = other.real * other.real + other.imaginary * other.imaginary;
+ double realQuotient = (this.real * other.real + this.imaginary * other.imaginary) / divisor;
+ double imaginaryQuotient = (this.imaginary * other.real - this.real * other.imaginary) / divisor;
+ return new ComplexNumber(realQuotient, imaginaryQuotient);
+ }
+
+ // 閲嶅啓 toString 鏂规硶锛屽皢澶嶆暟瀵硅薄杞崲涓哄瓧绗︿覆琛ㄧず褰㈠紡
+ @Override
+ public String toString() {
+ if (imaginary >= 0) {
+ return real + " + " + imaginary + "i";
+ } else {
+ return real + " - " + Math.abs(imaginary) + "i";
+ }
+ }
+
+ // 涓绘柟娉曪紝绋嬪簭鍏ュ彛
+ public static void main(String[] args) {
+ Scanner scanner = new Scanner(System.in);
+
+ // 浠庢帶鍒跺彴璇诲彇绗竴涓鏁扮殑瀹為儴鍜岃櫄閮�
+ System.out.println("璇疯緭鍏ヤ竴涓鏁扮殑瀹為儴:");
+ double real1 = scanner.nextDouble(); // 鎺ュ彈杈撳叆
+ System.out.println("璇疯緭鍏ョ涓�涓鏁扮殑铏氶儴:");
+ double imaginary1 = scanner.nextDouble(); // 鎺ュ彈杈撳叆
+ ComplexNumber c1 = new ComplexNumber(real1, imaginary1);
+
+ // 浠庢帶鍒跺彴璇诲彇绗簩涓鏁扮殑瀹為儴鍜岃櫄閮�
+ System.out.println("璇疯緭鍏ヤ簩涓鏁扮殑瀹為儴:");
+ double real2 = scanner.nextDouble(); // 鎺ュ彈杈撳叆
+ System.out.println("璇疯緭鍏ヤ簩涓鏁扮殑铏氶儴:");
+ double imaginary2 = scanner.nextDouble(); // 鎺ュ彈杈撳叆
+ ComplexNumber c2 = new ComplexNumber(real2, imaginary2);
+
+ scanner.close(); // 鍏抽棴绫伙紝閲婃斁鍐呭瓨
+
+ // 鎵ц鍔犮�佸噺銆佷箻銆侀櫎杩愮畻锛屽苟鎵撳嵃缁撴灉
+ ComplexNumber sum = c1.add(c2);
+ ComplexNumber difference = c1.subtract(c2);
+ ComplexNumber product = c1.multiply(c2);
+ ComplexNumber quotient = c1.divide(c2);
+
+ System.out.println("鍜�: " + sum);
+ System.out.println("宸�: " + difference);
+ System.out.println("绉�: " + product);
+ System.out.println("鍟�: " + quotient);
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/\350\257\264\346\230\216\346\226\207\346\241\243.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/\350\257\264\346\230\216\346\226\207\346\241\243.docx"
index c1ff8d04638149efb1eed2c0caadafc3893a7fc0..38146d935aa1c74114c74ffc9caa11369af80d67 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/\350\257\264\346\230\216\346\226\207\346\241\243.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0018\345\244\215\346\225\260\347\261\273/\350\257\264\346\230\216\346\226\207\346\241\243.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/Patient.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/Patient.class"
index 16054312870d2a2fde2a62813f9f0ab2195d657a..69ae86ee68836036740b6acc6d4f5451388edc3c 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/Patient.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/Patient.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/Patient.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/Patient.java"
index 5472cbf573fb2e70e4469417ac85ef075a2ca4c8..94cc3d372ddf17cb753a59708ded1112c58ef80f 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/Patient.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/Patient.java"
@@ -1,3 +1,66 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1a2983aab271a933fb2249f5426cf93e3fa1c9a9466209d77347246a33cf2f95
-size 1363
+public class Patient {
+ private String name;
+ private char sex;
+ private int age;
+ private float weight;
+ private boolean allergies;
+
+ // 鏋勯�犳柟娉�
+ public Patient(String name, char sex, int age, float weight, boolean allergies) {
+ this.name = name;
+ this.sex = sex;
+ this.age = age;
+ this.weight = weight;
+ this.allergies = allergies;
+ }
+
+ // 鑾峰彇濮撳悕
+ public String getName() {
+ return name;
+ }
+
+ // 璁剧疆濮撳悕
+ public void setName(String name) {
+ this.name = name;
+ }
+
+ // 鑾峰彇鎬у埆
+ public char getSex() {
+ return sex;
+ }
+
+ // 璁剧疆鎬у埆
+ public void setSex(char sex) {
+ this.sex = sex;
+ }
+
+ // 鑾峰彇骞撮緞
+ public int getAge() {
+ return age;
+ }
+
+ // 璁剧疆骞撮緞
+ public void setAge(int age) {
+ this.age = age;
+ }
+
+ // 鑾峰彇浣撻噸
+ public float getWeight() {
+ return weight;
+ }
+
+ // 璁剧疆浣撻噸
+ public void setWeight(float weight) {
+ this.weight = weight;
+ }
+
+ // 鑾峰彇鏄惁鏈夎繃鏁忓彶
+ public boolean hasAllergies() {
+ return allergies;
+ }
+
+ // 璁剧疆鏄惁鏈夎繃鏁忓彶
+ public void setAllergies(boolean allergies) {
+ this.allergies = allergies;
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/TestPatient.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/TestPatient.class"
index 8b36ab5c81f17b360a10c1bd749c795ec5b5b1a8..9f1f16e86ed65806606f049b5d86c79dd712d8ef 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/TestPatient.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/TestPatient.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/TestPatient.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/TestPatient.java"
index 61f702dac2bca276d3fdc9faa64646e32a66df05..2574c6f34dfa7245181b40b56a79fab4f3f5b5f0 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/TestPatient.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0019\346\250\241\346\213\237\347\227\205\344\272\272/TestPatient.java"
@@ -1,3 +1,22 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:29bab29a1e4bb1b78ca288b94d8de25cfcf267506f09d1b93f890d9c92d8b8f1
-size 917
+public class TestPatient {
+ public static void main(String[] args) {
+ // 鍒涘缓涓や釜鐥呬汉瀵硅薄骞惰缃姸鎬�
+ Patient patient1 = new Patient("John Doe", 'M', 35, 75.5f, true);
+ Patient patient2 = new Patient("Jane Smith", 'F', 28, 60.2f, false);
+
+ // 鏄剧ず鐥呬汉淇℃伅
+ System.out.println("Patient 1:");
+ displayPatientInfo(patient1);
+ System.out.println("\nPatient 2:");
+ displayPatientInfo(patient2);
+ }
+
+ // 鏄剧ず鐥呬汉淇℃伅鐨勬柟娉�
+ public static void displayPatientInfo(Patient patient) {
+ System.out.println("Name: " + patient.getName());
+ System.out.println("Sex: " + patient.getSex());
+ System.out.println("Age: " + patient.getAge());
+ System.out.println("Weight: " + patient.getWeight());
+ System.out.println("Allergies: " + (patient.hasAllergies() ? "Yes" : "No"));
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Employee.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Employee.class"
index 2d8115a24111b1de1f8a7d289a3d0dec5bb87ce5..d618abf077dcd1af6135e92be3275d68335c94ab 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Employee.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Employee.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Employee.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Employee.java"
index 16055a6111e94621c427c45c1e5860abe75b5e23..dd17b43f044f66989cb6d09d0fbf05f19080baec 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Employee.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Employee.java"
@@ -1,3 +1,8 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:40d6147bd6affe038fab8a0ffa699aa035301b905d8be576c157c6ed82609a4e
-size 177
+
+//璁惧畾 闆囧憳 绫� 锛� 缁ф壙 浜� 绫�
+public class Employee extends Person{
+ public int employeeNumber;
+ public int getEmployeeNumber(){
+ return employeeNumber;
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Manager.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Manager.class"
index ecc9f9129d1eb7fed2b8738a745736c0e0afcdae..e7606f119f8d74956d7e5805502e70956953b7c1 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Manager.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Manager.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Manager.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Manager.java"
index b7f94a0582ab3a5dceeee780f10596af549cee52..6c9ab160a50fbb4e40cb00927bef5abc27c76657 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Manager.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Manager.java"
@@ -1,3 +1,7 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:1340d1fe151b4bc06002049d738ad0e8b9c9f02b1db44df1147343fc44bd5182
-size 211
+//璁惧畾 缁忕悊 绫� 锛� 缁ф壙 闆囧憳 绫�
+public class Manager extends Employee{
+ public String responsibilities;//鑱岃矗
+ public String getResponsibilities(){//璋冪敤鑱岃矗
+ return responsibilities;
+ }
+}
\ No newline at end of file
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Person.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Person.class"
index 0dc7587da28ab6585cfb1a824a6b6734c069dce5..290935179f6d2a1dafbab66a1ee26f994082a808 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Person.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Person.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Person.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Person.java"
index 38a51f9b5eb69b0b6072d98e18dc9f1e29aec00d..da76ad918208a0b0e7f4c919fe8515b2e8d11d3e 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Person.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Person.java"
@@ -1,3 +1,8 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:c5c7a26a2dff4d8a584456ebdc493e7e654225b6f6080a9a3971b99f4f59d6a1
-size 111
+//璁惧畾浜� 绫�
+public class Person{
+ public String name;
+ public String getName(){
+ return name;
+ }
+
+}
\ No newline at end of file
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Tester.class" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Tester.class"
index 439a551e143555747f1b53d114821819fd3602ad..3d7507687cbd853b5f76369a85cf03ab2bf7da8e 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Tester.class" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Tester.class" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Tester.java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Tester.java"
index 79e41513123ec251f9cdb3863f7360274fd4b7f8..43c3676cf53ed0dd900e2a389b5a8f42b44c41e9 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Tester.java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0020\345\205\254\346\234\211\345\217\212\344\277\235\346\212\244\345\261\236\346\200\247\347\232\204\347\273\247\346\211\277/Tester.java"
@@ -1,3 +1,19 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:502c9e5bd32f9a06242e38ef2f3a3998957d324b81d9fd0bf27cdafecca71fba
-size 541
+
+//寮�濮嬩富绋嬪簭
+public class Tester
+{
+ public static void main(String[] args){
+ Employee li = new Employee();
+ li.name = "Li Ming";
+ li.employeeNumber = 123456;
+ System.out.println(li.getName());
+ System.out.println(li.getEmployeeNumber());
+ Manager he = new Manager();
+ he.name = "He Xia";
+ he.employeeNumber = 568245;
+ he.responsibilities = "Internet Projecct";
+ System.out.println(he.getName());
+ System.out.println(he.getEmployeeNumber());
+ System.out.println(he.getResponsibilities());
+ }
+}//璁ょ湡debug
\ No newline at end of file
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (6).java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (6).java"
index 5c1c680ea9c1381be1535400b18e88b37de3fff0..23cbc980027dae0125a2e85bf51c31524ebcee37 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (6).java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (6).java"
@@ -1,3 +1,4 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:01d86a35bc9ac572ec431a89c03ca8fb75c37b769e6dbe056cf66c15df48543f
-size 39
+public class Circle
+{
+ int radius;
+}
\ No newline at end of file
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (6).java.bak" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (6).java.bak"
index 402057220fbfcd2a41c5e086f7c8aaefbabccaa6..24745747d731d9e2770a7bcd7060dd2cb978c118 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (6).java.bak"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (6).java.bak"
@@ -1,3 +1,4 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b74088c1078db7661ec3ff2601be44a7a2f89ea1f1aa8e091161ca3107180669
-size 41
+public class Circle
+{
+ int radius;ss
+}
\ No newline at end of file
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (7).java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (7).java"
index f01ac8f2a0ad32036f863f185c5ff96e73af6eb8..a30f4fd0d9ee09164e2b14f1afbe42bf37e38034 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (7).java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (7).java"
@@ -1,3 +1,7 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7aa19ca422c2fcbd62dcc475fced839bee2dcf39d9803a0daee747850055e79a
-size 104
+class
+{
+ public static void main(String[] args)
+ {
+ System.out.println("Hello World!");
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (8).java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (8).java"
index f01ac8f2a0ad32036f863f185c5ff96e73af6eb8..a30f4fd0d9ee09164e2b14f1afbe42bf37e38034 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (8).java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (8).java"
@@ -1,3 +1,7 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7aa19ca422c2fcbd62dcc475fced839bee2dcf39d9803a0daee747850055e79a
-size 104
+class
+{
+ public static void main(String[] args)
+ {
+ System.out.println("Hello World!");
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (9).java" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (9).java"
index f01ac8f2a0ad32036f863f185c5ff96e73af6eb8..a30f4fd0d9ee09164e2b14f1afbe42bf37e38034 100644
--- "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (9).java"
+++ "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0021\346\225\260\346\215\256\346\210\220\345\221\230\357\274\210\346\234\252\345\256\214\346\210\220\357\274\211/Untitled1 - \345\211\257\346\234\254 - \345\211\257\346\234\254 (9).java"
@@ -1,3 +1,7 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:7aa19ca422c2fcbd62dcc475fced839bee2dcf39d9803a0daee747850055e79a
-size 104
+class
+{
+ public static void main(String[] args)
+ {
+ System.out.println("Hello World!");
+ }
+}
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0022\347\261\273\344\270\216\345\214\205\347\232\204\350\257\264\346\230\216/this\345\222\214super.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0022\347\261\273\344\270\216\345\214\205\347\232\204\350\257\264\346\230\216/this\345\222\214super.docx"
index 4ed85f2981da0a195ac717bdf5468590ede3dd07..41cadaabc5ee4be1104721c347fafc01ce49471a 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0022\347\261\273\344\270\216\345\214\205\347\232\204\350\257\264\346\230\216/this\345\222\214super.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0022\347\261\273\344\270\216\345\214\205\347\232\204\350\257\264\346\230\216/this\345\222\214super.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0022\347\261\273\344\270\216\345\214\205\347\232\204\350\257\264\346\230\216/\345\214\205___jar__.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0022\347\261\273\344\270\216\345\214\205\347\232\204\350\257\264\346\230\216/\345\214\205___jar__.docx"
index bb8ae887f7f258f3b354dcb1bb2c880138d614a4..7ab2b1208ccd9f62eaf60a312c2ba898af913214 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0022\347\261\273\344\270\216\345\214\205\347\232\204\350\257\264\346\230\216/\345\214\205___jar__.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0022\347\261\273\344\270\216\345\214\205\347\232\204\350\257\264\346\230\216/\345\214\205___jar__.docx" differ
diff --git "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0022\347\261\273\344\270\216\345\214\205\347\232\204\350\257\264\346\230\216/\345\255\220\347\261\273\344\270\216\350\266\205\347\261\273.docx" "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0022\347\261\273\344\270\216\345\214\205\347\232\204\350\257\264\346\230\216/\345\255\220\347\261\273\344\270\216\350\266\205\347\261\273.docx"
index d0b453855c69a0bd6b3b604acf80f85cb608496c..e2b9186b34269772219dea614f2a250d48d915a2 100644
Binary files "a/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0022\347\261\273\344\270\216\345\214\205\347\232\204\350\257\264\346\230\216/\345\255\220\347\261\273\344\270\216\350\266\205\347\261\273.docx" and "b/Java\347\250\213\345\272\217\345\255\246\344\271\240\345\222\214\350\256\255\347\273\203/0022\347\261\273\344\270\216\345\214\205\347\232\204\350\257\264\346\230\216/\345\255\220\347\261\273\344\270\216\350\266\205\347\261\273.docx" differ