[kaffe] Text Area[ArrayIndexOutofBoundException]

Dalibor Topic robilad@kaffe.org
Mon Jan 19 04:30:02 2004


Hi Raja,

raja n wrote:
> Hai,
>   I am setting to TextArea TextArea.SCROLLBARS_BOTH
> But it's not showing while typing in the
> text(Horizantol).Instead of if cross the limit
> (Columns) it is throwing Arrayindex out of bound
> exception.Please resolve it. But Verticol only is
> behaving properly.It's working fine in JDK.

Thank you for your bug report. I'd like to look into it. I'm thinking 
about replacing the TextArea implementation with the one from GNU Classpath.

> private TextArea inputArea = new TextArea("input text
> here",2,5,TextArea.SCROLLBARS_VERTICAL_ONLY);
> private TextArea inputArea = new TextArea("input text
> here",2,5,TextArea.SCROLLBARS_BOTH);

That doesn't compile for me, because it's not a java class. Could you 
post a small, compileable example that demonstrates the bug?

cheers,
dalibor topic