public void setSettings(Settings settings) {
		if (this.settings != settings) {
			this.settings = settings;
			valuesTableModel.setValues(settings.getValues());
			jPanel1.removeAll();
			if (settings == null) {
				return;
			}
			for (JToggleButton toggleButton : settings.getSettingsButtons()) {
				jPanel1.add(toggleButton);
			}

			for (SettingsService settingsService : settings.getSettingsServices()) {
				List<JToggleButton> toolbarButtons = settingsService.getToolBarButtons();
				if (toolbarButtons != null) {
					for (JToggleButton toolbarButton : toolbarButtons) {
						jPanel1.add(toolbarButton);
					}
				}
			}
			jPanel1.revalidate();
//			requestVisible();
		}
	}