private void updateStructure() {
		int i = jList.getSelectedIndex();
		if(i > -1) {
			String name = FW.getObjectNames().get(i);
			FileWriter.Types type = FW.getObjectType(name);

			if(type != null && type == FileWriter.Types.ISAVEABLE) {

				displayValue = new FileWriterGUI((FileWriter) FW.get(name));
				displayValue.setBorder(BorderFactory.createLoweredBevelBorder());

			} else {

				displayValue = new JPanel();
				displayValue.setBorder(BorderFactory.createLoweredBevelBorder());
				JTextField tf = new JTextField(String.valueOf(FW.get(name)));
				displayValue.add(tf);

			}
			mainBox.removeAll();
			mainBox.add(jList);
			mainBox.add(displayValue);
			invalidate();
			repaint();
			revalidate();
			getParent().setSize(getParent().getPreferredSize());
		}
	}