Browse Source

Gui änderung

dominik.rieder 7 years ago
parent
commit
1e0f402315
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/ui/view/GUI.java

+ 5 - 1
src/ui/view/GUI.java

@@ -110,6 +110,10 @@ public class GUI<E> implements CategoryListener {
 	private JMenuItem editItem = new JMenuItem("Edit Object");
 	private String catOfObjToBeEdited;
 	private final JScrollPane statTab = new JScrollPane();
+	
+	private StatisticPane statPane = new StatisticPane();
+	private JScrollPane statScrollPane = new JScrollPane(statPane);
+
 
 	private final JLabel maxGraph = new JLabel("100%");
 	private final JLabel medGraph = new JLabel("50%");
@@ -1577,7 +1581,7 @@ public class GUI<E> implements CategoryListener {
 		splitPane.setLeftComponent(scrollPane1);
 		splitPaneCanvasConsole.setLeftComponent(panelTapped_SimMenu);
 		tabbedPane.addTab("View", canvasSP);
-		tabbedPane.addTab("Statistics", null);
+		tabbedPane.addTab("Statistics", statScrollPane);
 		// splitPaneCanvasConsole.setLeftComponent(canvasSP);
 		splitPaneCanvasConsole.setRightComponent(console);
 		splitPane1.setLeftComponent(splitPaneCanvasConsole);