Examples of RoundedBorder


Examples of com.publicobject.misc.swing.RoundedBorder

        public TreeCriterionEditorPanel(TreeCriterion tc) {
            super(new BorderLayout());
            this.treeCriterion = tc;
            this.treeCriterion.addPropertyChangeListener(this);
            setBackground(AmazonBrowser.AMAZON_SEARCH_DARK_BLUE);
            setBorder(new RoundedBorder(AmazonBrowser.AMAZON_SEARCH_LIGHT_BLUE, AmazonBrowser.AMAZON_SEARCH_LIGHT_BLUE, AmazonBrowser.AMAZON_SEARCH_DARK_BLUE, 6, 1));

            activeButton.addActionListener(new ButtonHandler());
            activeButton.setBorder(BorderFactory.createEmptyBorder());
            activeButton.setContentAreaFilled(false);
            activeButton.setFocusable(false);
View Full Code Here

Examples of com.publicobject.misc.swing.RoundedBorder

        progressBar.setBorder(BorderFactory.createLineBorder(AMAZON_SEARCH_DARK_BLUE, 2));

        final TreeCriteriaEditor treeCriteriaEditor = new TreeCriteriaEditor(TreeCriterion.ALL_CRITERIA);
        treeCriteriaEditor.addPropertyChangeListener("activeCriteria", new ActiveCriteriaPropertyChangeListener());
        treeCriteriaEditor.setOpaque(false);
        treeCriteriaEditor.setBorder(new RoundedBorder(CLEAR, AMAZON_SEARCH_DARK_BLUE, AMAZON_SEARCH_LIGHT_BLUE, 8, 1));

        final JPanel editorPanel = new JPanel(new GridBagLayout());
        editorPanel.setBackground(AMAZON_SEARCH_DARK_BLUE);
        editorPanel.add(treeCriteriaEditor,           new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 5, 0, 5), 0, 0));
        editorPanel.add(Box.createVerticalStrut(1),   new GridBagConstraints(0, 1, 1, 1, 0.0, 1.0, GridBagConstraints.CENTER, GridBagConstraints.VERTICAL, new Insets(0, 0, 0, 0), 0, 0));
View Full Code Here

Examples of com.publicobject.misc.swing.RoundedBorder

            this.wrapPanel = new JPanel();
//            Border border = BorderFactory.createCompoundBorder(
//                    BorderFactory.createLineBorder(IssuesBrowser.GLAZED_LISTS_MEDIUM_LIGHT_BROWN, 1),
//                    BorderFactory.createLineBorder(IssuesBrowser.GLAZED_LISTS_LIGHT_BROWN, 2)
//            );
            Border border = new RoundedBorder(IssuesBrowser.GLAZED_LISTS_MEDIUM_LIGHT_BROWN, IssuesBrowser.GLAZED_LISTS_MEDIUM_LIGHT_BROWN, IssuesBrowser.GLAZED_LISTS_LIGHT_BROWN, 5, 0);
            this.wrapPanel.setBorder(border);
            this.wrapPanel.setBackground(IssuesBrowser.GLAZED_LISTS_LIGHT_BROWN);

            setFilterComponent(filterComponent);
        }
View Full Code Here

Examples of com.sun.swingset3.utilities.RoundedBorder

    public LoadedXDemoPanel(Demo demo) throws Exception {
        super(demo.getName());
        initComponents(demo);
        layoutComponents();
        setBorder(new RoundedBorder(5));//DemoXPanel.roundedBorder);
        if (descriptionArea != null)
            demoPanel.setBorder(DemoXPanel.roundedBorder);
        applyDefaults();
    }
View Full Code Here

Examples of com.sun.swingset3.utilities.RoundedBorder

    }
   
    protected JComponent createCodePanel() {
       
        JPanel panel = new JXPanel(new BorderLayout());
        panel.setBorder(new RoundedBorder(10));
       
        noCodeLabel = new JLabel(getString("CodeViewer.noCodeLoaded", "no code loaded"));
        noCodeLabel.setHorizontalAlignment(JLabel.CENTER);
        panel.add(noCodeLabel, BorderLayout.CENTER);
        return panel;
View Full Code Here

Examples of com.sun.swingset3.utilities.RoundedBorder

        JPanel messagePanel = new JPanel(new BorderLayout());      
        JLabel label = new JLabel(message);
        messagePanel.add(label);
        if (ex != null) {
            JComponent panel = new JXPanel(new BorderLayout());
            panel.setBorder(new RoundedBorder());
           
            // remind(aim): provide way to allow user to see exception only if desired
            StringWriter writer = new StringWriter();
            ex.printStackTrace(new PrintWriter(writer));
            JTextArea exceptionText = new JTextArea();
            exceptionText.setText("Cause of error:\n" +
                    writer.getBuffer().toString());
            exceptionText.setBorder(new RoundedBorder());
            exceptionText.setOpaque(false);
            exceptionText.setBackground(
                    Utilities.deriveColorHSB(UIManager.getColor("Panel.background"),
                    0, 0, -.2f));
            JScrollPane scrollpane = new JScrollPane(exceptionText);
View Full Code Here

Examples of org.jitterbit.ui.util.border.RoundedBorder

    }

    private JComponent createToolbar(JButton... buttons) {
        BoxBuilder toolbar = BoxBuilder.horizontal().setOpaque(false);
        toolbar.addAllWithSpace(5, buttons);
        Border border = new RoundedBorder(6, 6, Color.GRAY);
        toolbar.setBorder(border);
        return toolbar.container();
    }
View Full Code Here

Examples of org.jitterbit.ui.util.border.RoundedBorder

            setBackground(UNSELECTED_BACKGROUND);
        }
    }

    protected Border getSelectedBorder() {
        return new BorderBuilder(new RoundedBorder(8, 8, 2, Color.BLACK)).empty(3);
    }
View Full Code Here

Examples of org.jitterbit.ui.util.border.RoundedBorder

    protected Border getSelectedBorder() {
        return new BorderBuilder(new RoundedBorder(8, 8, 2, Color.BLACK)).empty(3);
    }
   
    protected Border getUnselectedBorder() {
        return new BorderBuilder(new RoundedBorder(8, 8, 1, Color.GRAY)).empty(4);
    }
View Full Code Here

Examples of org.jitterbit.ui.util.border.RoundedBorder

                    }
                });
                JPanel south = new JPanel();
                south.add(alert);
                layout.south(south);
                layout.setBorder(new BorderBuilder(new RoundedBorder(8, 8)).empty(10));
                ComponentGlassPane pane = new ComponentGlassPane(layout.container());
                pane.setHideOnEscape(true);
                pane.setMoveable(true);
                pane.setFadeIn(true);
                pane.setFadeOut(true);
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.