Highlight « Text Input « Java Swing Q&A





1. Java: Syntax highlighting component keyevents    stackoverflow.com

I just met the lib BeanShell. And now I'm making a Java Editor with a run-button who runs the code without compiling. For the texteditor-component, I use the open-source ...

2. swing text editor that color and highlight    stackoverflow.com

i am writing an application that the user need to writes a javascript script as an input, right now i have a simple JTextArea but i would like to change it ...

3. Unable to get JFormattedTextField to highlight on mouse click focus event    stackoverflow.com

I have been trying with no luck to get a JFormattedTextField to highlight on mouse click. I have been able to get it to work fine while tabbing through fields, however ...

4. Highlighting changing text in a java swing jtextcomponent    stackoverflow.com

I am trying to highlight some code in a JEditorPane like this:

import javax.swing.JEditorPane;
import javax.swing.JFrame;
import javax.swing.text.DefaultHighlighter;
import javax.swing.text.Highlighter;

public class Driver
{
    public static void main(String[] args)
    {
  ...

5. Syntax Highlighting    stackoverflow.com

I created a Summer project for myself and decided that I wanted to write a simple text/code editor. I think everything has been going well so far. I created a basic ...

6. Is there a syntax-directed editor generator, similar to XText, for Swing?    stackoverflow.com

I would like to include a syntax-directed editor, as a kind of super-rich edit box, in a Swing application. Is there anything that can help generate this from a grammar, in ...