Hello Everytime I update the JTable with different number of rows, the table gets messed up. For example, if the new search has less rows than the previous one, the old rows are displyed under the new ones in a weired way! Any comment? Thank you
posted 14 years ago
Hi Fadi, tables are tricky. Here's how I solved the problem: I spent my custom table model a method called "clear()":
Hope this helps.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads