📄 appletlifecycle.java
字号:
package com.croftsoft.core.lang.lifecycle; import java.applet.Applet; import com.croftsoft.core.lang.NullArgumentException;
/********************************************************************* * Wraps the Lifecycle interface around an Applet. *
* @version
* 2003-06-04
* @since
* 2003-06-04
* @author * <a href="http://www.croftsoft.com/">David Wallace Croft</a> *********************************************************************/
public final class AppletLifecycle
implements Lifecycle
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
{ private final Applet applet; //////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
public AppletLifecycle ( Applet applet ) //////////////////////////////////////////////////////////////////////
{ NullArgumentException.check ( this.applet = applet ); }
//////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////// public void init ( ) { applet.init ( ); }
public void start ( ) { applet.start ( ); }
public void stop ( ) { applet.stop ( ); }
public void destroy ( ) { applet.destroy ( ); }
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -