⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 16_07.doc

📁 经典的<<C how to program>一书第三版的例程。非常适合于C的初学者。
💻 DOC
字号:
deitelLoop.java 

** already have docs on HTML parameters

Line 35 declares and initializes a new LogoAnimator object by sending, as arguments, totalImages, animationDelay, and imageName.

Next, line 38 sets the size of the applet to slightly larger than that of the animation.  The animation is added to the center of the applet in line 40.  In line 42 the startAnimation method of the LogoAnimator class is called and then animation begins.


LogoAnimator.java

Beginning on line 35 is a second constructor that takes arguments for totalImages, currentImage, and imageName.  It simply calls the zero argument default constructor in line 37 and then sets those variables in lines 38-40.



⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -