Advanced ResultSet Manipulation } ); //Do last Button lastButton = new JButton(">|"); lastButton.addActionListener ( new ActionListener() { public void actionPerformed(ActionEvent e) { try { rs.last(); accountIDText.setText(rs.getString("acc_id")); usernameText.setText(rs.getString("username")); passwordText.setText(rs.getString("password")); tsText.setText(rs.getString("ts")); activeTSText.setText(rs.getString("act_ts")); } catch(SQLException insertException) { displaySQLErrors(insertException); } } } ); //Do first Button firstButton = new JButton("|