Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/arranger/jarl/widget/base/FrameDebugText.java


1   package com.arranger.jarl.widget.base;
2   
3   import com.arranger.jarl.base.IContext;
4   
5   import java.awt.*;
6   
7   /**
8    * FrameDebugText created on Feb 24, 2003
9    */
10  public class FrameDebugText extends Text {
11  
12      /**
13       * Called from within {@link #paint}
14       *
15       * @param context
16       * @param graphics2D
17       */
18      protected void _paint(IContext context, Graphics2D graphics2D) {
19          m_text = "Frame: " + context.getTime().getFrame();
20          super._paint(context, graphics2D);
21      }
22  }