import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
-
import javax.swing.DefaultComboBoxModel;
import javax.swing.JButton;
import javax.swing.JComboBox;
/**
* Create the frame.
*/
- public ModifyHouseGUI(Owner o) {
+ public ModifyHouseGUI(final Owner o) {
this.distric=Districs.longNames();
- comboBox = new JComboBox<String>(new DefaultComboBoxModel<String>(
+ comboBox = new JComboBox<String>(new DefaultComboBoxModel<String>(
+
this.distric));
this.getContentPane().setLayout(null);
owner = o;