Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Performance tuning of JTable

800373May 3 2010 — edited May 3 2010
Hi Experts,

I have a JTable for which i have implemented DefaultTableCellRenderer. The Data in the Table will be compared to another data of some structure which will be stored in Vector<Vector>. For some implementaion i need to display tooltip for few cells. I am handling this in Mouse Listener of the Table. I will get the Row and Column which themouse is pointing and i am displaying some tooltip based on some conditions.

Problem is some times i have to move the mouse couple of time to get the tooltip. I am not getting any exceptions in my log. Code seems clean. Please help me what i can try to improve the performance of the Grid. Not sure is that because of the data stored in Vector<Vector>, Shall i change it to List<List>. Please suggest.

Thanks,
Raghu
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 31 2010
Added on May 3 2010
6 comments
65 views