public void loadConfiguration()
	{

		XMLFileChooser fc = new XMLFileChooser();
		if (fc.showOpenDialog(new JPanel()) == XMLFileChooser.APPROVE_OPTION) {
			this.loadConfig(fc.getSelectedFile().getPath());
		}
	}
public void loadConfiguration ( ) { XMLFileChooser fc = new XMLFileChooser ( ) ; if ( fc . showOpenDialog ( new JPanel ( ) ) == XMLFileChooser . APPROVE_OPTION ) { this . loadConfig ( fc . getSelectedFile ( ) . getPath ( ) ) ; } }
Loads the configuration file. The path of the file will be chosen by
displaying a FileChooser Dialog.