Results 1 to 5 of 5
Thread: SQL syntax coloring
- 11-28-2010, 01:12 PM #1
Member
- Join Date
- Jan 2010
- Posts
- 61
- Rep Power
- 0
-
I'm no pro at this, but I think that the answer will depend on several unknowns including which library or libraries you're using to create your editor with. Are you using Swing? What are you using for the "word-processing" window? A Swing component? etc...
- 11-28-2010, 01:26 PM #3
Member
- Join Date
- Jan 2010
- Posts
- 61
- Rep Power
- 0
Fubarable thank u for your reply,,
yes i'm using Swing component (JTextPane) .
-
This is getting out of my area of journeyman knowledge, but if using a JTextPane, you're using a StyledDocument, correct? Have you set the character attributes on the document to change color?
- 11-29-2010, 10:36 PM #5
Member
- Join Date
- Jan 2010
- Posts
- 61
- Rep Power
- 0
I found this library -> Syntax highlighting for over 25 programming languages ....
RSyntaxTextArea | Fifesoft
Similar Threads
-
Syntax question
By rockeater in forum New To JavaReplies: 3Last Post: 08-31-2010, 11:52 PM -
Coloring an image
By Cassidy in forum Java 2DReplies: 4Last Post: 05-31-2010, 09:09 PM -
Coloring JTable cells
By ProgrammingPup in forum Advanced JavaReplies: 2Last Post: 11-04-2009, 10:57 PM -
Coloring an image
By Twitchy5 in forum AWT / SwingReplies: 19Last Post: 09-12-2009, 03:44 PM -
Implementing syntax coloring using the StyledText API
By Java Tip in forum SWTReplies: 0Last Post: 07-25-2008, 02:31 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks