public void actionPerformed(ActionEvent e)
				{
					
					if(wordField.getForeground() == cc)
					{
						panel.remove(areaOnScreen);
						panel.remove(fieldOnScreen);
						fieldOnScreen.setForeground(Color.BLACK);
						fieldOnScreen.setEditable(true);
						fieldOnScreen.setBorder(BorderFactory.createLineBorder(Color.BLACK));
						fieldOnScreen.setText("");
						
						Random r = new Random();
						int i = -1;
						do
						{
							i = r.nextInt(wordFields.length);
						}while(i == lastIndex && inWordsArray(i) && inDefinitionsArray(i) && i != -1);
						lastIndex = i;
						panel.add(areaOnScreen = defAreas[i]);
						panel.add(fieldOnScreen = wordFields[i]);
						
						panel.repaint();
						panel.revalidate();
						next.setVisible(false);
						fieldOnScreen.requestFocusInWindow();
					}
					else
					{
						if(wordField.getText().equalsIgnoreCase(word) || equalsMinusDash(wordField.getText(),word))
						{
							
							wordField.setForeground(cc);
							wordField.setEditable(false);
							wordField.setBorder(null);
							next.setVisible(true);
							
						}
						else
						{
							
							wordField.setForeground(wc);
							if(wordField.getText().equals(""))
							{
								
								wordField.setText(word);
								
							}
							
							
						}
					}
					
				}