public InputFrame(String source, Point sourcePoint){
		this.frame = new JFrame("");
		frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);		
		frame.setLocation(new Point(sourcePoint.x + 150, sourcePoint.y + 150));
		this.source = source;
		switch(source){
		case "artist":
			ArtistPanel aPanel = new ArtistPanel();
			frame.setContentPane(aPanel.makeArtistPane(frame));
			frame.setTitle("Add artist");
			frame.setSize(new Dimension(300,200));
			break;
		case "stage":
			StagePanel sPanel = new StagePanel();
			frame.setContentPane(sPanel.makeStagePane(frame));
			frame.setTitle("Add stage");
			frame.setSize(new Dimension(275, 150));
			break;
		case "performance":
			PerformancePanel pPanel = new PerformancePanel();
			frame.setContentPane(pPanel.makePerformancePane(frame));
			frame.setTitle("Add performance");
			frame.setSize(new Dimension(400,307));
			break;
		case "editArtist":
			frame.setContentPane(makeSelector());
			frame.setTitle("Edit artist");
			break;
		case "editStage":
			frame.setContentPane(makeSelector());
			frame.setTitle("Edit stage");
			break;
		case "editPerformance":
			frame.setContentPane(makeSelector());
			frame.setTitle("Edit performance");
			break;
		default:
			frame.setContentPane(makeErrorPane());
			frame.setTitle("Error");
			break;
		}
		frame.setVisible(true);
	}