Uzma Pathan

Greenhorn
+ Follow
since Aug 16, 2013
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Uzma Pathan

Hi Campbell, actually, I am having a virtual table viewer (SWT), in which there are many columns and rows.
Around 2-3 lakhs of records are there in Virtual Table. So, I want to implement a quick find functionality on that table. That I have implemented already. But for tables with thousands records , its finding quick.
If records are more than 1 lakh, then it takes more than half hour for searching ( if I am searching almost the last record in the list)
Even I want to highlight the searched first matching entry.
For more details look at https://coderanch.com/t/618082/GUI/java/Find-text-box-typing-Ctrl#2840258
10 years ago
Yes that is true, I am breaking the loop, but what if the string I want to search is not there in the list at all.
It will go through all the records and then only it will know that no record exists there which we want to search.
10 years ago
I am trying to search through each and every entry of a very huge list. I am using a for loop till the size of list.
What exactly I want to do is, search through the list to get the first matching entry starting with some pattern say 'xyz'.
For example there are many strings in my list starting with word 'Session' , then I want to find first entry which has suppose 'sess'.

So, to do this for list having more than 2-3 lakhs of records, how to improve the performance?

Thanks in advance.
10 years ago
If you use Eclipse IDE and in navigator view if you press CTRL+F, then small find text box appears at lower bottom. So, I am talking about that functionality. Posting image for more reference.
10 years ago
In our RCP application we need find functionality in our virtual Table Viewer but the small find text-box (by typing Ctrl+F) at the lower-right corner does not appear. Using a non virtual Table Viewer, the find text box appears.
Please suggest a workaround so that find text-box (by typing Ctrl+F) appears at the lower-right corner of the virtual table viewer.

Thanks in advance.
10 years ago