Created
April 24, 2016 03:36
-
-
Save Grumblesaur/1505b5eeedadb05fdfc18d83a4aa07d7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while(dataForSession.next()) { | |
Object data[] = new Object[colNames.length]; | |
for (int i = 0; i < data.length; i++) { | |
data[i] = dataForSession.getObject(i+1); | |
//JOptionPane.showMessageDialog(null, data[i], "Database Column", JOptionPane.INFORMATION_MESSAGE); | |
rows.add(data[i]); // this line of code breaks everything | |
} | |
model.addRow(data); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment