astex
Class Util

java.lang.Object
  extended by astex.Util

public class Util
extends java.lang.Object


Constructor Summary
Util()
           
 
Method Summary
static java.applet.Applet getApplet(java.awt.Component c)
          Return the applet that contains the specified component.
static java.awt.Frame getFrame(java.awt.Component c)
          Return the frame that contains the specified component.
static java.lang.String replace(java.lang.String s, java.lang.String pattern, java.lang.String replace)
           
static void startTimer(int i)
          Start the specified time.
static void stopTimer(java.lang.String s, int i)
          Stop the current timer and return its delta in milliseconds.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

startTimer

public static void startTimer(int i)
Start the specified time.


stopTimer

public static void stopTimer(java.lang.String s,
                             int i)
Stop the current timer and return its delta in milliseconds.


replace

public static java.lang.String replace(java.lang.String s,
                                       java.lang.String pattern,
                                       java.lang.String replace)

getFrame

public static java.awt.Frame getFrame(java.awt.Component c)
Return the frame that contains the specified component.


getApplet

public static java.applet.Applet getApplet(java.awt.Component c)
Return the applet that contains the specified component.