| | |
Making searching faster
![]() |
•
•
Join Date: Nov 2004
Posts: 12
Reputation:
Solved Threads: 0
Heya all,
I have a small problem. I have created a phonebook program for myself. I am using MySQL to store all the data. Just the usuallly stuff like name, tel No, address etc. I have about 400 entries in MySQL.
ON MY SEARCHING MENU:
I use a JTextfield to enter the name i want to search for. When I click my JButton(search), the info is displayed on a JTable. All works perfectly. The problem I am having is that it takes about 3 to 5 seconds to display. How do I make it display the details faster? If I need to use a Thread how do I use one? When must the thread start running? eg, must it start before I click my JButton.
Any help would be great
Thanks
I have a small problem. I have created a phonebook program for myself. I am using MySQL to store all the data. Just the usuallly stuff like name, tel No, address etc. I have about 400 entries in MySQL.
ON MY SEARCHING MENU:
I use a JTextfield to enter the name i want to search for. When I click my JButton(search), the info is displayed on a JTable. All works perfectly. The problem I am having is that it takes about 3 to 5 seconds to display. How do I make it display the details faster? If I need to use a Thread how do I use one? When must the thread start running? eg, must it start before I click my JButton.
Any help would be great
Thanks
![]() |
Similar Threads
- how do I un partition my hard drive (Storage)
- Making Search Engin using PHP & MySQL to search in DB (PHP)
- programming language recommendation (Computer Science)
- You Favorite Quotes (Geeks' Lounge)
- How to transpose a matrix? (Java)
- Over clocking (Motherboards, CPUs and RAM)
Other Threads in the Java Forum
- Previous Thread: How to handle exceptions in constructor?
- Next Thread: Could someone help please and thankyou
| Thread Tools | Search this Thread |
911 actionlistener addressbook android api append applet application array arrays automation binary blackberry block bluetooth character chat class client code component consumer csv database desktop developmenthelp eclipse error fractal ftp game givemetehcodez graphics gui html ide image integer j2me j2seprojects japplet java javaarraylist javac javaee javaprojects jni jpanel julia lego linked linux list loops mac map method methods mobile netbeans newbie number objects online oriented panel printf problem program programming project projects properties recursion replaydirector reporting researchinmotion rotatetext rsa scanner se server set singleton sms sort sql string swing test textfields threads time title tree tutorial-sample ubuntu update windows working






