Making a Swing GUI Terminal

Hi, Im doing a robot arm simulator and I would like to put a text terminal on my GUI layer to make the program to be able to receive the commands from the user.

What is the best way to do it?

Im trying to learn about the Swing GUI features to do it. Does anyone knows some links or examples related to it??

Thanks!!

Swing gui is normal java, there should be tons of tutorials ect. around elsewhere, as it is not jme specific.