AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Pretty Printer

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools
View previous topic :: View next topic  
Author Message
Roedy Green
Guest





PostPosted: Sun May 16, 2004 5:50 am    Post subject: Pretty Printer Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Software Tools All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.