[jira] [Commented] (PIVOT-888) Nullpointer Exception while editing TextArea with text property two-way bounded

2013-02-15 Thread Sandro Martini (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13579220#comment-13579220 ] Sandro Martini commented on PIVOT-888: -- Hi all, just found the problem (work/fix

default value of maximumLength in TextInput and similar classes

2013-02-15 Thread Sandro Martini
Hi all, looking at TextInput, I have just seen that the maximumLength attribute value has a default value big (and this is Ok), but it has the Integer.MAX_VALUE (approx. 2^32) ... so to avoid memory problems, crash attacks, etc (and so the need for any application to change it to a lower, safer

[jira] [Assigned] (PIVOT-888) Nullpointer Exception while editing TextArea with text property two-way bounded

2013-02-15 Thread Sandro Martini (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandro Martini reassigned PIVOT-888: Assignee: Sandro Martini (was: Roger Whitcomb) Nullpointer Exception while editing

[jira] [Resolved] (PIVOT-888) Nullpointer Exception while editing TextArea with text property two-way bounded

2013-02-15 Thread Sandro Martini (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-888?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandro Martini resolved PIVOT-888. -- Resolution: Fixed Hi, just fixed in 2.0.x branch (merge in trunk soon): Committed revision

[jira] [Resolved] (PIVOT-861) Memory leak: Window icon ImageListenerList retains reference to closed windows, preventing garbage collection

2013-02-15 Thread Sandro Martini (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandro Martini resolved PIVOT-861. -- Resolution: Fixed The issue seems resolved now, otherwise tell me (or be free to reopen it).

[jira] [Resolved] (PIVOT-892) DoubleValidator and FloatValidator do not allow exponents to be entered

2013-02-15 Thread Sandro Martini (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandro Martini resolved PIVOT-892. -- Resolution: Fixed The issue seems resolved. Of course, be free to reopen in case something is

RE: default value of maximumLength in TextInput and similar classes

2013-02-15 Thread Roger L. Whitcomb
I don't think 2G is a reasonable value as a default -- this will for sure fill up memory in the default JVM configurations. But, for me, 65000 is way too small. So, I think somewhere around 1-2MB would be a more reasonable default. ~Roger Whitcomb -Original Message- From: Sandro

Re: default value of maximumLength in TextInput and similar classes

2013-02-15 Thread Sandro Martini
Hi, I don't think 2G is a reasonable value as a default -- this will for sure fill up memory in the default JVM configurations. me too :-) ... But, for me, 65000 is way too small. Excuse me, for a TextInput field ? Looking at other GUI frameworks even 65000 seems an high default value, look

Re: default value of maximumLength in TextInput and similar classes

2013-02-15 Thread Sandro Martini
Hi, Yes, I meant 65000 is too small for TextArea. For TextInput, 65000 is probably fine (even 32000 is okay), and probably for Label as well. ok, but you know, it's better to be sure :-) ... Suggest 1MB (1,048,576) for TextArea and TextPane, ok and 65536 for TextInput and Label (for the

[jira] [Commented] (PIVOT-873) Provide a style for TableVIew that allows one click to start row editing

2013-02-15 Thread Roger Whitcomb (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13579514#comment-13579514 ] Roger Whitcomb commented on PIVOT-873: -- Made another fix for SelectMode.NONE:

[jira] [Created] (PIVOT-893) Set lower default value for maximumLength in TextInput and TextArea

2013-02-15 Thread Sandro Martini (JIRA)
Sandro Martini created PIVOT-893: Summary: Set lower default value for maximumLength in TextInput and TextArea Key: PIVOT-893 URL: https://issues.apache.org/jira/browse/PIVOT-893 Project: Pivot

[jira] [Commented] (PIVOT-893) Set lower default value for maximumLength in TextInput and TextArea

2013-02-15 Thread Sandro Martini (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13579625#comment-13579625 ] Sandro Martini commented on PIVOT-893: -- For 2.0.x branch, set new values for TextInput

Re: default value of maximumLength in TextInput and similar classes

2013-02-15 Thread Sandro Martini
Hi all, just committed in 2.0.x, and soon in trunk. Monday I'll start to look at implementing the same limit for Labels, unless problems with it ... Bye

[jira] [Commented] (PIVOT-861) Memory leak: Window icon ImageListenerList retains reference to closed windows, preventing garbage collection

2013-02-15 Thread Roger Whitcomb (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13579640#comment-13579640 ] Roger Whitcomb commented on PIVOT-861: -- I'm now getting these errors periodically

[jira] [Reopened] (PIVOT-861) Memory leak: Window icon ImageListenerList retains reference to closed windows, preventing garbage collection

2013-02-15 Thread Sandro Martini (JIRA)
[ https://issues.apache.org/jira/browse/PIVOT-861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sandro Martini reopened PIVOT-861: -- Sorry ... but now we need a test case to reproduce this new error. Memory leak: