I'm having some problems related to my Java project.
I am using a JTable and a JTextField used to filter the rows of the table, and here's my problem:
if I write something in this textfield the table appositely filters the results, but when I delete all the text in this textfield there is one last character after the "" string that is invisible.
If I use textfield.setText("") the textfield actually isn't empty at all and it doesn't allow to refresh my table with the old rows.
In other words I need to set the textfield with "" string, so it can update\refresh the JTable with the ordinary rows (without any filter applied).
Is there any method or listener that can solve this problem?
Thanks.