File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT / JFace and the fly likes Help with PlainView's drawUnselectedText() method Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT / JFace
Reply Bookmark "Help with PlainView Watch "Help with PlainView New topic
Author

Help with PlainView's drawUnselectedText() method

Poorav Chaudhari
Ranch Hand

Joined: Sep 17, 2002
Posts: 47
Hi,

I am looking into syntax highlighting and I came across this tool XML Text Editor. The highlighting job is done in the drawUnselectedText of the PlainView component. I am trying to understand how it works, the API really doesn't give me much and I have not been able to find any useful resources that explain the specific purpose of this method. To understand this i downloaded the code and put some println statements to see when it is exactly executed and the parameters passed. But i still haven't really gotten a grasp on it. For one thing, it seems that this method is called numerous times, not just when something is typed into the text area.

I would really appreciate some input on this.

thanks


Poorav Chaudhari
 
 
subject: Help with PlainView's drawUnselectedText() method
 
Threads others viewed
Boggled by Eclipse - help!
Eclipse beginner question - how to add .jsp / .xml etc. to project ?
XML Editor !!!
Which IDE to use
JSP documents : The XML syntax format
IntelliJ Java IDE