public void buildPreviewPanel(String name) {
		if (rsi == null) {
			return;
		}
		if (preview == null) {
			preview = new JPanel(new BorderLayout());
			preview.setBorder(new TitledBorder("Preview"));
		}
		if (disabledPanel == null) {
			disabledPanel = new JPanel(new SpringLayout());
		}
		addPanel(disabledPanel, name);
		if (rsi.enabledSprite != null) {
			if (enabledPanel == null) {
				enabledPanel = new JPanel(new SpringLayout());
			}
			addPanel(enabledPanel, name);
		} else {
			JButton button = new JButton("Set Enabled");
			button.addActionListener(this);
			
		}
		if (!rebuilding) {
			frame.add(preview, RelativeLayout.DEFAULT);
		}
	}