A Java Rich Client typically has a graphical user interface (GUI) created from:
but a command-line interface is certainly possible.