Examples of UITabbedPanel


Examples of com.suwish.pc.ui.component.tab.UITabbedPanel

    toolbar = new MainFrameToolBar(this);
    toolbar.setFloatable(false);
//    toolbar.setBackground(Color.GREEN);
//    JToolBar bar = new JToolBar();
    getIContentPane().add(toolbar, BorderLayout.NORTH);
    mainTabPane = new UITabbedPanel();
   
//    mainTabPane.addT
    getIContentPane().add(mainTabPane, BorderLayout.CENTER);
    statusBar = new MainStatusBar();
    getIContentPane().add(statusBar, BorderLayout.SOUTH);
View Full Code Here

Examples of com.suwish.pc.ui.component.tab.UITabbedPanel

    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));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.