mercredi 1 avril 2015

Display data in JTable with selection of check boxes in Swing

I have multiple Check Boxes. They are Type of calls, the check boxes are STD, ISD, Missed etc.. In the database I have a column named "Type of Calls" which have the values STD, ISD, missed etc... The task given to me is as follows :



  1. To Display data in the JTable based on the Selection of the check boxes. So , if a user selects the check box STD, the table would show me only STD calls with the other details, and if a user selects the check box ISD , the table would show me only ISD Calls with other details and so on. I'm able to do this.

  2. Problem is When a user selects multiple check boxes. Say I select ISD and STD, then my table has to show all the STD and ISD calls with their Values.


How do I implement this?





Aucun commentaire:

Enregistrer un commentaire