/* 
	Frame1.java

	Author:			daassi
	Description:	
*/

package CometAppli;

import java.awt.*;
import java.awt.event.*;


import java.awt.*;
import java.awt.event.*;

//import ContextorSimulator.*;
import circularRepresentation.* ;

//import contextListener.*;

public class Frame1 extends Frame 
{
   circularRepresentation circularRep = new circularRepresentation () ;
   //ContextorSimulator contextor = new ContextorSimulator () ;
    
	public Frame1()
	{
	   addComponentListener(new ComponentListener () {
						 	
			
			public void componentHidden(ComponentEvent e)
			{
				
			}
			public void componentMoved(ComponentEvent e)
			{
				
			}
			public void componentResized(ComponentEvent e)
			{
				
			}
			public void componentShown(ComponentEvent e)
			{
				
			}
		});
		
		/*
		contextor.initComponents() ;
		contextor.addcontextListener(new contextListener () {
		    
		    public void newContextInformations()
			{
				processNewContextInfos () ;
			}
		
		});		
	  */
	}
  
   public void processNewContextInfos ()
   {
     System.out.println("New context informations");
   
   }
  
	public void initComponents() throws Exception
	{            
		// the following code sets the frame's initial state
		setSize(new java.awt.Dimension(733, 595));
		setLayout(null);
		setTitle("cometTest.Frame1");
		setLocation(new java.awt.Point(0, 0));

        circularRep.setSize(430, 430);
        circularRep.setLocation (100, 100);
        circularRep.setVisible(true);
        add(circularRep);
        
		/*addWindowListener(new java.awt.event.WindowAdapter() {
			public void windowClosing(java.awt.event.WindowEvent e) {
				thisWindowClosing(e);
			}
		});*/
// END GENERATED CODE
	}
	}