private JTextField baths_f;
private JButton btnRegister;
private AdminManager am;
- private JComboBox comboBox;
+ private JComboBox<String> comboBox;
/**
* Create the frame.
*/
public RequestNewHouseGUI(Owner o) {
- JComboBox<String> comboBox = new JComboBox<String>(new DefaultComboBoxModel<String>(
+ comboBox = new JComboBox<String>(new DefaultComboBoxModel<String>(
Districs.longNames()));
am = new AdminManager();
this.setTitle("New House");