initUI();
}
private void initUI()throws Exception{
new Launcher();
UITabbedPanel panel = new UITabbedPanel();
getContentPane().setLayout(new BorderLayout());
getContentPane().add(panel, BorderLayout.CENTER);
JMenuBar bar = new JMenuBar();
setJMenuBar(bar);
JMenu menu = new JMenu("File");
bar.add(menu);
menu.add(new JMenuItem("Open"));
// UITabPanel tab =
//tab.setBackground(Color.GREEN);
panel.addContainerComponent(getTabPanel(Color.BLACK));
panel.addContainerComponent(getTabPanel(Color.GREEN));
panel.addContainerComponent(getTabPanel(Color.BLUE));
panel.addContainerComponent(getTabPanel(Color.YELLOW));
}