import java.awt.*;
import java.awt.event.*;
-import businessLogic.ApplicationFacadeInterface;
+
+import businessLogic.OfferManager;
import com.toedter.calendar.JCalendar;
float price= Float.parseFloat(jTextField3.getText());
try {
//Obtain the business logic from a StartWindow class (local or remote)
- ApplicationFacadeInterface facade=StartWindow.getBusinessLogic();
+ OfferManager offerM = new OfferManager();
- facade.createOffer(ruralHouse, firstDay, lastDay, price);
+ offerM.createOffer(ruralHouse, firstDay, lastDay, price);
this.setVisible(false);
}