Adding in a Chat Box to a game?

I was wondering if anyone has any example code on how to add a chat box in a 2D game. I was looking on Google and couldn't find any outside of Applets and HTML/PhP code.
[177 byte] By [Melosa] at [2007-10-2 15:08:30]
# 1
Why can't you port the applet examples to your application?
DaanSa at 2007-7-13 14:02:06 > top of Java-index,Other Topics,Java Game Development...
# 2
My program doesn't use Applet or JApplet. I am trying to make a game that isn't used for webpage. I'm using JFrame and ImagePanel to get everything drawn. Anyone have any ideas?
Melosa at 2007-7-13 14:02:06 > top of Java-index,Other Topics,Java Game Development...
# 3
Ugh... but if you find an applet with a chatbox, under most circumstances, you'd be able to rip it out and stuff it in a frame. That's what I was talking about...
DaanSa at 2007-7-13 14:02:06 > top of Java-index,Other Topics,Java Game Development...
# 4
Oh. I didn't know that. Thanks for the help :).
Melosa at 2007-7-13 14:02:06 > top of Java-index,Other Topics,Java Game Development...