// Path: src/main/java/com/readytalk/swt/util/Executor.java
// public interface Executor {
//   public void timerExec(final int time, final Runnable runnable);
//   public void asyncExec(Runnable runnable);
// }


import com.readytalk.swt.util.Executor;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.widgets.Control;
import java.util.logging.Logger;
    }
  }

  private void moveY() {
    if(changeYPosition) {
      currentY = calculateDiff(currentY, targetY);
    }
  }

  /**
   * Convienience method, but as primtives are pass-by-value only you must assign the results!
   */
  private int calculateDiff(int current, int target) {
    int result = current;
    int diff = Math.abs(current - target);
    int pixels = (diff < pixelIncrement) ? diff : pixelIncrement;
    if (current > target) {
      result = current - pixels;
    }
    if (current < target) {
      result = current + pixels;
    }
    return result;
  }

  /**
   * Clients should not call this directly.  Use startEffect() instead.
   */
  public void effectStep() {

// Path: src/main/java/com/readytalk/swt/util/Executor.java
// public interface Executor {
//   public void timerExec(final int time, final Runnable runnable);
//   public void asyncExec(Runnable runnable);
// }


// Path: src/main/java/com/readytalk/swt/effects/ResizeEffect.java
import com.readytalk.swt.util.Executor;
import org.eclipse.swt.graphics.Point;
import org.eclipse.swt.graphics.Rectangle;
import org.eclipse.swt.widgets.Control;
import java.util.logging.Logger;

    }
  }

  private void moveY() {
    if(changeYPosition) {
      currentY = calculateDiff(currentY, targetY);
    }
  }

  /**
   * Convienience method, but as primtives are pass-by-value only you must assign the results!
   */
  private int calculateDiff(int current, int target) {
    int result = current;
    int diff = Math.abs(current - target);
    int pixels = (diff < pixelIncrement) ? diff : pixelIncrement;
    if (current > target) {
      result = current - pixels;
    }
    if (current < target) {
      result = current + pixels;
    }
    return result;
  }

  /**
   * Clients should not call this directly.  Use startEffect() instead.
   */
  public void effectStep() {

    resizeWidth();