File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JTable Search implemented using AbstractModel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTable Search implemented using AbstractModel " Watch "JTable Search implemented using AbstractModel " New topic
Author

JTable Search implemented using AbstractModel

Rahul Bansode
Greenhorn

Joined: Nov 03, 2011
Posts: 18
I have created a JTable with my own datamodel(using AbstractTableModel) , I have provided a textfield to search a particulat data in JTable, and I have also provided radio buttons to search inside a specific column .

After click on search button , it must only show those records matching with text in search field.


Please suggest a solution.

Thanks in Advance..
Darryl Burke
Bartender

Joined: May 03, 2008
Posts: 4638
    
    5

Take a look at TableRowSorter.


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JTable Search implemented using AbstractModel