there are two panel in one panel there is search button and in the another one there is Jtable for displaying search result. In that jtable initially all the records are displayed. But when i try to search, it works but the problem is that i need to click search button two times for searching 1st time and from second time onwards it works normally means even with single click results are displayed properly. what mistake am i making ? please suggest.
47pirates
9
Junior Poster in Training
Recommended Answers
Jump to Postone mistake you are making, is that we don't see any of the relevant code, so it's impossible for us to see whether there's something 'odd' in it.
Jump to Postyou set the contents of your table before you set the contents that should go in there.
switch the second and third line, and try again.
All 5 Replies
stultuske
1,116
Posting Maven
Featured Poster
47pirates
9
Junior Poster in Training
stultuske
1,116
Posting Maven
Featured Poster
stultuske
1,116
Posting Maven
Featured Poster
47pirates
9
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.