RegisterSearchFAQ UsergroupsLog in
advancedjscrollpane not working with jre7

 
Reply to topic    Citra Technologies Forum Index » Technical Support - Evaluation View previous topic
View next topic

advancedjscrollpane not working with jre7
Author Message
weiliang



Joined: 25 Sep 2007
Posts: 42

Post advancedjscrollpane not working with jre7 Reply with quote
Hi, recently I tried table library with jdk7. I found this error everytime when creating new instance of advancedjscrollpane.

Code:
This function should be called while holding treeLock

class java.lang.IllegalStateException

Error Detail:
-------------
java.awt.Component.checkTreeLock(Component.java:1195)
java.awt.Container.validateTree(Container.java:1682)
com.sciapp.table.AdvancedJScrollPane.validateTree(Unknown Source)
com.sciapp.table.AdvancedJScrollPane.e(Unknown Source)
com.sciapp.table.AdvancedJScrollPane.setLockedModel(Unknown Source)
com.sciapp.table.AdvancedJScrollPane.s(Unknown Source)
com.sciapp.table.AdvancedJScrollPane.<init>(Unknown Source)
...

Mon Aug 22, 2011 11:08 pm View user's profile Send private message
support



Joined: 21 Feb 2006
Posts: 1463

Post Reply with quote
Hi,

I remember this error from a long time ago. It was caused with a beta jre version 6. Maybe this is the same. I will report the error to the java community, see what they have to say, but my guess is that it will be fixed in newer versions.

Thanks
Tue Aug 23, 2011 6:55 am View user's profile Send private message
support



Joined: 21 Feb 2006
Posts: 1463

Post Reply with quote
Hi,

Apparently, since 1.7, it is not safe to call validateTree method. This is what was causing the exception. I fixed it now so that it works with latest java versions.

Thanks
Fri Aug 26, 2011 6:17 am View user's profile Send private message
support



Joined: 21 Feb 2006
Posts: 1463

Post Reply with quote
Update on the issue with jdk7.

I patched AdvancedJScrollPane so that no exception occurs when initializing the class, but there are still problems with this jdk. In fact, while scrolling, the scrollpane is being continuously revalidated, which causes a lot of performance degradation. This happens with JScrollPane as well, not just AdvancedJScrollPane. The results may not be noticeable if you have a few columns in the table, but in a table with a lot of columns scrolling will perform poorly.
I suggest you wait until a better jdk7 release is made.
Thu Sep 01, 2011 6:23 pm View user's profile Send private message
Display posts from previous:    

Reply to topic    Citra Technologies Forum Index » Technical Support - Evaluation All times are GMT - 5 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group