public boolean checkQty() {
        int qty = 0;
        boolean quntity = false;
        try {

            ResultSet rs = DB.myConnection().createStatement().executeQuery("select * from book where BookID='" + jTextField3.getText() + "'");
            while (rs.next()) {
                qty = Integer.parseInt(rs.getString("AvailableQuentity"));
            }

        } catch (Exception e) {
            System.out.println("Exception @ Issue a book 260 ");
        }
        if (qty > 0) {
            quntity = true;
        }
        return quntity;
    }