| Author |
Problem with filtering JTable (AbstractTableModel)
|
Liana Norpunova
Greenhorn
Joined: Aug 24, 2010
Posts: 23
|
|
Hello! I have a problem with filtering JTable (AbstractTableModel)... So, this is my code:
When I type some char in the textfield, then the table is filtered incorrectly. For example, I can get the word "Fellow" after typing the char "g". I cannot understand why it happens. Pliz any suggestions?
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
Liana Norpunova wrote:Pliz any suggestions?
Please UseRealWords: "please".
I'm moving this to our GUI forum. In the mean time you could try re-setting the row sorter:
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Liana Norpunova
Greenhorn
Joined: Aug 24, 2010
Posts: 23
|
|
Thank you. I've changed the code as you have proposed, however the problem remains... ((
|
 |
Liana Norpunova
Greenhorn
Joined: Aug 24, 2010
Posts: 23
|
|
Ok, I've solved the problem. This is my code for multiple filters for JTable, maybe one day it will be useful for someone:
Thanks!
|
 |
 |
|
|
subject: Problem with filtering JTable (AbstractTableModel)
|
|
|