This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes Highlighter Issues Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Highlighter Issues" Watch "Highlighter Issues" New topic
Author

Highlighter Issues

Atrus Greyor
Ranch Hand

Joined: Mar 07, 2004
Posts: 110
With the below code, whenever I click find, it is supposed to highlight the text that is in the search box. I have looked through some other examples online and it looks like it should work, but it does not. Can anyone explain why?

Atrus Greyor
Ranch Hand

Joined: Mar 07, 2004
Posts: 110
Ah, never mind.

The two ints in the highlight method are for the start of the highlight and to the end of the highlight, not the start and how long the highlight should continue on.

Well I fixed my problem, but thanks anyways!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Highlighter Issues