//Obtain the business logic from a StartWindow class (local or remote)
OfferManager offerM = new OfferManager();
- Offer o = offerM.createOffer(ruralHouse, firstDay, lastDay, price);
- System.out.println("Offer created: "+o.toString());
+ offerM.createOffer(ruralHouse, firstDay, lastDay, price);
jLabel5.setText("Offer created");