Package javax.swing.border

Examples of javax.swing.border.SoftBevelBorder


  /**
   * This is the default constructor
   */
  public ModificarServicio(AbmServicio a, Servicio servicio) {
    super(a, servicio);
    getPanelFormulario().setBorder(BorderFactory.createTitledBorder(new SoftBevelBorder(SoftBevelBorder.RAISED), "Modificar Servicio", TitledBorder.LEFT, TitledBorder.TOP, new Font("Tahoma", Font.PLAIN, 14), Color.black));
    getTextoNombre().setText(servicio.getNombre());
    getTextoDescripcion().setText(servicio.getDescripcion());
    String costoMinimo = servicio.getCostoMinimo().toString(); //convertimos el decimal a String
    getTextoCostoMinimo().setText(costoMinimo);
    getTextoTiempoEjecucion().setText(servicio.getTiempoEjecucion());
View Full Code Here


      etiquetaDatosObligatorios.setBounds(new Rectangle(35, 431, 127, 20));
      etiquetaDatosObligatorios.setText("(*) Datos obligatorios");
           
      panelFormulario.setToolTipText("");
      panelFormulario.setOpaque(false);// hacer transparente
      panelFormulario.setBorder(BorderFactory.createTitledBorder(new SoftBevelBorder(SoftBevelBorder.RAISED), "Modificar Cliente", TitledBorder.LEFT, TitledBorder.TOP, new Font("Tahoma", Font.PLAIN, 14), Color.black));
      panelFormulario.add(etiquetaNombre, null);
      panelFormulario.add(etiquetaApellido, null);
      panelFormulario.add(etiquetaDocumento, null);
      panelFormulario.add(etiquetaTelefono,null);
      panelFormulario.add(etiquetaMail, null);
View Full Code Here

  @SuppressWarnings("unchecked")
  public MostrarServicio(AbmServicio a, Servicio servicio) {
    super(a, servicio);
   
    getPanelFormulario().setBorder(BorderFactory.createTitledBorder(new SoftBevelBorder(SoftBevelBorder.RAISED), "Mostrar Servicio", TitledBorder.LEFT, TitledBorder.TOP, new Font("Tahoma", Font.PLAIN, 14), Color.black));
   
    getTextoNombre().setText(getServicio().getNombre());
    getTextoNombre().setEditable(false);
    String costoMinimo = getServicio().getCostoMinimo().toString(); //convertimos el decimal a String
    getTextoCostoMinimo().setText(costoMinimo);
View Full Code Here

     
       
      //jButton21 = new JButton();
      jButton21.setBounds(new Rectangle(475, 260, 199, 23));
      jButton21.setText("Search");
      jButton21.setBorder(new SoftBevelBorder(BevelBorder.RAISED));
      jButton21.addActionListener(new java.awt.event.ActionListener() {
        public void actionPerformed(java.awt.event.ActionEvent e) {
          jButton21ActionPerformed();
        }
          });
View Full Code Here

        jScrollPane2.setViewportView(table);

        jSplitPane1.setRightComponent(jScrollPane2);


        jPanel3.setBorder(new SoftBevelBorder(BevelBorder.RAISED));

        jLabel1.setText(NbBundle.getMessage(ResourceSelectorDialog.class, "ResourceSelector.jLabel1.text")); // NOI18N
        GroupLayout jPanel3Layout = new GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
View Full Code Here

   *
   * @param param Parameter to add
   * @param track Parameter tracking object
   */
  public void addParameter(Object owner, Parameter<?, ?> param, TrackParameters track) {
    this.setBorder(new SoftBevelBorder(SoftBevelBorder.LOWERED));
    ParameterConfigurator cfg = null;
    {
      Object cur = owner;
      while(cfg == null && cur != null) {
        cfg = childconfig.get(cur);
View Full Code Here

   *
   * @param param Parameter to add
   * @param track Parameter tracking object
   */
  public void addParameter(Object owner, Parameter<?, ?> param, TrackParameters track) {
    this.setBorder(new SoftBevelBorder(SoftBevelBorder.LOWERED));
    ParameterConfigurator cfg = null;
    {
      Object cur = owner;
      while(cfg == null && cur != null) {
        cfg = childconfig.get(cur);
View Full Code Here

    public static void main(String[] args) {
        new javax_swing_border_SoftBevelBorder().test(true);
    }

    protected SoftBevelBorder getObject() {
        return new SoftBevelBorder(BevelBorder.RAISED, Color.RED, Color.GREEN, Color.BLUE, Color.WHITE);
    }
View Full Code Here

      return null;

    if (highlight != null && shadow != null)
    {
      if (soft)
        return new SoftBevelBorder (type, highlight, shadow);
      return BorderFactory.createBevelBorder (type, highlight, shadow);
    }

    if (highlightOuter != null && highlightInner != null &&
        shadowOuter != null && shadowInner != null)
    {
      if (soft)
        return new SoftBevelBorder (type, highlightOuter, highlightInner, shadowOuter, shadowInner);
      return BorderFactory.createBevelBorder (type, highlightOuter, highlightInner, shadowOuter, shadowInner);
    }

    if (type == BevelBorder.RAISED)
    {
      if (soft)
        return new SoftBevelBorder (type);
      return BorderFactory.createRaisedBevelBorder ();
    }
    else if (type == BevelBorder.LOWERED)
    {
      if (soft)
        return new SoftBevelBorder (type);
      return BorderFactory.createLoweredBevelBorder ();
    }
    return null;
  }
View Full Code Here

   
  /**
   * Create the panel.
   */
  public LeftButtonBar() {
    setBorder(new SoftBevelBorder(BevelBorder.RAISED, Color.WHITE, Color.WHITE, Color.WHITE, Color.WHITE));
    setBackground(Color.WHITE);
    setLayout(null);
   
    JLabel lblAwsAccessKey = new JLabel("AWS Access Key");
    lblAwsAccessKey.setFont(new Font("Arial", lblAwsAccessKey.getFont().getStyle(), lblAwsAccessKey.getFont().getSize()));
View Full Code Here

TOP

Related Classes of javax.swing.border.SoftBevelBorder

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.