Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Other Java > Java GUI
Java GUI Discussions specific to programming Java GUI.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java GUI section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 2nd, 2003, 08:48 PM
Authorized User
Join Date: Oct 2003
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to mrafaqi Send a message via Yahoo to mrafaqi
Default How a particular word in JTextArea is selected

      i want help about JTextArea. i want to hilight a particular word in JTextArea, as in mostly word editors occurs, so a particular word is selected to be find.
      if anybody helps then thank you

Old April 11th, 2004, 09:14 AM
Registered User
Join Date: Mar 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

hi dear
if u want to do this thing then u have to use JTextPane class of swing with the method setCharacterAttribute()

Similar Threads
Thread Thread Starter Forum Replies Last Post
a bold word in a selected sentence Birger XSLT 4 January 1st, 2007 07:02 PM
Delete lines from a jtextarea codesamurai Java GUI 0 August 30th, 2006 11:13 AM
How a Specific word in JTextArea can be selected mrafaqi Java GUI 1 February 2nd, 2005 10:08 PM
JTextArea & color natmaster Java GUI 1 August 22nd, 2004 05:47 AM
Urgent JTextArea help Bloedbyl Java GUI 1 March 21st, 2004 06:08 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.