}
};
this.caretListener = this.docListener.getEndChecker();
this.menuListener = new ChatMenuListener()
{
public List <JMenuItem> getMenuElements(Chat chat, MouseEvent event) //Overridden Here
{
if (isEnabled && event.getSource() instanceof JTextComponent)
{