--- /dev/null
+package gui;
+
+import java.awt.Frame;
+import java.awt.event.ActionEvent;
+import java.awt.event.ActionListener;
+
+import javax.swing.JButton;
+import javax.swing.JFrame;
+import javax.swing.JPanel;
+import javax.swing.border.EmptyBorder;
+
+public class AdminMenuGUI extends JFrame {
+
+ /**
+ *
+ */
+ private static final long serialVersionUID = 1L;
+ private JPanel contentPane;
+
+
+
+ /**
+ * Create the frame.
+ */
+ public AdminMenuGUI() {
+
+
+ this.setTitle("Administrator Menu");
+ this.getContentPane().setLayout(null);
+ setBounds(100, 100, 450, 500);
+ contentPane = new JPanel();
+ contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
+ setContentPane(contentPane);
+ //TODO BOTH BUTTONS ARE TO MODIFY
+ JButton btnAdd = new JButton("Add requests");
+ btnAdd.setBounds(120, 67, 164, 81);
+ btnAdd.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ Frame a = new listOfAdditionRequestsGUI();
+ a.setVisible(true);
+ }
+ });
+
+ JButton btnDel = new JButton("Delete Requests");
+ btnDel.setBounds(120, 159, 164, 73);
+ btnDel.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ Frame a = new listOfRemovalRequestsGUI();
+ a.setVisible(true);
+ }
+ });
+
+ JButton btnOwneraddition = new JButton("OwnerAddition");
+ btnOwneraddition.setBounds(120, 243, 164, 73);
+ btnOwneraddition.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ Frame a = new listOfOwnerAddittionRequests();
+ a.setVisible(true);
+ }
+ });
+ contentPane.setLayout(null);
+ contentPane.add(btnOwneraddition);
+ contentPane.add(btnDel);
+ contentPane.add(btnAdd);
+
+ JButton btnOwnerDeletion = new JButton("Owner Deletion");
+ btnOwnerDeletion.setBounds(120, 331, 164, 73);
+ btnOwnerDeletion.addActionListener(new ActionListener() {
+ public void actionPerformed(ActionEvent e) {
+ Frame a = new DeleteOwnerGUI();
+ a.setVisible(true);
+ }
+ });
+ contentPane.add(btnOwnerDeletion);
+ }
+}