Package com.alee.laf.toolbar

Examples of com.alee.laf.toolbar.WebToolBar.addSeparator()


        // Toolbar #1
        final WebToolBar toolBar1 = new WebToolBar ( WebToolBar.HORIZONTAL );
        toolBar1.setFloatable ( false );
        toolBar1.add ( WebButton.createIconWebButton ( loadIcon ( "toolbar/1.png" ), true ) );
        toolBar1.addSeparator ();
        toolBar1.add ( WebButton.createIconWebButton ( loadIcon ( "toolbar/2.png" ), true ) );
        toolBar1.addSeparator ();
        toolBar1.add ( WebButton.createIconWebButton ( loadIcon ( "toolbar/3.png" ), true ) );
        toolBar1.addToEnd ( WebButton.createIconWebButton ( loadIcon ( "toolbar/4.png" ), true ) );
View Full Code Here


        final WebToolBar toolBar1 = new WebToolBar ( WebToolBar.HORIZONTAL );
        toolBar1.setFloatable ( false );
        toolBar1.add ( WebButton.createIconWebButton ( loadIcon ( "toolbar/1.png" ), true ) );
        toolBar1.addSeparator ();
        toolBar1.add ( WebButton.createIconWebButton ( loadIcon ( "toolbar/2.png" ), true ) );
        toolBar1.addSeparator ();
        toolBar1.add ( WebButton.createIconWebButton ( loadIcon ( "toolbar/3.png" ), true ) );
        toolBar1.addToEnd ( WebButton.createIconWebButton ( loadIcon ( "toolbar/4.png" ), true ) );

        // Toolbar #2
        final WebToolBar toolBar2 = new WebToolBar ( WebToolBar.HORIZONTAL );
View Full Code Here

                updateSelectedDirectory ( FileUtils.getUserHome (), true, true );
            }
        } );
        contolsToolbar.add ( folderHome );

        contolsToolbar.addSeparator ();

        for ( final File file : FileTreeRootType.drives.getRoots () )
        {
            final WebButton root = new WebButton ( FileUtils.getFileIcon ( file ) );
            TooltipManager.setTooltip ( root, FileUtils.getDisplayFileName ( file ) );
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.