import com.toedter.calendar.JCalendar;
-import domain.Offer;
import domain.RuralHouse;
import exceptions.BadDates;
import exceptions.OverlappingOfferExists;
private static final long serialVersionUID = 1L;
- private JComboBox jComboBox1;
+ private JComboBox<RuralHouse> jComboBox1;
private JLabel jLabel1 = new JLabel();
private JLabel jLabel2 = new JLabel();
private JTextField jTextField1 = new JTextField();
this.setTitle("Set availability");
- jComboBox1 = new JComboBox(v);
+ jComboBox1 = new JComboBox<RuralHouse>(v);
jComboBox1.setBounds(new Rectangle(115, 30, 115, 20));
jLabel1.setText("List of houses:");
jLabel1.setBounds(new Rectangle(25, 30, 95, 20));