Moderator: JIDE Support
        table.getSelectionModel().addListSelectionListener(new ListSelectionListener() {
            public void valueChanged(ListSelectionEvent e) {
                if (table.getSelectedRow() != -1) {
                    table.collapseAllRows();
                    table.expandRow(table.getSelectedRow());
                }
            }
        });Users browsing this forum: No registered users and 320 guests