populate JTable with the value selected in Jcombobox
问题 I have a JCombobox and JTable and database jcombobox is filled with the value of first_name of student table from databse. Whenever I select a name from database I want the value of Course name from course and student_score from score table of the database to be displayed in Jtable. Basically I want to display the records of selected in JComboBox in Jtable import java.awt.BorderLayout; import java.awt.EventQueue; import javax.swing.JFrame; import javax.swing.JPanel; import javax.swing.border