componentupdater.java

来自「CroftSoft Code Library是一个开源的可移植的纯Java游戏库」· Java 代码 · 共 29 行

JAVA
29
字号
     package com.croftsoft.core.animation;

     import javax.swing.JComponent;

     /*********************************************************************
     * Updates the state of a JComponent and calls repaint() as required.
     *
     * @version
     *   2002-03-23
     * @since
     *   2002-02-18
     * @author
     *   <a href="http://www.croftsoft.com/">David Wallace Croft</a>
     *********************************************************************/

     public interface  ComponentUpdater
     //////////////////////////////////////////////////////////////////////
     //////////////////////////////////////////////////////////////////////
     {

     /*********************************************************************
     * Updates the state of a JComponent and calls repaint() as required.
     *********************************************************************/
     public void  update ( JComponent  component );

     //////////////////////////////////////////////////////////////////////
     //////////////////////////////////////////////////////////////////////
     }

⌨️ 快捷键说明

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