Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Syntax colouring using Swing

Tags:

java

swing

Is it possible to have something like a JTextArea which will color some keywords based on some mappings I have ?

like image 943
Geo Avatar asked Oct 31 '08 07:10

Geo


1 Answers

Here are a few other choices that you could try

  1. http://ostermiller.org/syntax/editor.html
  2. http://java.sun.com/products/jfc/tsc/articles/text/editor_kit/index.html
  3. http://fifesoft.com/rsyntaxtextarea/
  4. http://code.google.com/p/jsyntaxpane/
like image 64
Swapnonil Mukherjee Avatar answered Sep 30 '22 19:09

Swapnonil Mukherjee