Examples of RoundedLineBorder


Examples of com.intellij.ui.RoundedLineBorder

        } else {
            insideBorder = new EmptyBorder(3, 5, 3, 5);
            insideBorderFocused = new EmptyBorder(2, 4, 2, 4);

            defaultBorder = insideBorder;
            focusBorder = new CompoundBorder(new RoundedLineBorder(new JBColor(Gray._190, Gray._55), 3), insideBorderFocused);
        }

        label = new JLabel(text, cropIcon(icon), SwingConstants.LEFT);
        label.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
        label.addMouseListener(mouseListener);
View Full Code Here

Examples of org.flexdock.plaf.common.border.RoundedLineBorder

    public DockbarLabel(String dockableId, int defaultOrientation) {
        dockingId = dockableId;

        mDefaultOrientation = Dockbar.getValidOrientation(defaultOrientation);
        mBorder = new RoundedLineBorder(Color.lightGray, 3);
        setBorder(new CompoundBorder(new EmptyBorder(new Insets(1, 1, 1, 1)), mBorder));

        addMouseListener(this);

        TextIcon icon = new TextIcon(this, 2, 1);
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.