RRRRHHHH_Code
Diff Revisions afdc66 ... vs 5ad0cc ... for ruralHouses/src/gui/listOfHousesGUI.java
@@ -68,7 +68,7 @@ | |||
68 | 68 | if (houses.isEmpty()) | |
69 | 69 | textField.setText("No houses Matching"); | |
70 | 70 | else | |
71 | - | textField.setText(houses.get(0).getTown()); | |
71 | + | textField.setText(houses.get(0).getDistrict()); | |
72 | 72 | JScrollPane scrollPane = new JScrollPane(); | |
73 | 73 | scrollPane.setBounds(new Rectangle(45, 305, 320, 116)); | |
74 | 74 | scrollPane.setBounds(23, 113, 536, 271); |