Package javax.swing.border

Examples of javax.swing.border.TitledBorder


    public void loadUI()
    {
        if (loaded == false)
        {
            bundle = ResourceBundle.getBundle("plugins/audioPlayer/javazoom/jlgui/player/amp/util/ui/skin");
            setBorder(new TitledBorder(getResource("title")));
            File dir = null;
            if (player != null)
            {
                dir = new File(player.getConfig().getLastSkinDir());
            }
View Full Code Here


    public void loadUI()
    {
        if (loaded == false)
        {
            bundle = ResourceBundle.getBundle("plugins/audioPlayer/javazoom/jlgui/player/amp/util/ui/system");
            setBorder(new TitledBorder(getResource("title")));
            setLayout(new BorderLayout());
            info = new JTextArea(16,35);
            info.setFont(new Font("Dialog", Font.PLAIN, 11));
            info.setEditable(false);
            info.setCursor(null);
View Full Code Here

    public void loadUI()
    {
        removeAll();
        bundle = ResourceBundle.getBundle("plugins/audioPlayer/javazoom/jlgui/player/amp/util/ui/device");
        setBorder(new TitledBorder(getResource("title")));
        BoxLayout layout = new BoxLayout(this, BoxLayout.Y_AXIS);
        setLayout(layout);
        BasicController controller = null;
        if (player != null) controller = player.getController();
        if ((controller != null) && (controller instanceof BasicPlayer))
View Full Code Here

    public void loadUI()
    {
        if (loaded == false)
        {
            bundle = ResourceBundle.getBundle("plugins/audioPlayer/javazoom/jlgui/player/amp/util/ui/type");
            setBorder(new TitledBorder(getResource("title")));
            loadTypes();
            types = new JList(listModel);
            types.setBorder(new EmptyBorder(1, 2, 1, 1));
            types.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
            types.setLayoutOrientation(JList.VERTICAL);
View Full Code Here

    public void loadUI()
    {
        if (loaded == false)
        {
            bundle = ResourceBundle.getBundle("plugins/audioPlayer/javazoom/jlgui/player/amp/util/ui/visualization");
            setBorder(new TitledBorder(getResource("title")));
            loaded = true;
        }
    }
View Full Code Here

    public void loadUI()
    {
        if (loaded == false)
        {
            bundle = ResourceBundle.getBundle("plugins/audioPlayer/javazoom/jlgui/player/amp/util/ui/output");
            setBorder(new TitledBorder(getResource("title")));
            loaded = true;
        }
    }
View Full Code Here

        }
       
        // Result Panel
        JPanel resultPanel = new JPanel();
        resultPanel.setLayout(new GridBagLayout());
        resultPanel.setBorder(new TitledBorder("Results"));
       
        JLabel resultNameLabel = new JLabel("Name");
        c = new GridBagConstraints();
        c.insets = new Insets(5, 5, 5, 5);
        resultPanel.add(resultNameLabel, c);
View Full Code Here

                YELLOW, new InsetsUIResource(2, 4, 6, 3),
                new BorderUIResource.LineBorderUIResource(Color.RED), 56);
        ((BasicTextUI) tf.getUI()).installDefaults();
        checkProperies(tf, caretForeground, selectionBackground, selectionForeground,
                inactiveForeground, font, background, foreground, margin, border);
        Border newBorder = new TitledBorder("KK");
        setProperies(tf, Color.RED, Color.GREEN, Color.BLUE, Color.YELLOW, FONT, Color.BLACK,
                Color.YELLOW, new Insets(2, 4, 6, 3), newBorder, 0);
        ((BasicTextUI) tf.getUI()).installDefaults();
        checkProperies(tf, Color.RED, Color.GREEN, Color.BLUE, Color.YELLOW, FONT, Color.BLACK,
                Color.YELLOW, new Insets(2, 4, 6, 3), newBorder);
View Full Code Here

            // Options section
            ///////////////////////////////////////////////////////////////////
            JPanel       opts = new JPanel(new GridBagLayout());

            opts.setBorder( new TitledBorder(getMessage("options00", "Options")) );
            c.anchor    = GridBagConstraints.WEST ;
            c.gridwidth = GridBagConstraints.REMAINDER ;
            mainPane.add( opts, c );

            // HTTP Proxy Support section
View Full Code Here

                YELLOW, new InsetsUIResource(2, 4, 6, 3),
                new BorderUIResource.LineBorderUIResource(Color.RED), 56);
        ((BasicTextUI) tf.getUI()).installDefaults();
        checkProperies(tf, caretForeground, selectionBackground, selectionForeground,
                inactiveForeground, font, background, foreground, margin, border);
        Border newBorder = new TitledBorder("KK");
        setProperies(tf, Color.RED, Color.GREEN, Color.BLUE, Color.YELLOW, FONT, Color.BLACK,
                Color.YELLOW, new Insets(2, 4, 6, 3), newBorder, 0);
        ((BasicTextUI) tf.getUI()).installDefaults();
        checkProperies(tf, Color.RED, Color.GREEN, Color.BLUE, Color.YELLOW, FONT, Color.BLACK,
                Color.YELLOW, new Insets(2, 4, 6, 3), newBorder);
View Full Code Here

TOP

Related Classes of javax.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.