// Initialization, component placement.
public void showDialog()
{
documentListener=new DocListener();
//parent.textArea.getDocument().addDocumentListener(documentListener);
/**
* Modified closing event to implement action during dialog closing event.
* By Prakash. 1st June 2007.