private void tblRoleMouseClicked(java.awt.event.MouseEvent evt)
{
if(evt.getClickCount() == 2)
{
int row = tblRole.getSelectedRow();
int column = tblRole.getSelectedColumn();
new ViewStaff().setVisible(true);
}
}
how to get the data in ViewStaff JFram based on double click in JTable??? After I double clicked to the JTable, then pop out a JFrame. Inside that JFrame, I want to show out the details that I double clicked it...the data inside JTable I already stored in ArrayList.
List<Admin> adminList = new ArrayList<Admin>();