Started creating the booking interface for the owners.
[RRRRHHHH_Code] / ruralHouses / src / gui / RequestNewHouseGUI.java
index ba4eca9..76b2465 100644 (file)
@@ -123,14 +123,14 @@ public class RequestNewHouseGUI extends JFrame {
                                        //TODO when the house is not added show a warning to the user. Method below returns a boolean stating that.
                                        rh = new RuralHouse(Code_f.getText(),
                                                                owner, description_f.getText(),
-                                                               (String) comboBox.getSelectedItem() ,new HouseFeatures(Integer.parseInt(rooms_f.getText()),
+                                                               (String) comboBox.getSelectedItem()new HouseFeatures(Integer.parseInt(rooms_f.getText()),
                                                                                Integer.parseInt(kitchens_f.getText()),
                                                                                Integer.parseInt(baths_f.getText()),
                                                                                Integer.parseInt(lRooms_f.getText()),
                                                                                Integer.parseInt(parkings_f.getText())) );
                                
                                }
-                               catch(NumberFormatException e ){
+                               catch(NumberFormatException e){
                                        e.printStackTrace();
                                }