public FontPreferences(PreferencesWindow owner) {
		super(FONTS, owner);
		FlexGrid grid = new FlexGrid();
		String[] keys = Fonts.getKeys();
		mFontPanels = new FontPanel[keys.length];
		int i = 0;
		for (String key : keys) {
			grid.add(new FlexComponent(createLabel(Fonts.getDescription(key), null), Alignment.RIGHT_BOTTOM, Alignment.CENTER), i, 0);
			mFontPanels[i] = new FontPanel(UIManager.getFont(key));
			mFontPanels[i].setActionCommand(key);
			mFontPanels[i].addActionListener(this);
			add(mFontPanels[i]);
			grid.add(mFontPanels[i], i, 1);
			i++;
		}
		grid.apply(this);
	}