/*    */ package DFT;
/*    */ 
/*    */ import java.awt.BorderLayout;
/*    */ import java.awt.Dimension;
/*    */ import javax.swing.JFrame;
/*    */ import javax.swing.JPanel;
/*    */ import signals.Signals;
/*    */ 
/*    */ 
/*    */ public class TraceDFT
/*    */   extends JFrame
/*    */ {
/*    */   private static final long serialVersionUID = 1L;
/*    */   private Graph graph;
/*    */   private Tools tools;
/* 16 */   private JPanel container = new JPanel();
/*    */   
/*    */   public TraceDFT(Signals s, int width)
/*    */   {
/* 20 */     setTitle("DFT");
/* 21 */     setSize(width + 20, 500);
/* 22 */     setLocationRelativeTo(null);
/* 23 */     setDefaultCloseOperation(1);
/*    */     
/* 25 */     this.container.setLayout(new BorderLayout());
/*    */     
/* 27 */     this.graph = new Graph();
/* 28 */     this.tools = new Tools(s, width, this.graph);
/* 29 */     this.tools.setPreferredSize(new Dimension(getWidth(), 90));
/*    */     
/* 31 */     this.container.add(this.tools, "North");
/* 32 */     this.container.add(this.graph, "Center");
/*    */     
/* 34 */     setContentPane(this.container);
/*    */     
/* 36 */     setVisible(true);
/* 37 */     this.tools.repaint();
/*    */   }
/*    */ }


/* Location:              F:\JAVA\WORKSPACE\chronoEditor_v2.3.jar!\DFT\TraceDFT.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */