Package org.jdesktop.swingx.plaf.metal

Examples of org.jdesktop.swingx.plaf.metal.MetalStatusBarUI


    return createButton(text, ImageManager.getInstance().getImageIcon(imagePath));
  }

  public static JXStatusBar createStatusBar(JComponent comp) {
    final JXStatusBar statusBar = new JXStatusBar();
    statusBar.setUI(new MetalStatusBarUI());
    statusBar.putClientProperty(BasicStatusBarUI.AUTO_ADD_SEPARATOR, false);
    statusBar.setBackground(WidgetUtils.BG_COLOR_DARKEST);
    final MatteBorder outerBorder = new MatteBorder(1, 0, 0, 0, WidgetUtils.BG_COLOR_LESS_DARK);
    final EmptyBorder innerBorder = new EmptyBorder(2, 2, 2, 2);
    statusBar.setBorder(new CompoundBorder(outerBorder, innerBorder));
View Full Code Here

TOP

Related Classes of org.jdesktop.swingx.plaf.metal.MetalStatusBarUI

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.