01: package com.xoetrope.carousel.visualizer;
02:
03: import javax.swing.JFrame;
04: import net.xoetrope.optional.data.XModelVisualiser;
05:
06: /**
07: * A frame for hosting the standalone model visualizer.
08: * <p> Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under
09: * the GNU Public License (GPL), please see license.txt for more details. If
10: * you make commercial use of this software you must purchase a commercial
11: * license from Xoetrope.</p>
12: * <p> $Revision: 1.3 $</p>
13: */
14: public class VisualiserFrame extends JFrame implements XModelVisualiser {
15: /**
16: * Creates a new instance of VisualiserFrame
17: */
18: public VisualiserFrame() {
19: ModelVisualiserPanel visualiser = new ModelVisualiserPanel(200,
20: null);
21: add(visualiser);
22: }
23:
24: /**
25: * Show the visualizer
26: * @param path unused
27: */
28: public void showDlg(String path) {
29: setSize(300, 400);
30: setVisible(true);
31: }
32: }
|