private void addStringsToFileMenu(JMenu menu, String[] labelList) {
		for (int i = 0; i < labelList.length; i++) {
			JMenuItem item = new JMenuItem(labelList[i]);
			item.addActionListener(new ActionListener() {
				@Override
				public void actionPerformed(ActionEvent arg0) {
					String label = ((JMenuItem)arg0.getSource()).getText();
					if (label.equals(fileLabels[0])) {	//savePicture
						variableDisplay.savePicture();
					} 
					else if (label.equals(helpLabels[0])) {
						BrowserControl.displayURL("http://www.globalsystemsscience.org");
					}
					else if (label.equals(fileLabels[1]) && (variableDisplay != null)) {	//Print picture
						variableDisplay.printPicture();
					}

				}
			});
			menu.add(item);
		}
	}