Results 1 to 7 of 7
  1. #1
    kmm1977 is offline Member
    Join Date
    May 2010
    Posts
    47
    Rep Power
    0

    Default RowFilter.regexFilter

    Hi

    RowFilter.regexFilter does this work only for the first column of a jtable ?

    or is it possible to set filter for the other columns also ?

    regards

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,016
    Rep Power
    10

    Default

    What happened when you tried?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    kmm1977 is offline Member
    Join Date
    May 2010
    Posts
    47
    Rep Power
    0

    Default RowFilter.regexFilter

    after playing around sometime got it to works thanks any way

    is there a way to remove this filter ? after setting it ?

    regards

  4. #4
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,016
    Rep Power
    10

    Default

    ...what did you try?
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  5. #5
    kmm1977 is offline Member
    Join Date
    May 2010
    Posts
    47
    Rep Power
    0

    Default RowFilter.regexFilter

    setting filter for many columns -- works

    RowFilter.regexFilter("Am",6);

    i.e. this filters in the 6th column all entries starting with "Am"

    i want to now reset this filter or to in other words , remove this filter

    regards

  6. #6
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    4,016
    Rep Power
    10

    Default

    If you want help with code, you'll have to provide an SSCCE that demonstrates what you're actually doing.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  7. #7
    kmm1977 is offline Member
    Join Date
    May 2010
    Posts
    47
    Rep Power
    0

    Default hashtable

    Sorry for not being clear .

    after doing some research in internet found the following post which is what i was trying to do.

    I was trying to use HashTable for duplicate keys which i found not possible , since it ll always overwrite the last entry

    There is a description of either to use Multimap or to build our multimap in this post .. perhaps its useful for people who are looking for similar solutions

    collections - Multi-valued hashtable in Java - Stack Overflow

    Thanks
    Regards
    kmm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •