If you'd rather play RuneScape without the chat, there's a simple fix. Look at the bottom of the chat window for a tab that lets you switch chat between On, Friends, and Off.
Setting it to Off hides the chat from your screen. Whenever you want it back, just switch it to On again.