dimanche 1 juin 2014

Can I use Java rowfilter with a jTable to filter greater than or less than a column with type double?


Vote count:

0




I have a JTable with some data and the columns are as follows:


Market - String Currency - String Volume - Double High - Double Low - Double


I have a textfield for each and when you click a button it should filter the JTable. I have it working with the Market and Currency Strings using:



RowFilter.regexFilter(txtMarket.getText(), 0);

RowFilter.regexFilter(txtCurrency.getText(), 1);


I want to use something similar to filter a greater than or less than for volume, high and low. Is this possible or should I try something else?


Sorry this is my first time asking a question I apologize for any missing information or formatting issues.



asked 20 secs ago






Aucun commentaire:

Enregistrer un commentaire