Examples of brighter()


Examples of java.awt.Color.brighter()

      g.setColor(color.darker());
      g.drawLine(dx / 2, dy, 0, 0);
      g.drawLine(dx / 2, dy + shift, 0, shift);

      // Left diagonal.
      g.setColor(color.brighter());
      g.drawLine(dx / 2, dy, dx, 0);
      g.drawLine(dx / 2, dy + shift, dx, shift);

      // Horizontal line.
      if (_descending) {
View Full Code Here

Examples of java.awt.Color.brighter()

      // Horizontal line.
      if (_descending) {
        g.setColor(color.darker().darker());
      } else {
        g.setColor(color.brighter().brighter());
      }
      g.drawLine(dx, 0, 0, 0);

      g.setColor(color);
      g.translate(-x, -y);
View Full Code Here

Examples of java.awt.Color.brighter()

    goPanel.add(displayNewVisualizerButton);
   
    mainGuiPanel.add(goPanel)

        JPanel statusBarPanel = new JPanel(new GridLayout(1,1));
        statusBarPanel.setBackground(c.brighter());
        statusBarPanel.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED));
        statusBar = new JLabel("...");
        statusBar.setBackground(c.brighter());
        statusBarPanel.add(statusBar);
View Full Code Here

Examples of java.awt.Color.brighter()

        JPanel statusBarPanel = new JPanel(new GridLayout(1,1));
        statusBarPanel.setBackground(c.brighter());
        statusBarPanel.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED));
        statusBar = new JLabel("...");
        statusBar.setBackground(c.brighter());
        statusBarPanel.add(statusBar);

        mainGuiPanel.add(statusBarPanel);

    jframe.validate();
View Full Code Here

Examples of java.awt.Color.brighter()

          Point pP = previousPoints[i - 1][j];
          if (pP != null)
          {
            int pX = pP.x + (blobSize / 2);
            int pY = pP.y + (blobSize / 2);
            graphics.setColor(featureColor.brighter());
            graphics.drawLine(x + (blobSize / 2), y
                + (blobSize / 2), pX, pY);
          }
        }
        previousPoints[i][j] = new Point(x, y);
View Full Code Here

Examples of java.awt.Color.brighter()

            g.setColor(color.darker());
            g.drawLine(dx / 2, dy, 0, 0);
            g.drawLine(dx / 2, dy + shift, 0, shift);

            // Left diagonal.
            g.setColor(color.brighter());
            g.drawLine(dx / 2, dy, dx, 0);
            g.drawLine(dx / 2, dy + shift, dx, shift);

            // Horizontal line.
            if (descending) {
View Full Code Here

Examples of java.awt.Color.brighter()

            // Horizontal line.
            if (descending) {
                g.setColor(color.darker().darker());
            } else {
                g.setColor(color.brighter().brighter());
            }

            g.drawLine(dx, 0, 0, 0);
            g.setColor(color);
            g.translate(-x, -y);
View Full Code Here

Examples of java.awt.Color.brighter()

        Paint itemPaint = renderer.getItemPaint(row, column);

        Color c0, c1;
        if (itemPaint instanceof Color) {
            c0 = (Color) itemPaint;
            c1 = c0.brighter();
        }
        else if (itemPaint instanceof GradientPaint) {
            GradientPaint gp = (GradientPaint) itemPaint;
            c0 = gp.getColor1();
            c1 = gp.getColor2();
View Full Code Here

Examples of java.awt.Color.brighter()

        Paint itemPaint = renderer.getItemPaint(row, column);

        Color c0, c1;
        if (itemPaint instanceof Color) {
            c0 = (Color) itemPaint;
            c1 = c0.brighter();
        }
        else if (itemPaint instanceof GradientPaint) {
            GradientPaint gp = (GradientPaint) itemPaint;
            c0 = gp.getColor1();
            c1 = gp.getColor2();
View Full Code Here

Examples of java.awt.Color.brighter()

            g.setColor(color.darker());
            g.drawLine(dx / 2, dy, 0, 0);
            g.drawLine(dx / 2, dy + shift, 0, shift);
           
            // Left diagonal.
            g.setColor(color.brighter());
            g.drawLine(dx / 2, dy, dx, 0);
            g.drawLine(dx / 2, dy + shift, dx, shift);
           
            // Horizontal line.
            if (descending) {
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.