private JPanel  setupSettingsPanel() {
		JPanel controlPanel = new JPanel();
		GridBagLayout gbl = new GridBagLayout();
		GridBagConstraints gbc = new GridBagConstraints();
		gbc.anchor = GridBagConstraints.WEST;
		controlPanel.setLayout(gbl);
		controlPanel.setBorder(new TitledBorder("Settings"));

		int yPos = 0;

		Class<?> intClass[] = {Integer.class};
		try {
			tilesWideSpinner = GUIUtilities.addCustomSpinner(this, gbc, gbl, controlPanel, tilesWideVisible(), yPos,
					LevelEditorSettings.LEVEL_TILES_WIDE_TITLE, LevelEditorSettings.LEVEL_TILES_WIDE_TOOLTIP,
					editorSettings.getTilesWide(),
					LevelEditorSettings.MIN_LEVEL_EDITOR_LEVEL_TILES_WIDE, LevelEditorSettings.MAX_LEVEL_EDITOR_LEVEL_TILES_WIDE, LevelEditorSettings.STEP_LEVEL_EDITOR_LEVEL_TILES_WIDE,
					getClass().getMethod("updateLevelTilesWide",intClass));
			yPos++;
		} catch(Exception e){
			e.printStackTrace();
		}
		try {
			tilesHighSpinner = GUIUtilities.addCustomSpinner(this, gbc, gbl, controlPanel, tilesHighVisible(), yPos,
					LevelEditorSettings.LEVEL_TILES_HIGH_TITLE,  LevelEditorSettings.LEVEL_TILES_HIGH_TOOLTIP,
					editorSettings.getTilesHigh(),
					LevelEditorSettings.MIN_LEVEL_EDITOR_LEVEL_TILES_HIGH, LevelEditorSettings.MAX_LEVEL_EDITOR_LEVEL_TILES_HIGH,  LevelEditorSettings.STEP_LEVEL_EDITOR_LEVEL_TILES_HIGH,
					getClass().getMethod("updateLevelTilesHigh",intClass));
			yPos++;
		} catch(Exception e){
			e.printStackTrace();
		}
		try {
			screensWideSpinner = GUIUtilities.addCustomSpinner(this, gbc, gbl, controlPanel, screensWideVisible(), yPos,
					LevelEditorSettings.LEVEL_SCREENS_WIDE_TITLE,  LevelEditorSettings.LEVEL_SCREENS_WIDE_TOOLTIP,
					editorSettings.getScreensWide(),
					LevelEditorSettings.MIN_LEVEL_EDITOR_LEVEL_SCREENS_WIDE, LevelEditorSettings.MAX_LEVEL_EDITOR_LEVEL_SCREENS_WIDE,  LevelEditorSettings.STEP_LEVEL_EDITOR_LEVEL_SCREENS_WIDE,
					getClass().getMethod("updateLevelScreensWide",intClass));
			yPos++;
		} catch(Exception e){
			e.printStackTrace();
		}
		try {
			screensHighSpinner = GUIUtilities.addCustomSpinner(this, gbc, gbl, controlPanel, screensHighVisible(), yPos,
					LevelEditorSettings.LEVEL_SCREENS_HIGH_TITLE,  LevelEditorSettings.LEVEL_SCREENS_HIGH_TOOLTIP,
					editorSettings.getScreensHigh(),
					LevelEditorSettings.MIN_LEVEL_EDITOR_LEVEL_SCREENS_HIGH, LevelEditorSettings.MAX_LEVEL_EDITOR_LEVEL_SCREENS_HIGH,  LevelEditorSettings.STEP_LEVEL_EDITOR_LEVEL_SCREENS_HIGH,
					getClass().getMethod("updateLevelScreensHigh",intClass));
			yPos++;
		} catch(Exception e){
			e.printStackTrace();
		}

		try {

			scaleSpinner = GUIUtilities.addCustomSpinner(this, gbc, gbl, controlPanel, screenScaleVisible(), yPos,
					LevelEditorSettings.LEVEL_TILES_SCALE_TITLE, LevelEditorSettings.LEVEL_TILES_SCALE_TOOLTIP,
					editorSettings.getScale(),
					LevelEditorSettings.MIN_LEVEL_EDITOR_LEVEL_TILES_SCALE, LevelEditorSettings.MAX_LEVEL_EDITOR_LEVEL_TILES_SCALE, LevelEditorSettings.STEP_LEVEL_EDITOR_LEVEL_TILES_SCALE,
					getClass().getMethod("updateLevelTilesScale",intClass));
			yPos++;
		} catch(Exception e){
			e.printStackTrace();
		}
		controlPanel.add(GUIUtilities.createFillerHeight(gbc, gbl, 0,yPos));
		return controlPanel;
	}