| | |
Fonts
![]() |
•
•
Join Date: Jun 2004
Posts: 609
Reputation:
Solved Threads: 7
Hi everyone,
I have a text area and a button on a frame and there's some text in the text area. What i need is when the user clicks the button whatever the text selected by the user in the text area and not all the text in the text area is bolded.
I am only using awt components and not any swing components.
Can someone show me or e-mail me a sample program or sample codings or part of the sample program on how this can be done.
My e-mail is freesoft_2000@yahoo.com
I really hope someone can help me.
Thank you
Yours Sincerely
Richard West
I have a text area and a button on a frame and there's some text in the text area. What i need is when the user clicks the button whatever the text selected by the user in the text area and not all the text in the text area is bolded.
I am only using awt components and not any swing components.
Can someone show me or e-mail me a sample program or sample codings or part of the sample program on how this can be done.
My e-mail is freesoft_2000@yahoo.com
I really hope someone can help me.
Thank you
Yours Sincerely
Richard West
I think you can use getSelectedText and setSelectedText methods of text area. I dont know about the awt components but I use them in swing.
![]() |
Similar Threads
- Help - Problem in installing new fonts (Windows 95 / 98 / Me)
- How To install new fonts...??? (Windows NT / 2000 / XP)
- Use ClearType to Enhance Screen Fonts in Windows XP (Windows tips 'n' tweaks)
- Fonts for New OS (OS X)
Other Threads in the Java Forum
- Previous Thread: grades.java -- help!!
- Next Thread: Window class problem(iam a new bee)
| Thread Tools | Search this Thread |
android api applet application apps array arrays automation awt bidirectional binary birt bluetooth businessintelligence busy_handler(null) card chat class classes client code collision columns component constructor database designadrawingapplicationusingjavajslider draw eclipse error errors eventlistener exception expand fractal game givemetehcodez graphics gui guidancer html ide image inetaddress input integer intellij j2me java javafx javamicroeditionuseofmotionsensor javaprojects jme jni jpanel jtree julia linux list loop machine map method methods mobile mobiledevelopmentcreatejar myaggfun netbeans newbie oracle parsing plazmic print problem program programming project recursion scanner server set sharepoint smart sms smsspam sort sortedmaps sql string subclass support swing textfield threads tree trolltech unlimited utility webservices windows






