Examples of LineBorder


Examples of charvax.swing.border.LineBorder

      setBackground(parent_.getBackground());
      setForeground(parent_.getForeground());

      _scrollpane = new JScrollPane(_list);
      _scrollpane.setViewportBorder(new LineBorder(getForeground()));

      // ComboBoxModel is a subclass of ListModel, so this works.
      _list.setModel(model_);
      _list.setColumns(_columns);
      Object selected = model_.getSelectedItem();
View Full Code Here

Examples of charvax.swing.border.LineBorder

* just LineBorders.
*/
public class BorderFactory
{
    public static Border createLineBorder(Color color_) {
  return new LineBorder(color_);
    }
View Full Code Here

Examples of charvax.swing.border.LineBorder

    }

    /** Create a LineBorder - ignore the thickness.
     */
    public static Border createLineBorder(Color color_, int thickness_) {
  return new LineBorder(color_);
    }
View Full Code Here

Examples of com.positive.charts.block.LineBorder

    // create a legend, if requested...
    if (createLegend) {
      final LegendTitle legend = new LegendTitle(this.plot);
      // legend.setMargin(new RectangleInsets(0, 0, 0, 0));
      // legend.setPadding(5, 1, 1,1);
      final LineBorder frame = new LineBorder();
      legend.setFrame(frame);
      legend.setBackgroundPaint(StaticColorChecker.dublicateColor(SWT.COLOR_WHITE));// Display.getCurrent().getSystemColor(SWT.COLOR_WHITE));
      legend.setPosition(RectangleEdge.BOTTOM);
      this.subtitles.add(legend);
      legend.addChangeListener(this);
View Full Code Here

Examples of javax.swing.border.LineBorder

    
     //The following declarations are the style for titled border used in the appl.
     Font titledBorderTextFont = new java.awt.Font("Dialog", 0, 12);
     Color titledBorderTextColor = Color.BLACK;
     Color titledBorderColor = Color.GRAY;
     LineBorder border = new javax.swing.border.LineBorder(titledBorderColor, 1, true);
     serverMessages.setEditable(false);
     //Set up the border and border style for the all titled borders
     /*TitledBorder titledBorder =
       javax.swing.BorderFactory.createTitledBorder(
           border,
View Full Code Here

Examples of javax.swing.border.LineBorder

      JLabel channelLabel = getBorderedLabel(i18n.CHANNEL_LABEL, border);
      _updateServerChannelTF = getSizedTextField(mediumField);
     
      locationPanel.add(channelLabel, getLabelConstraints(c));
      locationPanel.add(_updateServerChannelTF, getFieldFillHorizontalConstaints(c));
      locationPanel.setBorder(new LineBorder(Color.LIGHT_GRAY, 1));
     
      return locationPanel;
   }
View Full Code Here

Examples of javax.swing.border.LineBorder

        JEditorPane htmlPane = new JEditorPane();
        htmlPane.setEditable(false);
        htmlPane.setContentType("text/html");
        htmlPane.setEditorKit( new HTMLEditorKit() );
        htmlPane.setBorder(new LineBorder(Color.black));
        htmlPane.addHyperlinkListener(this);
        htmlPane.addMouseListener(new MouseAdapter() {
            public void mouseClicked(MouseEvent e) {
                AboutWindow.this.setVisible(false);
            }
View Full Code Here

Examples of javax.swing.border.LineBorder

    private class PercentLabel extends JLabel {
        public PercentLabel() {
            this.setBackground(Color.white);
            this.setText(getUsageString());
            this.setBorder(new LineBorder(Color.gray));
            new MemoryCheckThread().start();
        }
View Full Code Here

Examples of javax.swing.border.LineBorder

    _authenticationService = authenticationService;
    _glassPane = glassPane;
    _userPreferences = userPreferences;

    setOpaque(false);
    setBorder(new CompoundBorder(new LineBorder(_borderColor, 1), new EmptyBorder(20, 20, 20, 30)));
    setVisible(false);
    setSize(WIDTH, 400);
    setLocation(getXWhenOut(), POSITION_Y);
  }
View Full Code Here

Examples of javax.swing.border.LineBorder

    super.setBackground(bg);
    updateBorder();
  }

  private void updateBorder() {
    setBorder(new LineBorder(getBackground(), getMarginSize()));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.