Merged the two branches, DB separated
[RRRRHHHH_Code] / ruralHouses / src / gui / OwnerMenuGUI.java
index 8f97c1e..244b242 100644 (file)
@@ -9,10 +9,10 @@ import javax.swing.GroupLayout.Alignment;
 import javax.swing.JButton;
 import javax.swing.JFrame;
 import javax.swing.JPanel;
+import javax.swing.LayoutStyle.ComponentPlacement;
 import javax.swing.border.EmptyBorder;
 
 import domain.Owner;
-import javax.swing.LayoutStyle.ComponentPlacement;
 
 public class OwnerMenuGUI extends JFrame {
 
@@ -55,7 +55,7 @@ public class OwnerMenuGUI extends JFrame {
                JButton btnBookings = new JButton("Bookings");
                btnBookings.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
-                               Frame a = new listOfBookingRequestsGUI(owner);
+                               Frame a = new listOfOffers(owner);
                                a.setVisible(true);
                        }
                });