RRRRHHHH_Code
Diff Revisions be3833 ... vs 3db092 ... for ruralHouses client/src/gui/HouseFeaturesGUI.java
@@ -301,6 +301,7 @@ | |||
301 | 301 | Vector<Booking> book = null; | |
302 | 302 | try { | |
303 | 303 | if (table.getRowCount() != 0) { | |
304 | + | row = table.getSelectedRow(); | |
304 | 305 | Client cl = new Client(nameField.getText(), | |
305 | 306 | mailField.getText(), telIn.getText()); | |
306 | 307 | book = bookingM.createBooking(rh, offers.get(row) |