public PartitionSelectionPanel(File[] partitions)
	{
		setLayout(new GridLayout(partitions.length+1, 1, 2, 2));
		
		header = new JLabel("Partitions Found");
		add(header);
		
		partitionButtons = new JButton[partitions.length];
		
		for (int i = 0; i < partitions.length; i++) //generate partition buttons
		{
			partitionButtons[i] = new JButton(partitions[i].getAbsolutePath());
			partitionButtons[i].addActionListener(this);
			add(partitionButtons[i]);
		}
	}