public void insertSave(String pName, int pTx, int pTy, int pStt, int pSn, String pGrid) throws SQLException {
        String query = ("INSERT INTO save (NAME, TX, TY, STT, SN, GRID) VALUES (?, ?, ?, ?, ?, ?);");
        preStmt = cnx.prepareStatement(query);
        preStmt.setString(1, pName);
        preStmt.setInt(2, pTx);
        preStmt.setInt(3, pTy);
        preStmt.setInt(4, pStt);
        preStmt.setInt(5, pSn);
        preStmt.setString(6, pGrid);
        preStmt.execute();
        preStmt.close();
    }