Package javax.swing.border

Examples of javax.swing.border.EtchedBorder


        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 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()
                .getResource("/icons/delete_16.gif")));
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

        summaryPanel.add(Box.createHorizontalGlue());
        summaryPanel.add(updateButton);

        boardTablePanel.add(summaryPanel, BorderLayout.SOUTH);
        boardTablePanel.setBorder( new CompoundBorder(
                                                     new EtchedBorder(),
                                                     new EmptyBorder(7,7,7,7)
                                                     ));
        boardTablePanel.setBorder( new CompoundBorder(
                                                     new EmptyBorder(7,7,7,7),
                                                     boardTablePanel.getBorder()
View Full Code Here

      menuBar.add(menuFile);
      getRootPane().setJMenuBar(menuBar);

      textInfoArea = new JTextPane();
      textInfoArea.setFont(new Font("Dialog", Font.PLAIN, 9));
      textInfoArea.setBorder(new EtchedBorder(EtchedBorder.LOWERED));
      textInfoArea.setContentType("text/html");
      textInfoArea.setEditable(false);

      mainPanel.add(textInfoArea);
      mainScrollPanel = new JScrollPane(textInfoArea);
View Full Code Here

    progressBar.setOrientation(JProgressBar.HORIZONTAL);
    progressBar.setMinimum(0);
    progressBar.setMinimumSize(new Dimension(150, 20));
    progressBar.setPreferredSize(new Dimension(350, 20));
    progressBar.setMaximumSize(new Dimension(350, 20));
    progressBar.setBorder(new EtchedBorder(EtchedBorder.RAISED));

   
    final JSeparator separator = new JSeparator(JSeparator.VERTICAL);
    separator.setMaximumSize(new Dimension(10, 20));
View Full Code Here

   * @param textFieldType
   * @return a JTextField instance
   */
  public synchronized JTextField createTextField(int textFieldType){
    JTextField retVal = new JTextField();
    retVal.setBorder(new EtchedBorder(EtchedBorder.LOWERED));
   
    switch(textFieldType){
   
    case SIMPLE_TEXT_FIELD_TYPE:
    case DESTINATION_TEXT_FIELD_TYPE:
View Full Code Here

TOP

Related Classes of javax.swing.border.EtchedBorder

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.