public boolean loadPanel(){
		try{
			/*fc.setFileSelectionMode(JFileChooser.FILES_ONLY);
			int returnVal = fc.showOpenDialog(this);

	        if(returnVal == JFileChooser.APPROVE_OPTION) {
	        	File file = fc.getSelectedFile();*/
				BufferedReader br = new BufferedReader(new FileReader(new File("panels.xml")));

		        StringBuilder sb = new StringBuilder();
		        String line;

		        while ((line = br.readLine()) != null) {
		            sb.append(line);
		        }
		        
		        String everything = sb.toString();
		        System.out.println(everything);
		        br.close();
		        
		        
		        xstream = new XStream(new DomDriver());
				
				xstream.alias("panels", XMLPanelList.class);
				xstream.alias("panel", XMLPanel.class);
				xstream.alias("component", XMLComponent.class);
				
				xstream.addImplicitArray(XMLPanelList.class, "xmlPanels", "panel");
				xstream.addImplicitArray(XMLPanel.class, "xmlComps", "component");
		        xmlList = (XMLPanelList) xstream.fromXML(everything);
		        
		        System.out.println(xstream.toXML(xmlList));
		        
		        for(int i = 0; i < xmlList.xmlPanels.size(); i++){
		        	//TODO:Seperate xmlObj creation into it's own button.
		        	Vector<XMLObj> tempObjs = new Vector<XMLObj>();
		        	xmlObjs.add(tempObjs);
		        	XMLPanel p = xmlList.xmlPanels.get(i);
		        	p.setup(this, i);
		        }
	            return true; 
	       	//}
		}
		
		catch(FileNotFoundException e)
		{
			System.out.println("File Not Found");
			return false;
		}
		
		catch(IOException e)
		{
			System.out.println("IO Exception");
			e.printStackTrace();
			return false;
		}
		
		catch(Exception e)
		{
			System.out.println("Exception");
			e.getCause();
			e.printStackTrace();
			JOptionPane.showMessageDialog(this, "" + e.getMessage() , "Error!",  JOptionPane.ERROR_MESSAGE);

			return false;
		}
				
	//	return false;
	}