Package javax.swing.border

Examples of javax.swing.border.SoftBevelBorder


 
  public String getJavaCode(Object value, ImportRewrite imports) {
    if(value==null)
      return "null";
    String strBf=imports.addImport("javax.swing.border.SoftBevelBorder");
    SoftBevelBorder bevelBorder = (SoftBevelBorder)value;
    int type = bevelBorder.getBevelType();
    Color highlightInnerColor = bevelBorder.getHighlightInnerColor();
    Color highlightOuterColor = bevelBorder.getHighlightOuterColor();
    Color shadowInnerColor = bevelBorder.getShadowInnerColor();
    Color shadowOuterColor = bevelBorder.getShadowOuterColor();
    StringBuilder builder = new StringBuilder();
    builder.append("new "+strBf+"(");
    builder.append(encodeValue(new BevelBorderTypeItems(), type, imports));
    builder.append(", ");
    builder.append(encodeValue(highlightOuterColor, imports));
View Full Code Here


       
        this._scr_.setPreferredSize(dim);
        this._scr_.setMaximumSize(dim);
        this._scr_.setMinimumSize(dim);

        this._taa.setBorder(new SoftBevelBorder(BevelBorder.LOWERED));
       
        super._pnl.add(this._scr_);
       
        return true;
    }
View Full Code Here

      ((JScrollPane) super._objText).setPreferredSize(dim);
      ((JScrollPane) super._objText).setMaximumSize(dim);
      ((JScrollPane) super._objText).setMinimumSize(dim);


      this._taaText_.setBorder(new SoftBevelBorder(BevelBorder.LOWERED));
     
      return true;
   }
View Full Code Here

    label_4.setIcon(new ImageIcon("C:\\Documents and Settings\\admin\\Mes documents\\cours\\MIAGE\\workspace\\tacos-framework\\src\\Copie de Jtchat.JPG"));
    label_4.setBounds(671, 95, 86, 388);
    panel_6.add(label_4);
   
    JPanel panel_7 = new JPanel();
    panel_7.setBorder(new SoftBevelBorder(BevelBorder.LOWERED, Color.DARK_GRAY, null, null, null));
    panel_7.setBackground(Color.ORANGE);
    panel_7.setPreferredSize(new Dimension(410, 100));
    tabbedPane.addTab("Chatroom", null, panel_7, null);
    panel_7.setLayout(null);
   
View Full Code Here

    public CloningFeature() {

        setLayout(new BorderLayout());
        EmptyBorder eb = new EmptyBorder(5,5,5,5);
        SoftBevelBorder sbb = new SoftBevelBorder(SoftBevelBorder.RAISED);
        setBorder(new CompoundBorder(eb, sbb));

        ta = new JTextArea("Cloning Demonstrated\n\nClicking once on a demo\n");
        ta.setMinimumSize(new Dimension(300,500));
        JScrollPane scroller = new JScrollPane();
View Full Code Here

    GridBagConstraints gridBagConstraints2 = new GridBagConstraints();
    GridBagConstraints gridBagConstraints1 = new GridBagConstraints();

    this.setLayout(new GridBagLayout());
    this.setSize(380, 76);
    this.setBorder(new SoftBevelBorder(SoftBevelBorder.RAISED));
    gridBagConstraints1.gridx = 1;
    gridBagConstraints1.gridy = 0;
    gridBagConstraints1.weightx = 1.0;
    gridBagConstraints1.fill = GridBagConstraints.HORIZONTAL;
    gridBagConstraints1.insets = new Insets(2, 2, 2, 5);
View Full Code Here

    add(tabs, BorderLayout.CENTER);
  }
 
  private void createStatusBar() {
    add(statusBar, BorderLayout.SOUTH);
    statusBar.setBorder(new SoftBevelBorder(SoftBevelBorder.LOWERED));
    statusBar.add(statusLabel);
  }
View Full Code Here

  private JPanel getJPanel1() {
    if (jPanel1 == null) {
      jPanel1 = new JPanel();
      jPanel1.setLayout(new GridBagLayout());
      jPanel1.setBounds(new Rectangle(238, 6, 511, 297));
      jPanel1.setBorder(new SoftBevelBorder(SoftBevelBorder.RAISED));
      jPanel1.setBackground(new Color(204, 204, 204));
    }
    return jPanel1;
  }
View Full Code Here

          }
          {
            jTextAreaLibelle = new JTextArea();
            jPanelDetail.add(getJTextAreaLibelle());
            jTextAreaLibelle.setBounds(77, 49, 308, 77);
            jTextAreaLibelle.setBorder(new SoftBevelBorder(BevelBorder.LOWERED, null, null, null, null));
          }
          {
            jButtonValider = new JButton();
            jPanelDetail.add(jButtonValider);
            jButtonValider.setBounds(210, 161, 154, 28);
View Full Code Here

    c.gridwidth = 3;
    c.fill = GridBagConstraints.HORIZONTAL;
    statusBar.setMessage("Total nr. of Items: " + myData.getRowCount());
    statusBar.setBorder(new EtchedBorder());
    gui.add(statusBar, c);
    gui.setBorder(new SoftBevelBorder(BevelBorder.LOWERED));

    menuBar = new JMenuBar();
    menu = new JMenu("Operations");
    menu.setMnemonic(KeyEvent.VK_O);
    menu.getAccessibleContext().setAccessibleDescription(
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.