Package charvax.swing.border

Examples of charvax.swing.border.TitledBorder


    public void keyReleased(KeyEvent e_) {
    }

    private JPanel makeNorthPanel() {
        JPanel northpan = new JPanel();
        northpan.setBorder(new TitledBorder("A set of JCheckBoxes"));
        northpan.setLayout(new GridBagLayout());

        GridBagConstraints gbc = new GridBagConstraints();

        gbc.gridx = 0;
View Full Code Here


        return northpan;
    }

    private JPanel makeCenterPanel() {
        JPanel centerpan = new JPanel();
        centerpan.setBorder(new TitledBorder(
                "A Text Field that converts to uppercase"));
        centerpan.setLayout(new BorderLayout());

        JLabel label1 = new JLabel(
                "The CapsTextField is a subclass of JTextField");
View Full Code Here

            cp.add(messagePanel, BorderLayout.SOUTH);

            editor = new JTextArea(example, 8, 75);
            JScrollPane scrollEditor = new JScrollPane(editor);
            scrollEditor.setViewportBorder(new TitledBorder("Beanshell Editor"));

            output = new JTextArea("BSH output", 7, 75);
            output.setLineWrap(true);

            JScrollPane scrollOutput = new JScrollPane(output);
            scrollOutput.setViewportBorder(new TitledBorder("Beanshell Output"));

            bshPanel.setLayout(new BorderLayout());
            bshPanel.add(scrollEditor, BorderLayout.NORTH);
            bshPanel.add(scrollOutput, BorderLayout.SOUTH);
            cp.add(bshPanel, BorderLayout.CENTER);
View Full Code Here

        JPanel panel = (JPanel) getContentPane();
        setJMenuBar(createMenu());
        panel.setLayout(new BorderLayout());
        textArea = new JTextArea("", 19, 76);
        textArea.setForeground(Color.cyan);
        border = new TitledBorder("");
        border.setTitleColor(Color.cyan);
        JScrollPane sp = new JScrollPane(textArea);
        sp.setViewportBorder(border);
        sp.setForeground(Color.cyan);
        panel.add(sp, BorderLayout.CENTER);
View Full Code Here

        int h;

        Pane(int w, int h) {
            this.w = w;
            this.h = h;
            border = new TitledBorder("");
            border.setTitleColor(FOREGROUND_COLOR);
            list = new MyList();
            setViewportView(list);
            list.setVisibleRowCount(h);
            list.setColumns(w);
View Full Code Here

                public void elementSelected(Object o) {
                    getPropertiesPane().fillPanel(o);
                }
            };
            rootObjectPanel.setBorder(new LineBorder(Color.green));
            rootObjectPanel.setBorder(new TitledBorder(new LineBorder(
                Color.green), "root objects"));
        }
        return rootObjectPanel;
    }
View Full Code Here

                    }
                    addResultItem(result);
                }
            };
            //propertiesPane.setBorder(new LineBorder(Color.green));
            propertiesPane.setBorder(new TitledBorder(new LineBorder(
                Color.green), "fields & methods"));
        }
        return propertiesPane;
    }
View Full Code Here

                    }
                }
            };
            resultPane.setBorder(new LineBorder(Color.green));
            resultPane.setForeground(Color.cyan);
            resultPane.setBorder(new TitledBorder(new LineBorder(
                Color.green), "values"));
        }
        return resultPane;
    }
View Full Code Here

TOP

Related Classes of charvax.swing.border.TitledBorder

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.