Re: IndexOutOfBoundException in TableView when Highlight is set to true

2013-03-05 Thread Brendan
Sorry Roger, I should have done more test before agreed with you. Te usage of ArrayList.BinarySearch isn't what I think the documentation describes, for example: array of [21, 43, 65] and y is 64 should result a positive 2 but it return -3. As this, we have to do the -(x + 1) every time. and of

Re: Text no more null in Label, and some update

2013-03-05 Thread Brendan
Hi Sandro, I'm sure if it is possible to have these issues fixed: https://issues.apache.org/jira/browse/PIVOT-850 https://issues.apache.org/jira/browse/PIVOT-877 It currently blocks people fr

Re: IndexOutOfBoundException in TableView when Highlight is set to true

2013-03-05 Thread Roger Whitcomb
Okay I'll commit this in the morning and let you know when it's in so you can try it. Thanks! ~Roger

RE: IndexOutOfBoundException in TableView when Highlight is set to true

2013-03-05 Thread Roger L. Whitcomb
> Roger (and all others :-) ) what do you think ? Looks to me like the code in "getRowAt" should look like this, to make the fixed and variable height cases work the same way: int rowIndex; if (variableRowHeight) { if (y == 0) { rowIndex = 0;

Re: IndexOutOfBoundException in TableView when Highlight is set to true

2013-03-05 Thread Sandro Martini
Hi Brendan, > I have ShowHighlight and VariableRowHigh to true. And when mouseOut event > occurs, I get IndexOutOfBoundException. I think that it's something problematic in your data model ... some week ago I didn't add a small fix to prevent a IndexOutOfBoundException in case of something strang

Re: Menu Pop crash while closing with latest code change

2013-03-05 Thread Sandro Martini
Hi Brendan, > With latest code change, Java.util.ConcurrentModificationException when > MenuPop is closing. you say this tutorial ( http://pivot.apache.org/tutorials/context-menus.html ), right ? Are you sure you have latest 2.0.x (or latest trunk) sources ? I just tried (like in past days, re-tes

Menu Pop crash while closing with latest code change

2013-03-05 Thread ccp999
Hi, With latest code change, Java.util.ConcurrentModificationException when MenuPop is closing. I followed the tutorial, the standard to implement the menu handler. I tested with your tutorial as well and found the same issue.