public void close()
{
if(mChatbox != null)
{
Container parent = (Container)mChatbox.getParent();
if(parent != null)
{
parent.removeChild(mChatbox);
}
}
if(mScrollbar != null)
{
Container parent = (Container)mScrollbar.getParent();
if(parent != null)
{
parent.removeChild(mScrollbar);
}
}
}