java - How to make filterable to jtable record using netbeans ide -
there many rows on above showing jtable. want filter record short code. if type short code 1234 should display short code 1234 associated row on jtable.
thanks
you're going have write code...start checking out how use tables, in particular sorting , filtering
the basic requirement attach actionlistener
both field , button (you can form editor if wish).
within actionperformed
event handler method, need create rowfilter
, apply tables rowsorter
.
a table can configured automatically create row sorter setting autocreaterowsorter
property true
.
it's explained nicely in linked tutorials...
and example
Comments
Post a Comment