public ACOPanel(double[][][] graph, Dimension d, Waiter w) {
		super(new FlowLayout());
		wait1 = w;
		
		this.setPreferredSize(d);
		frameSize = d;
		
		System.out.println("This is the Panel size: "+this.getSize().width + ", " +this.getSize().height);

		canvas = new ArtComponent(graph, d, this);
		canvas.setOpaque(true);
		canvas.setVisible(true);
		canvas.setBackground(Color.black);
		canvas.setBorder(BorderFactory.createLineBorder(Color.black, 3));
		
		startButton = new JButton("Begin ACO");
		startButton.addActionListener(this);
		stepButton = new JButton("Step to Solution");
		stepButton.addActionListener(this);
		stepButton.setEnabled(false);
		nextBestButton = new JButton("Step to Next Best Solution");
		nextBestButton.addActionListener(this);
		nextBestButton.setEnabled(false);
		
		this.add(startButton);
		this.add(stepButton);
		this.add(nextBestButton);
		
		this.add(canvas);
		
	}