package bmsi.fsp;

import java.io.IOException;
import java.awt.dnd.peer.DragSourceContextPeer;
import java.awt.dnd.DragGestureEvent;
import java.text.AttributedCharacterIterator;

/** Implement Java 2 API that cannot be compiled in JDK 1.1.
  @author Stuart D. Gathman
  Copyright (C) 2000 Business Management Systems, Inc.
 */
public class FSToolkit2 extends FSToolkit {
  public FSToolkit2() throws IOException { }

  public DragSourceContextPeer
    createDragSourceContextPeer(DragGestureEvent e) { return null; }

  FSGraphics createGraphics(FSComponent comp) {
    return new FSGraphics(comp) {
      public void drawString(AttributedCharacterIterator iter, int x, int y)  {
      }
    };
  }
}
