JTextPane syntax coloring

  • Follow


How to implement syntax coloring in JTextPane?
0
Reply lucassus 5/4/2006 11:59:05 PM

lucassus wrote:
> How to implement syntax coloring in JTextPane?

Go into the directory where you installed your jdk. Read the file 
demo/jfc/SwingSet2/src/CodeViewer.java

-- 
The comp.lang.java.gui FAQ:
ftp://ftp.cs.uu.nl/pub/NEWS.ANSWERS/computer-lang/java/gui/faq
http://www.uni-giessen.de/faq/archiv/computer-lang.java.gui.faq/
0
Reply Thomas 5/5/2006 6:51:48 AM


which program did you mean Thomas? I am trying to do a text editor with
syntax highlighting for Expect/Tcl. But its not easy!
I've created a text editor with Jeditorpane but it not works correctly!

0
Reply alex 5/5/2006 8:53:30 AM

Jeditorpane and Jtextpanel, which is better to use in this case?

0
Reply alex 5/5/2006 8:56:12 AM

alex wrote:
> Jeditorpane and Jtextpanel, which is better to use in this case?
> 
If you do a google for Java syntax coloring jtextpane
you will find a lot of information information and examples.

Ex.
http://ostermiller.org/syntax/editor.html


Thanks in Advance...
IchBin, Pocono Lake, Pa, USA 
http://weconsultants.servebeer.com/JHackerAppManager
__________________________________________________________________________

'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor,  Regular Guy (1952-)
0
Reply IchBin 5/6/2006 3:59:08 AM

4 Replies
348 Views

(page loaded in 0.07 seconds)

Similiar Articles:








7/25/2012 6:12:11 PM


Reply: