public void actionPerformed(ActionEvent e) {        
        if ("btnOpen".equals(e.getActionCommand())) {
            if (chart != null)
                chart.closeChart();
            frame.setVisible(false);
        	getList();   
    //    	chart = new ValueChart(vc_files);
        	if (btnVC.isSelected()) {
            	con = new ConstructionView(ConstructionView.FROM_VC);
        		con.filename = "SuperUser.vc";
        		filename = "SuperUser.vc";
        	} else {
                con = new ConstructionView(ConstructionView.FROM_XML);
                con.filename = "SuperUser.xml";
                filename = "SuperUser.xml";
        	}
        	con.list = vc_files;
        	con.setInit(false);
    		//noOfEntries = countEntries(filename); 
//    		if (noOfEntries > 10)
//    			con.setDisplayType(ConstructionView.SIDE_DISPLAY);
    		con.showChart(true);
    		con.filename = filename;	//temp holder for a new filename    
        } else if ("btnCancel".equals(e.getActionCommand())) {
            if (chart == null)
                System.exit(0);
            else
                frame.dispose();
        } else if (e.getActionCommand().equals("Select All")) {
        	lstFiles.setSelectionInterval(0, listModel.size());
        } else if (e.getActionCommand().equals("btnVC")) {
            setListVC();
        } else if (e.getActionCommand().equals("btnXML")) {
            setListXML();
        }
	}