@Override
		public void valueChanged(ListSelectionEvent e) {
			if (e.getSource() == lstStock) {
				if (lstStock.getSelectedValue() != null
						&& lstStock.getSelectedValue() instanceof Stock) btnCreate
						.setEnabled(true);
			}
			else if (e.getSource() == lstProduct) {
				Object sel = lstProduct.getSelectedValue();
				if (sel != null && sel instanceof ProductType) {
					ProductType p = (ProductType) sel;
					List<SubProcess> sps = p.getSubProcesses();
					if (sps != null && sps.size() > 0 && sps.get(0) != null) {
						lstStock.setListData(sps.get(0).getStocks().toArray());
					}
					else lstStock.setListData(new Object[0]);
				}
				else {
					lstStock.setListData(new Object[0]);
				}
			}
		}