Examples of PartialEtchedBorder


Examples of com.jidesoft.swing.PartialEtchedBorder

    //getIndexPanel().setBorder(BorderFactory.createEmptyBorder(10, 10, 0, 10));
    //getIndexPanel().setBackground(Color.WHITE);
    getButtonPanel().setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10));
    getPagesPanel().setBorder(BorderFactory.createCompoundBorder(
        BorderFactory.createEmptyBorder(0, 10, 0, 0),
        new PartialEtchedBorder(EtchedBorder.LOWERED, PartialEtchedBorder.SOUTH)));
  }
View Full Code Here

Examples of com.jidesoft.swing.PartialEtchedBorder

  private JComponent getTitleComponent(){
    JPanel titlePanel = new JPanel();
    titlePanel.setBorder(BorderFactory.createCompoundBorder(
        BorderFactory.createEmptyBorder( 10, 10, 0, 10),
        new PartialEtchedBorder(EtchedBorder.LOWERED, PartialEtchedBorder.SOUTH)));
    titlePanel.setLayout(new BorderLayout());
    StyledLabel label = new StyledLabel(getTitle());
    label.setStyleRanges(new StyleRange[]{new StyleRange(Font.BOLD, Color.BLACK)});
    titlePanel.add(label, BorderLayout.WEST);
    return titlePanel;
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.