Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / April 2006

Tip: Looking for answers? Try searching our database.

JTextField

Thread view: 
desh - 26 Apr 2006 05:58 GMT
helo friends

Is there any way by whicj I can fix the value in JTextField on mouse
click.
I have used  setEditable(false); , but it is not working.

thnks
desh
hilz - 26 Apr 2006 08:10 GMT
> helo friends
>
[quoted text clipped - 4 lines]
> thnks
> desh

setEnabled(false)  ????
Martin Gregorie - 26 Apr 2006 12:30 GMT
> helo friends
>
> Is there any way by whicj I can fix the value in JTextField on mouse
> click.
> I have used  setEditable(false); , but it is not working.

setEditable(false) when the JTextField is created and use a key listener
to put data into it? That works for a JTextArea.

Signature

martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

Ed Kirwan - 26 Apr 2006 14:13 GMT
Sniiiip.

Signature

martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

<Whispers>
Eh, Martin, do put your website address in your sig, all on one line.
Clickable, don't ya know. Had to type it in myself to get there; an
outrageous demand to make of us sig-sniffers. Probably turned-off
millions of click-by-browsers ...
</Whispers>

--
www.EdmundKirwan.com - Home of The Fractal Class Composition.

Download Fractality, free Java code analyzer:
www.EdmundKirwan.com/servlet/fractal/frac-page130.html



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.