initLST();
try { initLST(); } catch (IllegalArgumentException iie) { Debug.error(iie.getMessage()); }
    public Component getGUI() {	initLST();	if (warehouse == null) {	    return (new javax.swing.JLabel("VPF Layer data not loaded properly."));	}	if (box == null) {	    box = new JPanel();	    box.setLayout(new BoxLayout(box, BoxLayout.Y_AXIS));  	    box.setAlignmentX(Component.LEFT_ALIGNMENT);	    JPanel titlePanel = new JPanel();	    titlePanel.setLayout(new BoxLayout(titlePanel, BoxLayout.X_AXIS));	    JLabel title = new JLabel(getName());	    title.setBorder(new javax.swing.border.EmptyBorder(2, 10, 2, 2));	    titlePanel.add(title);	    titlePanel.add(Box.createHorizontalGlue());	    box.add(titlePanel);	    JPanel stuff = new JPanel();//  	    stuff.setLayout(new BoxLayout(stuff, BoxLayout.X_AXIS));//    	    stuff.setAlignmentX(Component.LEFT_ALIGNMENT);	    JPanel pal = null;	    ActionListener al = new ActionListener() {		public void actionPerformed(ActionEvent e) {		    int index = Integer.parseInt(			e.getActionCommand(), 10);		    switch (index) {		    case 0:			warehouse.setEdgeFeatures(!warehouse.drawEdgeFeatures());			break;		    case 1:			warehouse.setTextFeatures(!warehouse.drawTextFeatures());			break;		    case 2:			warehouse.setAreaFeatures(!warehouse.drawAreaFeatures());			break;		    case 3:			warehouse.setEPointFeatures(!warehouse.drawEPointFeatures());			break;		    case 4:			warehouse.setCPointFeatures(!warehouse.drawCPointFeatures());			break;		    default:			throw new RuntimeException("argh!");		    }		}	    };	    pal = PaletteHelper.createCheckbox(// 		getName(),		"Show:",		new String[] {		    VPFUtil.Edges,		    VPFUtil.Text,		    VPFUtil.Area,		    VPFUtil.EPoint,		    VPFUtil.CPoint		},		new boolean[] {		    warehouse.drawEdgeFeatures(),		    warehouse.drawTextFeatures(),		    warehouse.drawAreaFeatures(),		    warehouse.drawEPointFeatures(),		    warehouse.drawCPointFeatures()		},		al	    );	    stuff.add(pal);	    	    if (lst != null) {		Component warehouseGUI = warehouse.getGUI(lst);		if (warehouseGUI != null) {		    stuff.add(warehouseGUI);		}	    }	    box.add(stuff);	    JPanel pal2 = new JPanel();	    JButton redraw = new JButton("Redraw Layer");	    redraw.setActionCommand(RedrawCmd);	    redraw.addActionListener(this);	    pal2.add(redraw);	    box.add(pal2);	}	return box;    }