Anonymous - 2008-02-16

I use a table-layout to fake a GridBox-like view inside of a scrolling panal so that the bounds values of the table-layout components are only virtual. If I interpret the exception dump below correctly there is a range check done which may be is not neccessary in that situation.

It works fine with 300 table-layout rows but is thrown with 400 entries or more. I know there shouldn't be so much, but I cannot eliminate that it will happen sometimes under rare conditiones.

java.lang.IllegalArgumentException: y < -32768 || y >= 32767
    at thinwire.ui.AbstractComponent.rangeCheck(AbstractComponent.java:349)
    at thinwire.ui.AbstractComponent.setBounds(AbstractComponent.java:464)
    at thinwire.ui.layout.TableLayout.processComponent(TableLayout.java:859)
    at thinwire.ui.layout.TableLayout.update(TableLayout.java:783)
    at thinwire.ui.layout.AbstractLayout$1.run(AbstractLayout.java:58)
    at thinwire.render.web.EventProcessor.processUserActionEvent(EventProcessor.java:137)
    at thinwire.render.web.EventProcessor.captureThread(EventProcessor.java:114)
    at thinwire.render.web.WebApplication.captureThread(WebApplication.java:708)
    at thinwire.ui.Dialog.setVisible(Dialog.java:236)
    at thinwire.ui.MessageBox.confirm(MessageBox.java:405)
    at thinwire.ui.MessageBox.confirm(MessageBox.java:264)
    at thinwire.ui.MessageBox.confirm(MessageBox.java:230)
    at thinwire.ui.MessageBox.confirm(MessageBox.java:158)
    at ogerlit.form.WorkListForm2.fromDb(WorkListForm2.java:475)
    at ogerlit.form.WorkListForm2.createForm(WorkListForm2.java:267)
    at ogerlit.form.WorkListForm2.<init>(WorkListForm2.java:65)
    at ogerlit.form.WorkDetailForm$15.actionPerformed(WorkDetailForm.java:782)
    at thinwire.ui.EventListenerImpl.fireEvent(EventListenerImpl.java:313)
    at thinwire.ui.EventListenerImpl.fireAction(EventListenerImpl.java:245)
    at thinwire.ui.AbstractComponent.fireAction(AbstractComponent.java:158)
    at thinwire.render.web.ComponentRenderer.componentChange(ComponentRenderer.java:375)
    at thinwire.render.web.EventProcessor.processUserActionEvent(EventProcessor.java:129)
    at thinwire.render.web.EventProcessor.run(EventProcessor.java:85)