3 import javax.swing.JInternalFrame;
4 import javax.swing.JSplitPane;
6 public class GSplitFrame extends JInternalFrame
8 private static final long serialVersionUID = 1L;
10 private GAlignFrame topFrame;
12 private GAlignFrame bottomFrame;
20 public GSplitFrame(GAlignFrame top, GAlignFrame bottom)
23 this.bottomFrame = bottom;
24 JSplitPane splitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT, top,
26 splitPane.setVisible(true);
28 splitPane.setDividerLocation(0.5d);
29 splitPane.setResizeWeight(0.5d);
30 splitPane.setDividerSize(0);
33 public GAlignFrame getTopFrame()
38 public GAlignFrame getBottomFrame()