/** The request table. */
private JTable requestTable;
-
+
/**
* Creates a new main window that redirects all actions to the given swing
* interface.
}
}
+ /**
+ * Adds a project to the project pane.
+ *
+ * @param project
+ * The project to add
+ */
+ void addProject(Project project) {
+ ProjectPanel projectPanel = new ProjectPanel(swingInterface, project);
+ projectPane.add(project.getName(), projectPanel);
+ }
+
//
// PRIVATE METHODS
//
requestTable = new JTable(swingInterface.getRequestTableModel());
getContentPane().add(new JScrollPane(requestTable), BorderLayout.CENTER);
-
+
// JPanel lowerPanel = new JPanel(new BorderLayout(12, 12));
// getContentPane().add(lowerPanel, BorderLayout.CENTER);
}