Package javax.swing.border

Examples of javax.swing.border.EtchedBorder


  ((GridBagLayout)p.getLayout()).setConstraints( tf_data_port, gbc);
  p.add( tf_data_port);

  tf_data_port.setText( config.local_data_port);
 
  TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "Local Host");

  p.setBorder( titledBorder);
 
  return p;
    }
View Full Code Here


  gbc.fill= GridBagConstraints.BOTH;
  gbc.insets= new Insets( 10, 10, 10, 10);
  ((GridBagLayout)p.getLayout()).setConstraints( scrollPane, gbc);
  p.add( scrollPane);

  TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "RTCP Reports");

  p.setBorder( titledBorder);
 
        return p;
    }
View Full Code Here

  setLayout(new BorderLayout());
  desktop = new JDesktopPane();
  desktop.setLayout(new TileLayout());
  desktop.setBorder(tb = new TitledBorder(
        new CompoundBorder(
          new EtchedBorder(),
          new EmptyBorder(4, 4, 4, 4)),
        title));

  tb.setTitleColor(Color.black);
  desktop.setOpaque(false);
View Full Code Here

     * @param ml A javax.media.MediaLocator associated with a Player
     * @return a javax.swing.border.Border
     */
     protected Border createBorder(MediaLocator ml) {
  return (ml != null?
    (Border) new TitledBorder(new EtchedBorder(), ml.toString()) :
    (Border) new EtchedBorder();
     }
View Full Code Here

  gbc.fill= GridBagConstraints.BOTH;
  gbc.insets= new Insets( 10, 10, 10, 10);
  ((GridBagLayout)p.getLayout()).setConstraints( scrollPane, gbc);
  p.add( scrollPane);

  TitledBorder titledBorder= new TitledBorder( new EtchedBorder(), "RTCP Reports");

  p.setBorder( titledBorder);
 
        return p;
    }
View Full Code Here

   return players;
    }

    class GridPanel extends JPanel {
        public GridPanel(Component c) {
      setBorder(new EtchedBorder());
      add(c);
        }
View Full Code Here

        int GAP = 10;

        Border emptyBorder  = new EmptyBorder(GAP,GAP,GAP,GAP);

        Border etchedBorder = new CompoundBorder(
            new EtchedBorder(), emptyBorder);

        Border titledBorder = new TitledBorder(
            etchedBorder, "Time Display Control");

        mainPanel.setBorder(titledBorder);
View Full Code Here

        int GAP = 10;

        Border emptyBorder  = new EmptyBorder(GAP,GAP,GAP,GAP);

        Border etchedBorder = new CompoundBorder(
            new EtchedBorder(), emptyBorder);

        Border titledBorder = new TitledBorder(
            etchedBorder, "Rate Control");

        mainPanel.setBorder(titledBorder);
View Full Code Here

         Globals.lang("This_is_a_simple_copy_and_paste_dialog_for_import_some_fields_from_normal_text.") ) ;
    }

    infoText.setEditable(false);
    infoText.setBackground(GUIGlobals.infoField);
    infoText.setBorder(new EtchedBorder(EtchedBorder.LOWERED));
    infoText.setPreferredSize( new Dimension(220, 50));
    infoText.setMinimumSize( new Dimension(180, 50));

    rawPanel.add( infoText, BorderLayout.SOUTH ) ;
  }
View Full Code Here

    /**
     * Setup the border (invisible initially)
     */
    public TestGanttRolloverButton() {
        setBorder(new EtchedBorder());
        setBorderPainted(false);
        setMargin(new Insets(0, 0, 0, 0));

        setRequestFocusEnabled(false);

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.