public FontChooserBean()
	{
		setLayout(new BorderLayout());

		add(mNameSelector = new Choice(), BorderLayout.CENTER);

		for (int i = 0; i < sFontNames.length; ++i)
		{
			mNameSelector.addItem(sFontNames[i]);
		}
		mNameSelector.select(mFont.getName());
		mNameSelector.addItemListener(this);

		add(mSizeSelector = new Choice(), BorderLayout.EAST);

		for (int i = 0; i < sFontSizes.length; ++i)
		{
			mSizeSelector.addItem(sFontSizes[i]);
		}
		mSizeSelector.select(String.valueOf(mFont.getSize()));
		mSizeSelector.addItemListener(this);

		Panel p = new Panel(new FlowLayout());
		p.add(mBoldSelector = new Checkbox("bold"));

		mBoldSelector.setState(mFont.isBold());
		mBoldSelector.setFont(new Font("TimesRoman", Font.BOLD, 12));
		mBoldSelector.addItemListener(this);

		p.add(mItalicSelector = new Checkbox("italic"));
		mItalicSelector.setState(mFont.isBold());
		mItalicSelector.setFont(new Font("TimesRoman", Font.ITALIC, 12));
		mItalicSelector.addItemListener(this);

		add(p, BorderLayout.SOUTH);
	}