public void modifyTransaction(String[] rID, String status) { try { sql.getConnection(); } catch (ClassNotFoundException e) { e.printStackTrace(); } catch (SQLException e) { e.printStackTrace(); } try { sql.modifyTransactions(rID, status); } catch (Exception e) { e.printStackTrace(); } }