Package javax.swing.border

Examples of javax.swing.border.TitledBorder


    con.fill = GridBagConstraints.HORIZONTAL ;

    inputPanel.setLayout( gbl ) ;

    // Border
    TitledBorder titledBorder1 = new TitledBorder(
        BorderFactory.createLineBorder(
            new Color( 153, 153, 153 ), 2 ),
        Globals.lang( "Input" ) ) ;
    inputPanel.setBorder( titledBorder1 ) ;
    //inputPanel.setPreferredSize( new Dimension( 200, 255 ) ) ;
View Full Code Here


                    };



                preview.setBorder(new TitledBorder(Globals.lang("Font Preview")));

                updatePreview();

                Dimension prefSize = preview.getPreferredSize();
                prefSize.height = 50;
View Full Code Here

      }
    });


    jPanelSelectionInto.setLayout(new BoxLayout(jPanelSelectionInto,BoxLayout.Y_AXIS));
    jPanelSelectionInto.setBorder(new TitledBorder("aspect insertion target"));
    jPanelSelectionInto.add(useSelectionRadio);
    jPanelSelectionInto.add(useAllRadio);

    //jLabel2.setText("   target VM  ");
    //        jPanel2.add(jLabel2);
View Full Code Here

    gridBagConstraints13.insets = new Insets(5, 10, 10, 10);
    gridBagConstraints13.gridy = 3;
    jLabel_MediaPlayer = new JLabel("Media Player :");
    jLabel_MediaPlayer.setText(LangageManager.getProperty("mediaplayeroptionpanel.mediaplayer"));
    Border border = BorderFactory.createEtchedBorder();
    TitledBorder titledBorder = BorderFactory.createTitledBorder(border,
        LangageManager.getProperty("generaloptionpanel.title"), TitledBorder.LEFT, TitledBorder.TOP);

    this.setSize(322, 220);
    this.setBorder(titledBorder);
    this.setLayout(new GridBagLayout());
View Full Code Here

        removeButton.setToolTipText(GanttProject.getToolTip(lang
                .getText("delete")));
        removeButton.setName("remove");
        generalPanel.add(nameComboBox);
        generalPanel.add(removeButton);
        generalPanel.setBorder(new TitledBorder(new EtchedBorder(), lang
                .getText("previousStates")));
        return generalPanel;
    }
View Full Code Here

        if (selectedTasks[0].getThirdDateConstraint() == 0)
            thirdDateButton1.setEnabled(false);


        thirdRowPanel1 = new JPanel(flowL);
        thirdRowPanel1.setBorder(new TitledBorder(new EtchedBorder(), language
                .getText("date")));

        JPanel startDatePanel = new JPanel(
                new FlowLayout(FlowLayout.LEFT, 5, 0));
        startDatePanel.add(startDateLabel1);
View Full Code Here

        durationLabelNotes, durationFieldNotes);

        secondRowPanelNotes = new JPanel();

        secondRowPanelNotes.setBorder(new TitledBorder(new EtchedBorder(),
                language.getText("notesTask") + ":"));

        noteAreaNotes = new JTextArea(8, 40);
        noteAreaNotes.setLineWrap(true);
        noteAreaNotes.setWrapStyleWord(true);
View Full Code Here

        JPanel namePanel = new JPanel(new FlowLayout(FlowLayout.TRAILING, 30,
                20));
        namePanel.add(nameTextField);
        box.add(namePanel);
        box
                .setBorder(new TitledBorder(new EtchedBorder(), lang
                        .getText("name")));
        return box;
    }
View Full Code Here

                new Highlighter[] { new Highlighter(
                        new Color(0xFF, 0xFF, 0xFF), null) }));
        resourcesScrollPane = new JScrollPane(resourcesTable);
        resourcesScrollPane.setPreferredSize(new Dimension(500, 130));
        JPanel secondResourcesScrollPane = new JPanel();
        secondResourcesScrollPane.setBorder(new TitledBorder(
                new EtchedBorder(), GanttProject.correctLabel(getLanguage()
                        .getText("human"))));
        secondResourcesScrollPane.add(resourcesScrollPane);

        JButton bremove = new TestGanttRolloverButton(new ImageIcon(getClass()
View Full Code Here

        predecessorsTable.getColumnModel().getColumn(3).setPreferredWidth(40);

        predecessorsScrollPane = new JScrollPane(predecessorsTable);

        JPanel secondPredecessorsPanel = new JPanel();
        secondPredecessorsPanel.setBorder(new TitledBorder(new EtchedBorder(),
                language.getText("predecessors")));
        secondPredecessorsPanel.add(predecessorsScrollPane);

        JButton bremove = new TestGanttRolloverButton(new ImageIcon(getClass()
                .getResource("/icons/delete_16.gif")));
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.