On Wed, 27 Feb 2002, Magesh Umasankar <[EMAIL PROTECTED]> wrote:

> This is cool.

Thanks.

> Just one comment:
> 
> In DefaultInputHandler, instead of doing 
> 
> if (request instanceof MultipleChoiceInputRequest) {
>   compose prompt
> }
> 
> please consider moving that logic to
> MultipleChoiceInputRequest.getPrompt() which would override
> InputRequest's getPrompt() method.

I've thought about this before, but then I'd get the modified prompt
in the SwingInputHandler as well, which is not what you want (as the
choices are obvious by the combo box).  So I felt it was the
responsibility of the handler.

Stefan

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to