public void itemStateChanged(ItemEvent e)
	{
		if (e.getStateChange() == ItemEvent.SELECTED)
		{
			String item = e.getItem().toString();

			try
			{
				// If its an int it's a font size change.
				int size = Integer.parseInt(item);

				Action fontSize = new StyledEditorKit.FontSizeAction(
						"FontSize", size);
				fontSize.actionPerformed(new ActionEvent(mTB, 0, String
						.valueOf(size)));
			}
			catch (NumberFormatException e1)
			{
				// otherwise it's a font family change.
				Action fontFamily = new StyledEditorKit.FontFamilyAction(item,
						item);
				fontFamily.actionPerformed(new ActionEvent(mTB, 0, item));
			}
		}
	}