1
2
3
4
5
6
7
8 package hoplugins.seriesstats.ui;
9
10 import hoplugins.Commons;
11
12 import hoplugins.seriesstats.MiniPanel;
13
14 import javax.swing.JScrollPane;
15 import javax.swing.JTabbedPane;
16
17
18 /***
19 * DOCUMENT ME!
20 *
21 * @author Mirtillo To change the template for this generated type comment go to
22 * Window>Preferences>Java>Code Generation>Code and Comments
23 */
24 public class BottomPanel extends JTabbedPane {
25
26
27 private MiniPanel GeneralAverage;
28 private MiniPanel GeneralMax;
29 private MiniPanel GeneralMin;
30
31
32
33 /***
34 * Creates a new BottomPanel object.
35 */
36 public BottomPanel() {
37 this.GeneralAverage = new MiniPanel(Commons.getModel());
38 this.GeneralMax = new MiniPanel(Commons.getModel());
39 this.GeneralMin = new MiniPanel(Commons.getModel());
40
41 addTab(Commons.getModel().getResource().getProperty("Durchschnitt"),
42 new JScrollPane(this.GeneralAverage.getPanel()));
43 addTab(Commons.getModel().getResource().getProperty("Maximal"),
44 new JScrollPane(this.GeneralMax.getPanel()));
45 addTab(Commons.getModel().getResource().getProperty("Minimal"),
46 new JScrollPane(this.GeneralMin.getPanel()));
47 }
48 }