private PreferencesWindow() {
		super(PREFERENCES, StdImage.PREFERENCES);
		Container content = getContentPane();
		mTabPanel = new JTabbedPane();
		for (PreferenceCategoryProvider category : CATEGORIES) {
			try {
				addTab(category.create(this));
			} catch (Exception exception) {
				Log.error("Trying to load " + category, exception); //$NON-NLS-1$
			}
		}
		mTabPanel.addChangeListener(this);
		content.add(mTabPanel);
		content.add(createResetPanel(), BorderLayout.SOUTH);
		adjustResetButton();
		restoreBounds();
	}