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 {
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);
}
});