@Override
	public void keyReleased(KeyEvent ke) 
	{
		/*
		System.out.println(searchField.getText());
		LinkedList tempStudentLinkedList = new LinkedList();
		for(int i=0;i<Student.studentListText.size();i++)
		{
			Student currentStudent=Student.studentListText.get(i);
			if(currentStudent.studentName.indexOf(searchField.getText())!=-1 || currentStudent.doubtSubject.indexOf(searchField.getText())!=-1)
			{
				System.out.println(currentStudent.studentName+"  -->  "+currentStudent.studentName.indexOf(searchField.getText()));
				tempStudentLinkedList.add(currentStudent);
			}	
		}
		addStudentInSearchPanel(tempStudentLinkedList);
		System.out.println("size of tempStudentLinkedList = "+tempStudentLinkedList.size());
		
		searchField.requestFocus();
		*/
		
		System.out.println(searchField.getText());
		tempStudentLinkedList = new LinkedList();
		tempAddButtonList=new LinkedList();
		tempDeleteButtonList=new LinkedList();
		
		if(searchField.getText().equals(""))
		{
			
		}
		else
			for(int i=0;i<Student.studentListText.size();i++)
			{
				Student currentStudent=Student.studentListText.get(i);
				if(currentStudent.studentName.indexOf(searchField.getText())!=-1 || currentStudent.doubtSubject.indexOf(searchField.getText())!=-1)
				{
					System.out.println(currentStudent.studentName+"  -->  "+currentStudent.studentName.indexOf(searchField.getText()));
					
					JButton tickButton=new JButton("\u2714");
					JButton crossButton=new JButton("X");
					tickButton.addActionListener(this);
					crossButton.addActionListener(this);
					//ServerFrame.methodToAddActionListener(tickButton);
					//ServerFrame.methodToAddActionListener(crossButton);
					
					tempAddButtonList.add(tickButton);
					tempDeleteButtonList.add(crossButton);
					
					tempStudentLinkedList.add(currentStudent);
				}
			}
		addStudentInSearchPanel(tempStudentLinkedList);
		
		searchField.requestFocus();
	
	}