@Override
					public void keyTyped(KeyEvent e) {
						
						if(e.getKeyChar() == '\n')
						{
							if(sapf.getText().equalsIgnoreCase(sapfs + '\n'))
							{
								sapf.setForeground(cc);
								sapf.setBorder(null);
								sapf.setEditable(false);
									for(int i = 0; i < fields.length; i++)
									{
										if(fields[i].getText().equalsIgnoreCase(""))
										{
											fields[i].requestFocusInWindow();
											
										}
									}
									
							}
							else
							{
								sapf.setForeground(wc);
							}
						}
						
					}