资源简介
绝版jdk1.5,非常不错的资源。用起来很好。是 Java语言对Bean类属性、事件的一种缺省处理方法。例如类A中有属性name,那我们可以通过getName,setName来得到其值或者设置新 的值。通过getName/setName来访问name属性,这就是默认的规则。Java中提供了一套API用来访问某个属性的getter /setter方法,通过这些API可以使你不需要了解这个规则(但你最好还是要搞清楚),这些API存放于包java.beans中。
代码片段和文件信息
/*
* @(#)Animator.java 1.13 04/07/26
*
* Copyright (c) 2004 Sun Microsystems Inc. All Rights Reserved.
*
* Redistribution and use in source and binary forms with or without
* modification are permitted provided that the following conditions are met:
*
* -Redistribution of source code must retain the above copyright notice this
* list of conditions and the following disclaimer.
*
* -Redistribution 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 Sun Microsystems Inc. or the names of contributors may
* be used to endorse or promote products derived from this software without
* specific prior written permission.
*
* This software is provided “AS IS“ without a warranty of any kind. ALL
* EXPRESS OR IMPLIED CONDITIONS REPRESENTATIONS AND WARRANTIES INCLUDING
* ANY IMPLIED WARRANTY OF MERCHANTABILITY FITNESS FOR A PARTICULAR PURPOSE
* OR NON-INFRINGEMENT ARE HEREBY EXCLUDED. SUN MIDROSYSTEMS INC. (“SUN“)
* AND ITS LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE
* AS A RESULT OF USING MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS
* DERIVATIVES. IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST
* REVENUE PROFIT OR DATA OR FOR DIRECT INDIRECT SPECIAL CONSEQUENTIAL
* INCIDENTAL OR PUNITIVE DAMAGES HOWEVER CAUSED AND REGARDLESS OF THE THEORY
* OF LIABILITY ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE
* EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*
* You acknowledge that this software is not designed licensed or intended
* for use in the design construction operation or maintenance of any
* nuclear facility.
*/
/*
* @(#)Animator.java 1.13 04/07/26
*/
import java.awt.*;
import java.awt.event.*;
import java.applet.applet;
import java.applet.AudioClip;
import java.util.Vector;
import java.util.Hashtable;
import java.util.Enumeration;
import java.net.URL;
import java.net.MalformedURLException;
import java.util.List;
import java.util.ArrayList;
import java.util.Iterator;
/**
* 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 plets/applets/Animator/“>Animator
* home page for details and updates.
*
* @author Herb Jellinek
* @version 1.13 07/26/04
*/
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?
Anim
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 49274 2004-12-06 21:08 jdk1.5.0_01\bin\ap
文件 49263 2004-12-06 21:08 jdk1.5.0_01\bin\apt.exe
文件 36975 2004-12-06 21:49 jdk1.5.0_01\bin\beanreg.dll
文件 49272 2004-12-06 21:08 jdk1.5.0_01\bin\extcheck.exe
文件 24576 2004-12-06 21:31 jdk1.5.0_01\bin\HtmlConverter.exe
文件 49274 2004-12-06 21:08 jdk1.5.0_01\bin\idlj.exe
文件 49255 2004-12-06 21:08 jdk1.5.0_01\bin\jar.exe
文件 49276 2004-12-06 21:08 jdk1.5.0_01\bin\jarsigner.exe
文件 49248 2004-12-06 21:08 jdk1.5.0_01\bin\java.exe
文件 49269 2004-12-06 21:08 jdk1.5.0_01\bin\javac.exe
文件 49275 2004-12-06 21:08 jdk1.5.0_01\bin\javadoc.exe
文件 49269 2004-12-06 21:08 jdk1.5.0_01\bin\javah.exe
文件 49265 2004-12-06 21:08 jdk1.5.0_01\bin\javap.exe
文件 49250 2004-12-06 21:08 jdk1.5.0_01\bin\javaw.exe
文件 127078 2004-12-06 21:31 jdk1.5.0_01\bin\javaws.exe
文件 49274 2004-12-06 21:08 jdk1.5.0_01\bin\jconsole.exe
文件 49278 2004-12-06 21:08 jdk1.5.0_01\bin\jdb.exe
文件 49259 2004-12-06 21:08 jdk1.5.0_01\bin\jps.exe
文件 49265 2004-12-06 21:08 jdk1.5.0_01\bin\jstat.exe
文件 49268 2004-12-06 21:08 jdk1.5.0_01\bin\jstatd.exe
文件 49272 2004-12-06 21:08 jdk1.5.0_01\bin\keytool.exe
文件 49268 2004-12-06 21:08 jdk1.5.0_01\bin\kinit.exe
文件 49268 2004-12-06 21:08 jdk1.5.0_01\bin\klist.exe
文件 49266 2004-12-06 21:08 jdk1.5.0_01\bin\ktab.exe
文件 49286 2004-12-06 21:08 jdk1.5.0_01\bin\native2ascii.exe
文件 53383 2004-12-06 21:08 jdk1.5.0_01\bin\orbd.exe
文件 49280 2004-12-06 21:08 jdk1.5.0_01\bin\pack200.exe
文件 69745 2004-12-06 21:31 jdk1.5.0_01\bin\packager.exe
文件 49278 2004-12-06 21:08 jdk1.5.0_01\bin\policytool.exe
文件 49260 2004-12-06 21:08 jdk1.5.0_01\bin\rmic.exe
............此处省略2011个文件信息
评论
共有 条评论