move initial gui plans to 'gui-playground' subdirectory
[se-panther.git] / gui-playground / src / panther / ui / PtMainPanel.java
blob6115160c72be7cb6158270df49ccb49ec4c276f1
1 package panther.ui;
3 import java.awt.*;
4 import javax.swing.*;
6 public class PtMainPanel
7 extends JPanel
9 public PtMainPanel()
11 //setLayout(new BorderLayout());
13 /* BoxLayout along x-axis may not be what we want here, this is just a
14 * quick and dirty solution to get panels to resize with frame resize
15 * events. */
16 setLayout(new BoxLayout(this, BoxLayout.X_AXIS));
18 add(new StudentPanel());
19 add(new SessionPanel());