Does anybody know of any way that I could have a terminal prompt that accepts commands directly in the top (or bottom) panel in Gnome?

I am not interested in a shortcut that opens a terminal window. I would prefer it if I could input a terminal command directly in to the top panel, submit the command, and then command runs while opening the terminal window.

Any chance that this tweak could be achieved? I am open to doing a little bit of programming if necessary.