Package com.l2fprod.common.swing

Examples of com.l2fprod.common.swing.JOutlookBar$ExtendedPage


    add("Center", tabs);
  }

  JPanel makeOutlookPanel(int alignment) {
    JOutlookBar outlook = new JOutlookBar();
    outlook.setTabPlacement(JTabbedPane.LEFT);
    addTab(outlook, "Folders");
    addTab(outlook, "Backup");

    // show it is possible to add any component to the bar
    JTree tree = new JTree();
    outlook.addTab("A JTree", outlook.makeScrollPane(tree));

    outlook.addTab("Disabled", new JButton());
    outlook.setEnabledAt(3, false);
    outlook.setAllTabsAlignment(alignment);
   
    JPanel panel = new JPanel(new PercentLayout(PercentLayout.HORIZONTAL, 3));
    panel.add(outlook, "100");
    return panel;
  }
View Full Code Here

TOP

Related Classes of com.l2fprod.common.swing.JOutlookBar$ExtendedPage

Copyright © 2018 www.massapicom. 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.