Running native OS commands

Is there any way to run external commands from a Java application? And capture the output of those commands?

Just as an example, say I wanted to list the contents of a directory using the DIR command in windows, then capture the output and reformat it, or stick it into a GUI.

(That's not what I'm doing, it's just a simple example of what I want)

[369 byte] By [death_aua] at [2007-10-3 8:29:59]
# 1
Look into the Runtime class.
CaptainMorgan08a at 2007-7-15 3:36:57 > top of Java-index,Java Essentials,New To Java...