String fonts[] = Toolkit.getDefaultToolkit().getFontList();
String fonts[] = GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
	protected JMenu createFontMenu() {		CommandMenu menu = new CommandMenu("Font");		String fonts[] = Toolkit.getDefaultToolkit().getFontList();		for (int i = 0; i < fonts.length; i++) {			menu.add(new UndoableCommand(				new ChangeAttributeCommand(fonts[i], FigureAttributeConstant.FONT_NAME, fonts[i],  this)));		}		return menu;	}