Skip to content
rhsu edited this page May 21, 2013 · 3 revisions

Welcome to the TerminalPanel wiki!

The terminal panel project fits Terminal Based GUIs as a Java Swing Project.

For instance, consider the following:

:Enter a number. User enters 5 :Enter a smaller number User enters 3 :Done!

Traditionally, this is very easy to write using java.util.Scanner. Instead of using the scanner, an an listen listener is registered, which fires whenever the user this the enter key. This requires states so that the action listener executes the proper function.

For more information see Finite-State machine

Clone this wiki locally