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