 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Roedy Green Guest
|
Posted: Sun May 16, 2004 5:50 am Post subject: Pretty Printer |
|
|
I have created a rather elaborate Java pretty printer for displaying
Java source in colour.
It bolds places where packages, classes, constructors, constants,
variables and methods are defined.
It uses distinctive, but reasonably subtle colour coding for each
syntactic element.
It uses variable size {} () [] for easier eyeball matching.
It bolds returns.
It is just as fast as JTextField.
Have a peek at how it is coming along at
http://mindprod.com/projjavapresenter.html.
Look at the bottom of the page for the new Applet version. The top
version shows how it is done with HTML.
Eventually I will give you the choice of using an Applet or including
colourised HTML.
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|