Input type for boolean choices represented as a checkbox in swing and a yes/no option on the command line