src/notepad/GUI.java
/**
	 * Format Menu No need to add actionlistener as this is just JMenu
	 */
Format Menu No need to add actionlistener as this is just JMenu
Format Menu No need to add actionlistener as this is just JMenu
public void createFormatMenu() {
		iWrap = new JMenuItem("Word Wrap: Off");
		iWrap.addActionListener(this);
		iWrap.setActionCommand("Word Wrap");
		menuFormat.add(iWrap);
		menuFont = new JMenu("Font");
		menuFormat.add(menuFont);
 Options
		iFontArial = new JMenuItem("Arial");
		iFontArial.addActionListener(this);
		iFontArial.setActionCommand("Arial");
		menuFont.add(iFontArial);
		iFontCSMS = new JMenuItem("Comic Sans MS");
		iFontCSMS.addActionListener(this);
		iFontCSMS.setActionCommand("Comic Sans MS");
		menuFont.add(iFontCSMS);
		iFontTNR = new JMenuItem("Times New Roman");
		iFontTNR.addActionListener(this);
		iFontTNR.setActionCommand("Times New Roman");
		menuFont.add(iFontTNR);
 Sizing
 Size
		menuFontSize = new JMenu("Font Size");
		menuFormat.add(menuFontSize); 
		iFontSize8 = new JMenuItem("8");
		iFontSize8.addActionListener(this);
		iFontSize8.setActionCommand("Size8");
		menuFontSize.add(iFontSize8); 
		iFontSize16 = new JMenuItem("16");
		iFontSize16.addActionListener(this);
		iFontSize16.setActionCommand("Size16");
		menuFontSize.add(iFontSize16); 
		iFontSize20 = new JMenuItem("20");
		iFontSize20.addActionListener(this);
		iFontSize20.setActionCommand("Size20");
		menuFontSize.add(iFontSize20); 
		iFontSize24 = new JMenuItem("24");
		iFontSize24.addActionListener(this);
		iFontSize24.setActionCommand("Size24");
		menuFontSize.add(iFontSize24); 
		iFontSize28 = new JMenuItem("28");
		iFontSize28.addActionListener(this);
		iFontSize28.setActionCommand("Size28");
		menuFontSize.add(iFontSize28); 
	}
public void createFormatMenu ( ) { iWrap = new JMenuItem ( "Word Wrap: Off" ) ; iWrap . addActionListener ( this ) ; iWrap . setActionCommand ( "Word Wrap" ) ; menuFormat . add ( iWrap ) ; menuFont = new JMenu ( "Font" ) ; menuFormat . add ( menuFont ) ; iFontArial = new JMenuItem ( "Arial" ) ; iFontArial . addActionListener ( this ) ; iFontArial . setActionCommand ( "Arial" ) ; menuFont . add ( iFontArial ) ; iFontCSMS = new JMenuItem ( "Comic Sans MS" ) ; iFontCSMS . addActionListener ( this ) ; iFontCSMS . setActionCommand ( "Comic Sans MS" ) ; menuFont . add ( iFontCSMS ) ; iFontTNR = new JMenuItem ( "Times New Roman" ) ; iFontTNR . addActionListener ( this ) ; iFontTNR . setActionCommand ( "Times New Roman" ) ; menuFont . add ( iFontTNR ) ; menuFontSize = new JMenu ( "Font Size" ) ; menuFormat . add ( menuFontSize ) ; iFontSize8 = new JMenuItem ( "8" ) ; iFontSize8 . addActionListener ( this ) ; iFontSize8 . setActionCommand ( "Size8" ) ; menuFontSize . add ( iFontSize8 ) ; iFontSize16 = new JMenuItem ( "16" ) ; iFontSize16 . addActionListener ( this ) ; iFontSize16 . setActionCommand ( "Size16" ) ; menuFontSize . add ( iFontSize16 ) ; iFontSize20 = new JMenuItem ( "20" ) ; iFontSize20 . addActionListener ( this ) ; iFontSize20 . setActionCommand ( "Size20" ) ; menuFontSize . add ( iFontSize20 ) ; iFontSize24 = new JMenuItem ( "24" ) ; iFontSize24 . addActionListener ( this ) ; iFontSize24 . setActionCommand ( "Size24" ) ; menuFontSize . add ( iFontSize24 ) ; iFontSize28 = new JMenuItem ( "28" ) ; iFontSize28 . addActionListener ( this ) ; iFontSize28 . setActionCommand ( "Size28" ) ; menuFontSize . add ( iFontSize28 ) ; }
Format Menu No need to add actionlistener as this is just JMenu
Format Menu No need to add actionlistener as this is just JMenu
//		Word Wrap //		Font //		Font Options //		Font Sizing //		Font Size // Add to Menu // Add option to Menu // Add option to Menu // Add option to Menu // Add option to Menu // Add option to Menu