01: /**
02: * Created on Dec 2, 2004
03: *
04: * @author karthikeyanr
05: *
06: */package wizard.helper;
07:
08: import java.lang.ref.WeakReference;
09:
10: import wizard.ui.AbstractMagicPanel;
11:
12: public class MagicPanelReference extends WeakReference {
13:
14: public MagicPanelReference(Object referent) {
15: super (referent);
16: }
17:
18: public AbstractMagicPanel panel() {
19: return (AbstractMagicPanel) super.get();
20: }
21: }
|