And here I thought you may have actually taken my first suggestion...Read the API for getSelectedRow() JTable (Java 2 Platform SE 5.0)
int i = certificateTable.getSelectedRow();
i will be -1...
Type: Posts; User: copeg
And here I thought you may have actually taken my first suggestion...Read the API for getSelectedRow() JTable (Java 2 Platform SE 5.0)
int i = certificateTable.getSelectedRow();
i will be -1...
The exception is being thrown in the ClientWindow vendorConnectButtonActionPerformed() method, please post that code.
Without code posted we all have to rely on guesses. Here's my guess: you are accessing an ArrayList for index -1, which will throw an exception. Based upon the stack trace, I'd guess you are trying...