Git Repository Public Repository

RRRRHHHH_Code

URLs

Copy to Clipboard

Diff Revisions 153110 ... vs d7fd17 ... for ruralHouses/src/gui/RequestNewHouseGUI.java

Diff revisions: vs.
  @@ -123,14 +123,14 @@
123 123 //TODO when the house is not added show a warning to the user. Method below returns a boolean stating that.
124 124 rh = new RuralHouse(Code_f.getText(),
125 125 owner, description_f.getText(),
126 - (String) comboBox.getSelectedItem() ,new HouseFeatures(Integer.parseInt(rooms_f.getText()),
126 + (String) comboBox.getSelectedItem(), new HouseFeatures(Integer.parseInt(rooms_f.getText()),
127 127 Integer.parseInt(kitchens_f.getText()),
128 128 Integer.parseInt(baths_f.getText()),
129 129 Integer.parseInt(lRooms_f.getText()),
130 130 Integer.parseInt(parkings_f.getText())) );
131 131
132 132 }
133 - catch(NumberFormatException e ){
133 + catch(NumberFormatException e){
134 134 e.printStackTrace();
135 135 }
136 136