Examples of LinePainter


Examples of br.com.gmartins.simbler.helpers.LinePainter

        setRows(1);
        setMargin(new java.awt.Insets(0, 5, 2, 2));
        this.setSelectionColor(Color.BLACK);

        // Adiciona o LinePainter para monitorar a posição do cursor de texto e pintar as linhas
        LinePainter linePainter = new LinePainter(this);
        // Define a cor do LinePainter
        linePainter.setColor(new Color(156, 215, 237));




        // Troca o tipo de Document para que aceite apenas caracteres maiúsculos
View Full Code Here

Examples of lupos.gui.anotherSyntaxHighlighting.LinePainter

  @Override
  protected void pasteElements(final String arg0) {}

  public JTabbedPane buildBottomPane(){

    new LinePainter(this.tp_rifInput, new Color(202, 223, 245));

    this.rifCodeEditor = new RifCodeEditor(/*this.tp_rifInput*/);

    this.rifCodeEditor.getTp_rifInput().setEditable(false);

 
View Full Code Here

Examples of lupos.gui.anotherSyntaxHighlighting.LinePainter

            "currentLineColor.color").get(0);

        this.lp_color = new Color(color.getRed(), color.getGreen(),
            color.getBlue(), alphaValue);

        this.lp_queryInput = new LinePainter(this.tp_queryInput,
            this.lp_color);
        this.lp_rifInput = new LinePainter(this.tp_rifInput,
            this.lp_color);
        this.lp_dataInput = new LinePainter(this.tp_dataInput,
            this.lp_color);
      } else {
        removeLinePainter(this.lp_queryInput, this.tp_queryInput);
        removeLinePainter(this.lp_rifInput, this.tp_rifInput);
        removeLinePainter(this.lp_dataInput, this.tp_dataInput);
View Full Code Here

Examples of lupos.gui.anotherSyntaxHighlighting.LinePainter

    tp_query.addKeyListener(this.getKeyListener(frame));
    tp_query.setFont(new Font("Courier New", Font.PLAIN, 12));
    tp_query.setPreferredSize(new Dimension(794, 200));
    tp_query.setText("PREFIX dc:      <http://purl.org/dc/elements/1.1/>\nPREFIX dcterms: <http://purl.org/dc/terms/>\n\nSELECT DISTINCT ?author ?yr\nWHERE {\n  ?doc1 dc:author ?author.\n  ?doc1 dc:ref ?doc2.\n  ?doc2 dc:ref ?doc3.\n  ?doc3 dc:ref ?doc1.\n  OPTIONAL {\n    ?doc1 dcterms:issued ?yr. FILTER(?yr < 1950)\n  }\n}\nORDER BY ASC(?author)");

    new LinePainter(tp_query, new Color(202, 223, 245));

    final JScrollPane scroll = new JScrollPane(tp_query);

    // create OK button, which starts query evaluation...
    final JButton bt_ok = new JButton("OK");
View Full Code Here

Examples of lupos.gui.anotherSyntaxHighlighting.LinePainter

    tp.addKeyListener(this.getKeyListener(frame));
    tp.setFont(new Font("Courier New", Font.PLAIN, 12));
    tp.setEditable(false);
    tp.setText(text);

    new LinePainter(tp, new Color(202, 223, 245));

    final JScrollPane scroll = new JScrollPane(tp);

    // create OK button, which starts query evaluation...
    final JButton bt_ok = new JButton("OK");
View Full Code Here

Examples of lupos.gui.anotherSyntaxHighlighting.LinePainter

    tp.addKeyListener(this.getKeyListener(dialog));
    tp.setFont(new Font("Courier New", Font.PLAIN, 12));
    tp.setEditable(false);
    tp.setText(text);

    new LinePainter(tp, new Color(202, 223, 245));

    final JScrollPane scroll = new JScrollPane(tp);

    // create main panel and add components to it...
    panel.setLayout(new BorderLayout());
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.