Questions tagged as 'rowsorter'

2
answers

Apply filters in a JTable

I have a table and in a Jpanel on it I created a textFields and combobox with the intention of using them as a filter. The method: tableRowSorter.setRowFilter(RowFilter.regexFilter("(?i)" + busca)); Does he expect a string as a filter? If t...
asked by 21.11.2016 / 23:18
1
answer

R - How to calculate the price change from one period to the other?

Hello, I'd like to know how to calculate the price change from one period to the next. Example:    Year | Price       2007 | 25       2008 | 30       2009 | 7       2010 | 15 ... | ... | ... The new column would look like:    Ye...
asked by 03.04.2018 / 01:08
1
answer

Update a Jtable that is in a JFrame from a JDialog

What I'm doing is a little longer, so I'll shorten the problem with a more objective example: I have a registration form and created a modal Jdialog with the fields that I want to search. When I search in JDialog I would like to filter the in...
asked by 02.02.2016 / 12:28
1
answer

Creating row filter "dynamic"

I'm using RowFilter to create filters for certain columns in my table. My intention is to pass the components I want to use as a "bar" search by parsing, creating them dynamically, and in the same way apply filters to them, that correspon...
asked by 10.09.2017 / 18:06
1
answer

JTable AutoSorter in columns

I'm a few years old with a problem that I still can not solve completely today. When I add a TableRowSorter to a JTable automatically the columns can be ordered by clicking and thus I have a problem getting the correct index, yes a...
asked by 09.11.2017 / 12:52