001 package com.croftsoft.core.animation; 002 003 import javax.swing.JComponent; 004 005 /********************************************************************* 006 * Updates the state of a JComponent and calls repaint() as required. 007 * 008 * @version 009 * 2002-03-23 010 * @since 011 * 2002-02-18 012 * @author 013 * <a href="https://www.croftsoft.com/">David Wallace Croft</a> 014 *********************************************************************/ 015 016 public interface ComponentUpdater 017 ////////////////////////////////////////////////////////////////////// 018 ////////////////////////////////////////////////////////////////////// 019 { 020 021 /********************************************************************* 022 * Updates the state of a JComponent and calls repaint() as required. 023 *********************************************************************/ 024 public void update ( JComponent component ); 025 026 ////////////////////////////////////////////////////////////////////// 027 ////////////////////////////////////////////////////////////////////// 028 }