01: package org.uispec4j.interception.toolkit;
02:
03: import java.awt.*;
04:
05: public class UISpecFramePeer extends Empty.FramePeer {
06: private Frame frame;
07:
08: public UISpecFramePeer(Frame frame) {
09: this .frame = frame;
10: }
11:
12: public void show() {
13: UISpecDisplay.instance().showFrame(frame);
14: UISpecDisplay.instance().rethrowIfNeeded();
15: }
16:
17: public Toolkit getToolkit() {
18: return UISpecToolkit.instance();
19: }
20: }
|