fileChooser = new JFileChooser(".");
    public InventoryUIFrame() {	super("Inventory GUI");	addWindowListener(new WindowAdapter() {				public void windowClosing(WindowEvent e) { System.exit(0); }	    });	parser = new InventoryXMLParser();	logger = Logging.getLogger(this);	contentPane = getRootPane().getContentPane();	// fills frame	doMyLayout();	dataSource=null;	pack();	setSize(800,600);	Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();	// set location to middle of the screen	setLocation(screenSize.width/2 - (int)this.getSize().getWidth()/2,		    screenSize.height/2 - (int)this.getSize().getHeight()/2);	setVisible(true);    }