|
|
JTextPane syntax coloring
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: JTextPane - syntax highlighting - comp.lang.java.guiI need to perform Syntax highlighting for java in a JTextPane but i can't find any ... JTextPane styling, including text color, is done via MutableAttributeSet and ... JTextPane, JEditorPane, copy & paste etc. - comp.lang.java.gui ...... together a simple app that lets you change the text display style (font, color ... JEditorPane & JEditorKit examples - comp.lang.java.gui JTextPane - syntax highlighting ... GUI colors Linux - comp.soft-sys.matlabJTextPane - syntax highlighting - comp.lang.java.gui JTextPane - syntax highlighting - comp.lang.java.gui Not Getting colored syntax TERM type = linux, xterm-color ? - comp ... JEditorPane & JEditorKit examples - comp.lang.java.guiJTextPane - syntax highlighting - comp.lang.java.gui JTextPane - syntax highlighting - comp ... Scrolling in a JEditorPane - comp.lang.java.help JEditorPane ... convert Color ... Highlighting a line in JEditorPane/JTextArea - comp.lang.java.gui ...I was planning to color them in red.The requirement is lets say I have a textarea ... ... line in JEditorPane/JTextArea - comp.lang.java.gui ... right alignment of jtextpane ... Syntax highlighting in JTextPane (Java in General forum at JavaRanch)Syntax highlighting in JTextPane; Hunter McMillen Ranch Hand Joined: Mar 13, 2009 ... word to see if it is a keyword then append it to the JTextPane which a specific color. How can I create a syntax highlighting JTextPane?: jtextpane, java ...Keywords: How, can, I, create, a, syntax, highlighting, JTextPane? how can one add background image to… JTextPane with HTML printing! Coloring keywords in a ... 7/25/2012 6:12:11 PM
|
|
|
|
|
|
|
|
|